{"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":"index","profile":{"resources":[],"task_format":"","scoring":"","metric":"","size":"","answer_access":"","license":"","citation":"","maintainer":"","released":"","why_hard":"","related":[],"history":"","construction":"","limitations":"","saturation":"","scores":[]}},"task_id":"dab666a1-e7b5-534a-ba83-0a91c045a9cf","task_key":"openai~5fhumaneval--test--dab666a1-e7b5-534a-ba83-0a91c045a9cf","task_revision_id":"4","upstream_id":"","short_description":"def smallest_change(arr):","config":"openai_humaneval","split":"test","body":"{\"entry_point\":\"smallest_change\",\"prompt\":\"\\ndef smallest_change(arr):\\n    \\\"\\\"\\\"\\n    Given an array arr of integers, find the minimum number of elements that\\n    need to be changed to make the array palindromic. A palindromic array is an array that\\n    is read the same backwards and forwards. In one change, you can change one element to any other element.\\n\\n    For example:\\n    smallest_change([1,2,3,5,4,7,9,6]) == 4\\n    smallest_change([1, 2, 3, 4, 3, 2, 2]) == 1\\n    smallest_change([1, 2, 3, 2, 1]) == 0\\n    \\\"\\\"\\\"\\n\"}","display_format":"text","language":"","answer_status":"published","assets":[],"source_url":"https://huggingface.co/datasets/openai/openai_humaneval","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}