cactus183/patchbench-dev
0
1{2 "task_id": "easy_01",3 "difficulty": "easy",4 "description": "Fix the bug in the calculate_discount function so that it correctly applies a percentage discount. The function should take a price and a discount percentage (0-100) and return the discounted price.",5 "max_steps": 5,6 "baseline_passing_tests": ["test_zero_price"],7 "baseline_failing_tests": ["test_ten_percent_discount", "test_fifty_percent_discount", "test_full_discount"],8 "bug_category": "numerical",9 "skills_tested": ["percentage_math", "function_contracts", "boundary_conditions"]10}11 