test_the_languages_the_substrate_has_always_had_are_reported¶
Tests › tests/test_substrate_capability.py
What this test is for
Why it exists
The gate reads the real module.
Given
- —
When
keys = substrate.compiled_languages()for key in _ALWAYS: assert key in keys, f"{key} absent from a substrate that must have it: {sorted(keys)}"
Then
- ✓ isinstance(keys, frozenset) holds
tests/test_substrate_capability.py:43 · its file's page
What it checks (2)
assert isinstance(keys, frozenset)observescompiled_languagesviakeysassert key in keys, f"{key} absent from a substrate that must have it: {sorted(keys)}"observescompiled_languagesviakeys
Where the product reaches it
main→propose_main→propose→build_context→repo_source_files→_ts_language_for→_grammar_available→has_language→compiled_languages(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-PIPE-012 measured