Eureka/tools/fixtures/context-pack/spec.json
Eureka a474da7a5f context-pack tests: pin hunk clamps, boundaries, unsafe paths, protocol and error codes
Survivors of the first mutmut run (200 of 688) drove these: replaced-block
and pure-deletion hunks, --since boundaries, NEW windows, 70-column change
text, the stdio handshake the fake server now validates, every error code.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-09 00:07:08 +02:00

30 lines
2.5 KiB
JSON

{"id": {"id": "t:cut_spec:cut-x.r1", "kind": "CutSpec"},
"status": "InForce",
"document": {"kind": "cut_spec", "value": {
"base": "BASE", "deletes": [],
"file_changes": [
{"change": "moved below the insertion", "location": {"path": "a.txt", "line": 20, "end_line": 22}},
{"change": "insertion after the last line is outside", "location": {"path": "a.txt", "line": 3, "end_line": 5}},
{"change": "insertion just before the range", "location": {"path": "a.txt", "line": 6, "end_line": 7}},
{"change": "insertion inside the range", "location": {"path": "a.txt", "line": 4, "end_line": 8}},
{"change": "delete above and edit inside", "location": {"path": "b.txt", "line": 8, "end_line": 12}},
{"change": "moved up by a deletion", "location": {"path": "b.txt", "line": 30, "end_line": 31}},
{"change": "deleted file", "location": {"path": "c.txt", "line": 2, "end_line": 3}},
{"change": "renamed file", "location": {"path": "d.txt", "line": 4, "end_line": 5}},
{"change": "path absent at base", "location": {"path": "sub/a.txt", "line": 1, "end_line": 2}},
{"change": "range past EOF", "location": {"path": "e.txt", "line": 5, "end_line": 50}},
{"change": "uncommitted edit", "location": {"path": "f.txt", "line": 5, "end_line": 6}},
{"change": "last line is in range", "location": {"path": "e.txt", "line": 10, "end_line": 10}},
{"change": "one past the last line", "location": {"path": "e.txt", "line": 10, "end_line": 11}},
{"change": "CRLF file", "location": {"path": "h.txt", "line": 2, "end_line": 3}},
{"change": "straddles the head of a replaced block", "location": {"path": "m.txt", "line": 12, "end_line": 13}},
{"change": "replaced block starts inside", "location": {"path": "m.txt", "line": 8, "end_line": 11}},
{"change": "just after a replaced block", "location": {"path": "m.txt", "line": 15, "end_line": 16}},
{"change": "deletion follows the range", "location": {"path": "m.txt", "line": 28, "end_line": 28}},
{"change": "deletion at the next line", "location": {"path": "m.txt", "line": 29, "end_line": 29}},
{"change": "deletion ends just before", "location": {"path": "m.txt", "line": 32, "end_line": 32}},
{"change": "after the deletion", "location": {"path": "m.txt", "line": 33, "end_line": 33}},
{"change": "insertion at the first line", "location": {"path": "a.txt", "line": 5, "end_line": 7}},
{"change": "deletion ends just before the range", "location": {"path": "b.txt", "line": 4, "end_line": 5}},
{"change": "untracked file the cut creates", "location": {"path": "n.txt", "line": 1, "end_line": 2}}
]}}}