{"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":"72c97678-62f6-5f12-b728-bddb0e25eef3","task_key":"default--test--72c97678-62f6-5f12-b728-bddb0e25eef3","task_revision_id":"2","upstream_id":"","short_description":"def pluck(arr):","config":"default","split":"test","body":"{\"entry_point\":\"pluck\",\"prompt\":\"\\ndef pluck(arr):\\n    \\\"\\\"\\\"\\n    \\\"Given an array representing a branch of a tree that has non-negative integer nodes\\n    your task is to pluck one of the nodes and return it.\\n    The plucked node should be the node with the smallest even value.\\n    If multiple nodes with the same smallest even value are found return the node that has smallest index.\\n\\n    The plucked node should be returned in a list, [ smalest_value, its index ],\\n    If there are no even values or the given array is empty, return [].\\n\\n    Example 1:\\n        Input: [4,2,3]\\n        Output: [2, 1]\\n        Explanation: 2 has the smallest even value, and 2 has the smallest index.\\n\\n    Example 2:\\n        Input: [1,2,3]\\n        Output: [2, 1]\\n        Explanation: 2 has the smallest even value, and 2 has the smallest index. \\n\\n    Example 3:\\n        Input: []\\n        Output: []\\n    \\n    Example 4:\\n        Input: [5, 0, 3, 0, 4, 2]\\n        Output: [0, 1]\\n        Explanation: 0 is the smallest value, but  there are two zeros,\\n                     so we will choose the first zero, which has the smallest index.\\n\\n    Constraints:\\n        * 1 <= nodes.length <= 10000\\n        * 0 <= node.value\\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":[]}