Team Ai
Apppublic

cactus183/patchbench-dev

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
task.json11 linesDownload Raw Back to hard_03
1{2  "task_id": "hard_03",3  "difficulty": "hard",4  "description": "Fix the MiniJSON encoder and decoder which have interacting bugs. The encoder does not escape internal quotes in strings. The decoder uses naive comma-splitting that breaks on nested lists and dicts. Both must be fixed for round-trip correctness.",5  "max_steps": 12,6  "baseline_passing_tests": ["test_encode_null", "test_encode_int", "test_encode_bool_true", "test_encode_string_simple", "test_decode_int"],7  "baseline_failing_tests": ["test_encode_string_with_quote", "test_round_trip_nested_list", "test_round_trip_dict_with_list"],8  "bug_category": "parsing",9  "skills_tested": ["encoder_decoder_symmetry", "nested_parsing", "escape_sequences"]10}11