{"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":"bb1c891b-b063-5c4b-8059-f7261076ba2f","task_key":"openai~5fhumaneval--test--bb1c891b-b063-5c4b-8059-f7261076ba2f","task_revision_id":"1","upstream_id":"","short_description":"def f(n):","config":"openai_humaneval","split":"test","body":"{\"entry_point\":\"f\",\"prompt\":\"\\ndef f(n):\\n    \\\"\\\"\\\" Implement the function f that takes n as a parameter,\\n    and returns a list of size n, such that the value of the element at index i is the factorial of i if i is even\\n    or the sum of numbers from 1 to i otherwise.\\n    i starts from 1.\\n    the factorial of i is the multiplication of the numbers from 1 to i (1 * 2 * ... * i).\\n    Example:\\n    f(5) == [1, 2, 6, 24, 15]\\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":[]}