{"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":"419c795f-32c7-598f-b1ba-e552bf9b6818","task_key":"default--test--sample~5f358","task_revision_id":"1","upstream_id":"sample_358","short_description":"'btrburger', 'b'","config":"default","split":"test","body":"{\"code\":\"def f(text, value):\\n    indexes = []\\n    for i in range(len(text)):\\n        if text[i] == value and (i == 0 or text[i-1] != value):\\n            indexes.append(i) \\n    if len(indexes) % 2 == 1:\\n        return text\\n    return text[indexes[0]+1:indexes[-1]]\",\"input\":\"'btrburger', 'b'\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://crux-eval.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}