|
10 | 10 | { |
11 | 11 | "id": "cf_and_k_rewritten", |
12 | 12 | "prompt": "Run /testing:cleanup shop_tests --flaky shop_tests/test_receipt.py::test_total_is_computed_quickly on the fixture, on branch feat/cleanup.", |
13 | | - "expected_output": "Classifies test_price_is_consistent as row 2 (CF and K, citing shop/checkout.py:5) and rewrites it in the working tree to assert price_with_tax(150) equals the hand-computed 162.0. Does not propose deleting it. The decision table lists the rewrite with its K citation.", |
| 13 | + "expected_output": "Classifies test_price_is_consistent as row 2 (CF and K, citing REQUIREMENTS.md) and rewrites it in the working tree to assert price_with_tax(150) equals 162.0, taken from the REQUIREMENTS.md worked example rather than rebuilt from the constants in shop/pricing.py. Does not propose deleting it. The decision table lists the rewrite with its K citation.", |
14 | 14 | "files": [ |
15 | 15 | "evals/fixtures/cleanup/shop/pricing.py", |
16 | 16 | "evals/fixtures/cleanup/shop/checkout.py", |
| 17 | + "evals/fixtures/cleanup/REQUIREMENTS.md", |
17 | 18 | "evals/fixtures/cleanup/shop_tests/__init__.py", |
18 | 19 | "evals/fixtures/cleanup/shop_tests/test_pricing.py", |
19 | 20 | "evals/fixtures/cleanup/.claude/mutation-testing.md", |
|
112 | 113 | "evals/fixtures/cleanup/EXPECTED.md" |
113 | 114 | ] |
114 | 115 | }, |
| 116 | + { |
| 117 | + "id": "resumes_own_dirty_batch", |
| 118 | + "prompt": "A /testing:cleanup shop_tests batch on branch feat/cleanup stopped after step 5 while waiting for the user's yes on the test_product_name deletion. The quarantine and the test_price_is_consistent rewrite are uncommitted and recorded in .work/testing-cleanup/shop_tests/decisions.md. In a new session, the user says yes to the deletion and runs /testing:cleanup shop_tests again.", |
| 119 | + "expected_output": "Does not refuse for the dirty tree: every changed path is an edit decisions.md records. Reads the batch state from .work/testing-cleanup/shop_tests/, applies the approved deletion without re-recording the baseline or re-classifying, and continues to step 6 with the existing before.tsv. A changed path that decisions.md does not record would still be refused.", |
| 120 | + "files": [ |
| 121 | + "evals/fixtures/cleanup/shop_tests/test_pricing.py", |
| 122 | + "evals/fixtures/cleanup/shop_tests/test_receipt.py", |
| 123 | + "evals/fixtures/cleanup/EXPECTED.md" |
| 124 | + ] |
| 125 | + }, |
115 | 126 | { |
116 | 127 | "id": "refuses_mixed_languages", |
117 | 128 | "prompt": "Copy shop_scripts/total.test.sh.fixture to shop_tests/total.test.sh in the fixture, commit it on branch feat/cleanup, then run /testing:cleanup shop_tests.", |
|
0 commit comments