Answer stability round 1: flag a deleted test, run mutation through the project's tooling, pin mutmut 3

This commit is contained in:
2026-10-13 11:05:01 +02:00
parent e380e81570
commit 49914bd0db
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ pytest_add_cli_args=-k
not LarvReviewTool
```
Then, in the copy: `uvx --with pytest mutmut run && uvx --with pytest mutmut results`, and `uvx --with pytest mutmut show <mutant>` for a mutant's line.
Then, in the copy: `uvx --with pytest 'mutmut>=3,<4' run && uvx --with pytest 'mutmut>=3,<4' results`, and `uvx --with pytest 'mutmut>=3,<4' show <mutant>` for a mutant's line. The config keys are mutmut 3's.
`bin/` is the import root: each launcher puts it on `sys.path`, so a module imports another by its path under `bin/`, such as `from claude_code.entries import parse_entry`. Each tool's package holds its tests; `rank_todo.py` and `statusline.py` are tools of one file each, tested beside them, and `rule_hook` imports `rank_todo.py`'s check. The other non-test modules at `bin/`'s root, `claude_code/` and `transcript_archive/` serve more than one tool. `test_env.py` serves the tests, and `repo_checks/` tests the repo itself.