{"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":"index","profile":{"resources":[],"task_format":"","scoring":"","metric":"","size":"","answer_access":"","license":"","citation":"","maintainer":"","released":"","why_hard":"","related":[],"history":"","construction":"","limitations":"","saturation":"","scores":[]}},"task_id":"d5238f0e-d618-57c3-8ac5-127990242753","task_key":"default--test--sample~5f304","task_revision_id":"1","upstream_id":"sample_304","short_description":"{2: 3, 17: 3, 16: 6, 18: 6, 87: 7}","config":"default","split":"test","body":"{\"code\":\"def f(d):\\n    key1 = sorted(d.items(), key=lambda x: x[0], reverse=True)[0][0]\\n    val1 = d.pop(key1)\\n    key2 = sorted(d.items(), key=lambda x: x[0], reverse=True)[0][0]\\n    val2 = d.pop(key2)\\n    return dict({key1: val1, key2: val2})\",\"input\":\"{2: 3, 17: 3, 16: 6, 18: 6, 87: 7}\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://crux-eval.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}