{"kind":"task","effective_mode":"full","benchmark":{"kind":"benchmark","effective_mode":"full","slug":"cruxeval","formal_name":"CRUXEval","introduction":"CRUXEval takes 800 short Python functions and asks either for the output given an input (CRUXEval-O) or for an input that produces a given output (CRUXEval-I). It measures the ability to execute code mentally rather than to write it.","introduction_ja":"","introduction_en":"","category":"Category not supplied","task_count":null,"acquisition_status":"Acquisition status not supplied","official_url":"https://crux-eval.github.io/","indexing_mode":"noindex","profile":{"resources":[],"task_format":"","scoring":"","metric":"","size":"","answer_access":"","license":"","citation":"","maintainer":"","released":"","why_hard":"","related":[]}},"task_id":"29340a70-fc11-52d7-b9e4-e37dd5a40f2b","task_key":"default--test--sample~5f18","task_revision_id":"2","upstream_id":"sample_18","short_description":"[5, 4, 3, 2, 1, 0], 3","config":"default","split":"test","body":"{\"code\":\"def f(array, elem):\\n    k = 0\\n    l = array.copy()\\n    for i in l:\\n        if i > elem:\\n            array.insert(k, elem)\\n            break\\n        k += 1\\n    return array\",\"input\":\"[5, 4, 3, 2, 1, 0], 3\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://crux-eval.github.io/","history":"initial import","indexing_mode":"noindex","subproblems":[],"grids":[]}