test_measured_evidence_is_never_overridden_by_a_status

Tests › tests/test_wiki_exempt.py

passed Passed in the packaged run.

What this test is for

Why it exists

A planned requirement whose linked test FAILED is GAP: evidence outranks a label.

Given

  1. evidence = [ _row("R-PLANNED", "GAP", [("t", "failed")]), _row("R-P2", "PASS", [("t", "passed")]), ]
  2. declared = {"R-PLANNED": {"x-status": "planned"}, "R-P2": {"x-status": "planned"}}
→

When

  1. tiers = {r.req_id: r.tier for r in exempt_by_status(evidence, declared, _GUARD)}
→

Then

  1. ✓ tiers equals {"R-PLANNED": "GAP", "R-P2": "PASS"}

tests/test_wiki_exempt.py:45 · its file's page

What it checks (1)

  1. assert tiers == {"R-PLANNED": "GAP", "R-P2": "PASS"} observes exempt_by_status via tiers

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_measured_evidence_is_never_overridden_by_a_status→_row→exempt_by_status

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_measured_evidence_is_never_overridden_by_a_status · 1 checksexempt_by_statusexemptionREQ-DDB-GUARD-022 · inferredexempt_by_statusREQ-DDB-WIKI-002 · measured
Also reaches 2 requirements

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