{"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":"3a9e3e80-905e-5c93-84ba-6e3731109d61","task_key":"default--test--3a9e3e80-905e-5c93-84ba-6e3731109d61","task_revision_id":"2","upstream_id":"","short_description":"def move_one_ball(arr):","config":"default","split":"test","body":"{\"entry_point\":\"move_one_ball\",\"prompt\":\"\\ndef move_one_ball(arr):\\n    \\\"\\\"\\\"We have an array 'arr' of N integers arr[1], arr[2], ..., arr[N].The\\n    numbers in the array will be randomly ordered. Your task is to determine if\\n    it is possible to get an array sorted in non-decreasing order by performing \\n    the following operation on the given array:\\n        You are allowed to perform right shift operation any number of times.\\n    \\n    One right shift operation means shifting all elements of the array by one\\n    position in the right direction. The last element of the array will be moved to\\n    the starting position in the array i.e. 0th index. \\n\\n    If it is possible to obtain the sorted array by performing the above operation\\n    then return True else return False.\\n    If the given array is empty then return True.\\n\\n    Note: The given list is guaranteed to have unique elements.\\n\\n    For Example:\\n    \\n    move_one_ball([3, 4, 5, 1, 2])==>True\\n    Explanation: By performin 2 right shift operations, non-decreasing order can\\n                 be achieved for the given array.\\n    move_one_ball([3, 5, 4, 1, 2])==>False\\n    Explanation:It is not possible to get non-decreasing order for the given\\n                array by performing any number of right shift operations.\\n                \\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":[]}