Team Ai
Apppublic

cactus183/patchbench-dev

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
task.json11 linesDownload Raw Back to hard_01
1{2  "task_id": "hard_01",3  "difficulty": "hard",4  "description": "Fix the DateRange class which has two interacting bugs. The contains() method excludes boundary dates and the overlaps() method fails to detect ranges that share exactly one date. Both must be fixed together for all tests to pass.",5  "max_steps": 12,6  "baseline_passing_tests": ["test_contains_middle", "test_contains_outside", "test_overlaps_true", "test_overlaps_false", "test_duration_same_day", "test_duration_week"],7  "baseline_failing_tests": ["test_contains_start", "test_contains_end", "test_overlaps_touching"],8  "bug_category": "state_management",9  "skills_tested": ["invariant_reasoning", "interval_semantics", "regression_avoidance"]10}11