{"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":"d1b13dfb-ec50-519a-9bb2-3ea427235f72","task_key":"openai~5fhumaneval--test--d1b13dfb-ec50-519a-9bb2-3ea427235f72","task_revision_id":"1","upstream_id":"","short_description":"def maximum(arr, k):","config":"openai_humaneval","split":"test","body":"{\"entry_point\":\"maximum\",\"prompt\":\"\\ndef maximum(arr, k):\\n    \\\"\\\"\\\"\\n    Given an array arr of integers and a positive integer k, return a sorted list \\n    of length k with the maximum k numbers in arr.\\n\\n    Example 1:\\n\\n        Input: arr = [-3, -4, 5], k = 3\\n        Output: [-4, -3, 5]\\n\\n    Example 2:\\n\\n        Input: arr = [4, -4, 4], k = 2\\n        Output: [4, 4]\\n\\n    Example 3:\\n\\n        Input: arr = [-3, 2, 1, 2, -1, -2, 1], k = 1\\n        Output: [2]\\n\\n    Note:\\n        1. The length of the array will be in the range of [1, 1000].\\n        2. The elements in the array will be in the range of [-1000, 1000].\\n        3. 0 <= 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":[]}