| 1 | prompt = """report.py mixes computation and file IO in one function. Refactor: |
| 2 | - extract a pure summarize(numbers) returning the dict of stats (no file access) |
| 3 | - write_report(path, numbers) must call summarize and keep writing the identical file |
| 4 | - same output for the same input, no other behavior changes""" |
| 5 | class = "refactor" |
| 6 | max_steps = 20 |
| 7 | timeout_sec = 300 |
| 8 |