test_the_five_strength_vocabularies_are_distinct_objects¶
Tests › tests/test_vocabulary.py
What this test is for
Why it exists
Five columns share the tuple ('low','medium','high') and mean five different things — spawn-detection strength, inferred-vs-declared provenance, lock-identity certainty, acquisition-resolution success, and a constant on external_boundaries. One shared object would mean adding a value for ONE silently widens the CHECK on the other four, with every registry-vs-registry test still green.
Given
five = [THREAD_STRENGTH, KEY_STRENGTH, LOCK_IDENTITY, ACQ_STRENGTH, BOUNDARY_STRENGTH]
When
all(v.values == ("low", "medium", "high") for v in five)
Then
- ✓ all(v.values == ("low", "medium", "high") for v in five) holds
- ✓ len({id(v) for v in five}) equals 5
- ✓ len({v.id for v in five}) equals 5
- ✓ len({v.means for v in five}) equals 5
tests/test_vocabulary.py:408 · its file's page
What it checks (4)
assert all(v.values == ("low", "medium", "high") for v in five)observesallassert len({id(v) for v in five}) == 5not attributedassert len({v.id for v in five}) == 5not attributedassert len({v.means for v in five}) == 5not attributed
Where the product reaches it
dossier→_rank_enum_over_mirror→_class_side_is_only_enum_mirrors→all(flow)
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.
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-WIKI-054 inferred