docs/cookbook: fill missing test count + refresh test/code ratio after 581ad90
Comprehensive cross-check of the appendix's test counts vs live `pytest --collect-only` output found two more drift points beyond 6cbbf95's phi_alignment_probe + t3_bound_calculator count refreshes: 1. tests/test_warrant_resolver.py — appendix described its coverage qualitatively but didn't give a count. Live: 23 tests. Added "23 tests covering ..." prefix. 2. test/code ratio table row for t3_bound_calculator.py was "446 351 (51 tests) | 1.4". My581ad90added 2 KAT-fixture- gap-closure tests + ~95 lines of test code (the test_b3_exact_formula + test_t3_bound_known_answer_tests functions). Refreshed to "249 | 446 (53 tests) | 1.79". Comprehensive verification result (all 14 appendix entries cross-checked against `pytest --collect-only`): test_aliases.py 28 ✓ test_warrant_resolver.py 23 (was uncounted) test_warrant_chain.py 9 ✓ test_textbooks_manifest.py 43 ✓ test_anchor_prg.py 27 ✓ test_phi_alignment_probe.py 23 ✓ (refreshed in6cbbf95) test_t3_bound_calculator.py 53 ✓ (refreshed in6cbbf95; ratio table fixed here) test_fork_score.py 18 ✓ test_substrate_fork_score.py 27 ✓ (added in6cbbf95) test_weights.py 16 ✓ test_pi_star_protocol_and_registry.py 21 ✓ test_qa_progress.py 31 ✓ test_qa_prompts.py 20 ✓ test_concepts_extract.py 20 ✓ Zero remaining drift. The cookbook appendix is now bit-for-bit consistent with live pytest collection across all 14 entries. Hygiene: docs-only commit, no code surface change.
This commit is contained in:
parent
0274be9e0c
commit
14bcb99db1
1 changed files with 7 additions and 7 deletions
|
|
@ -457,12 +457,12 @@ than waiting for bench-time STRICT-rate drift to surface it.
|
|||
|
||||
### Warrant-resolver chain (#000031 Phase 1+2+3)
|
||||
|
||||
- `tests/test_warrant_resolver.py` — Citation parsing (3
|
||||
patterns: "Title by Author", multi-author Oxford comma,
|
||||
semicolon-separated multi-cite); cascade builder (5-query
|
||||
variants: title-phrase, parenthetical-phrase, AND-top-5,
|
||||
OR-top-3, legacy); `via_citation_alias` floor propagation
|
||||
through ResolutionMatch (B-1 attribution fix).
|
||||
- `tests/test_warrant_resolver.py` — 23 tests covering citation
|
||||
parsing (3 patterns: "Title by Author", multi-author Oxford
|
||||
comma, semicolon-separated multi-cite); cascade builder
|
||||
(5-query variants: title-phrase, parenthetical-phrase,
|
||||
AND-top-5, OR-top-3, legacy); `via_citation_alias` floor
|
||||
propagation through ResolutionMatch (B-1 attribution fix).
|
||||
- `tests/test_warrant_chain.py` — 9 tests covering
|
||||
`warrant_chain_lookup` (process_id LIKE filter, missing-table
|
||||
fail-closed, +alias variant matching), `has_warrant_chain`
|
||||
|
|
@ -554,7 +554,7 @@ than waiting for bench-time STRICT-rate drift to surface it.
|
|||
| aliases.py | 512 | 469 (28 tests) | 0.92 |
|
||||
| warrant_resolver.py | ~800 | ~430 (combined) | 0.54 |
|
||||
| warrant_chain.py | 89 | 320 (9 tests) | 3.6 |
|
||||
| t3_bound_calculator.py | 249 | 351 (51 tests) | 1.4 |
|
||||
| t3_bound_calculator.py | 249 | 446 (53 tests) | 1.79 |
|
||||
| fork_score.py | 298 | 403 (18 tests) | 1.35 |
|
||||
| weights.py | 73 | 180 (16 tests) | 2.5 |
|
||||
| pi_star/protocol+registry | 124 | 280 (21 tests) | 2.3 |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue