{"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":"b099cbbc-fabf-502b-8dd4-13de58eacbb1","task_key":"openai~5fhumaneval--test--b099cbbc-fabf-502b-8dd4-13de58eacbb1","task_revision_id":"1","upstream_id":"","short_description":"def get_row(lst, x):","config":"openai_humaneval","split":"test","body":"{\"entry_point\":\"get_row\",\"prompt\":\"\\ndef get_row(lst, x):\\n    \\\"\\\"\\\"\\n    You are given a 2 dimensional data, as a nested lists,\\n    which is similar to matrix, however, unlike matrices,\\n    each row may contain a different number of columns.\\n    Given lst, and integer x, find integers x in the list,\\n    and return list of tuples, [(x1, y1), (x2, y2) ...] such that\\n    each tuple is a coordinate - (row, columns), starting with 0.\\n    Sort coordinates initially by rows in ascending order.\\n    Also, sort coordinates of the row by columns in descending order.\\n    \\n    Examples:\\n    get_row([\\n      [1,2,3,4,5,6],\\n      [1,2,3,4,1,6],\\n      [1,2,3,4,5,1]\\n    ], 1) == [(0, 0), (1, 4), (1, 0), (2, 5), (2, 0)]\\n    get_row([], 1) == []\\n    get_row([[], [1], [1, 2, 3]], 3) == [(2, 2)]\\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":[]}