{"kind":"task","effective_mode":"full","benchmark":{"kind":"benchmark","effective_mode":"full","slug":"humaneval-plus","formal_name":"HumanEval+","introduction":"HumanEval+ keeps the 164 original HumanEval problems and multiplies their tests by roughly 80×. It exists because the original suite was loose enough to pass implementations that were actually wrong.","introduction_ja":"","introduction_en":"","category":"Category not supplied","task_count":null,"acquisition_status":"Acquisition status not supplied","official_url":"https://github.com/evalplus/evalplus","indexing_mode":"noindex","profile":{"resources":[],"task_format":"","scoring":"","metric":"","size":"","answer_access":"","license":"","citation":"","maintainer":"","released":"","why_hard":"","related":[]}},"task_id":"aa80b7af-d87e-52f4-b55a-b1420b1f3619","task_key":"default--test--aa80b7af-d87e-52f4-b55a-b1420b1f3619","task_revision_id":"2","upstream_id":"","short_description":"def add_elements(arr, k):","config":"default","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":"code","language":"","answer_status":"published","assets":[],"source_url":"https://github.com/evalplus/evalplus","history":"initial import","indexing_mode":"noindex","subproblems":[],"grids":[]}