test_the_probe_set_straddles_both_halves_of_the_split

Tests › tests/test_tiers.py

passed Passed in the packaged run.

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

  1. —
→

When

  1. fact_only = [n for n in _PROBES if any(_like(n.lower(), p) for p in ENTRY_PATTERN_FACTS)]
  2. guess_only = [n for n in _PROBES if any(_like(n.lower(), p) for p in ENTRY_PATTERN_HEURISTICS)]
  3. seeds_reachability(n)
→

Then

  1. ✓ len(fact_only) is at least 2
  2. ✓ len(guess_only) is at least 2
  3. ✓ any(not seeds_reachability(n) for n in _PROBES) holds

tests/test_tiers.py:232 · its file's page

What it checks (3)

  1. assert len(fact_only) >= 2, fact_only observes _like via fact_only
  2. assert len(guess_only) >= 2, guess_only observes _like via guess_only
  3. assert any(not seeds_reachability(n) for n in _PROBES), "no negative probe" observes seeds_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

test_the_probe_set_straddles_both_halves_of_the_split→_like→seeds_reachability

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.

test_the_probe_set_straddles_both_halves_of_the_split · 3 checksseeds_reachabilityREQ-DDB-CONFIG-001 · measured

Requirements it verifies (1)

requirementlinked byimplementers exercised
REQ-DDB-CONFIG-006catalogunknown
Also reaches 1 requirement

Its run touches their code; that is reach, not proof.