{"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":"3976f1d9-48e7-5f92-8421-7f19796ccaa4","task_key":"openai~5fhumaneval--test--3976f1d9-48e7-5f92-8421-7f19796ccaa4","task_revision_id":"1","upstream_id":"","short_description":"def add_elements(arr, k):","config":"openai_humaneval","split":"test","body":"{\"entry_point\":\"add_elements\",\"prompt\":\"\\ndef add_elements(arr, k):\\n    \\\"\\\"\\\"\\n    Given a non-empty array of integers arr and an integer k, return\\n    the sum of the elements with at most two digits from the first k elements of arr.\\n\\n    Example:\\n\\n        Input: arr = [111,21,3,4000,5,6,7,8,9], k = 4\\n        Output: 24 # sum of 21 + 3\\n\\n    Constraints:\\n        1. 1 <= len(arr) <= 100\\n        2. 1 <= k <= len(arr)\\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":[]}