test_the_probe_set_straddles_both_halves_of_the_split¶
Tests › tests/test_tiers.py
What this test is for
Why it exists
Without this the agreement test could pass on a consumer reading one half.
Verifies REQ-DDB-CONFIG-006
Given
- —
When
fact_only = [n for n in _PROBES if any(_like(n.lower(), p) for p in ENTRY_PATTERN_FACTS)]guess_only = [n for n in _PROBES if any(_like(n.lower(), p) for p in ENTRY_PATTERN_HEURISTICS)]seeds_reachability(n)
Then
- ✓ len(fact_only) is at least 2
- ✓ len(guess_only) is at least 2
- ✓ any(not seeds_reachability(n) for n in _PROBES) holds
tests/test_tiers.py:232 · its file's page
What it checks (3)
assert len(fact_only) >= 2, fact_onlyobserves_likeviafact_onlyassert len(guess_only) >= 2, guess_onlyobserves_likeviaguess_onlyassert any(not seeds_reachability(n) for n in _PROBES), "no negative probe"observesseeds_reachability
Where the product reaches it
No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.
Call flow
What it reaches
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Requirements it verifies (1)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-CONFIG-006 | catalog | unknown |
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-CONFIG-001 measured