{"kind":"task","effective_mode":"full","benchmark":{"kind":"benchmark","effective_mode":"full","slug":"humaneval","formal_name":"HumanEval","introduction":"HumanEval asks for a Python function body from a docstring and signature, checked by hidden unit tests. It is the original functional-correctness benchmark for code generation.","introduction_ja":"","introduction_en":"","category":"Category not supplied","task_count":null,"acquisition_status":"Acquisition status not supplied","official_url":"https://huggingface.co/datasets/openai/openai_humaneval","indexing_mode":"noindex","profile":{"resources":[],"task_format":"","scoring":"","metric":"","size":"","answer_access":"","license":"","citation":"","maintainer":"","released":"","why_hard":"","related":[]}},"task_id":"bda6152a-2eae-5eaf-aeb8-7f8823df88ad","task_key":"openai~5fhumaneval--test--bda6152a-2eae-5eaf-aeb8-7f8823df88ad","task_revision_id":"1","upstream_id":"","short_description":"def prod_signs(arr):","config":"openai_humaneval","split":"test","body":"{\"entry_point\":\"prod_signs\",\"prompt\":\"\\ndef prod_signs(arr):\\n    \\\"\\\"\\\"\\n    You are given an array arr of integers and you need to return\\n    sum of magnitudes of integers multiplied by product of all signs\\n    of each number in the array, represented by 1, -1 or 0.\\n    Note: return None for empty arr.\\n\\n    Example:\\n    >>> prod_signs([1, 2, 2, -4]) == -9\\n    >>> prod_signs([0, 1]) == 0\\n    >>> prod_signs([]) == None\\n    \\\"\\\"\\\"\\n\"}","display_format":"text","language":"","answer_status":"unknown","assets":[],"source_url":"https://huggingface.co/datasets/openai/openai_humaneval","history":"initial import","indexing_mode":"noindex","subproblems":[],"grids":[]}