test_a_small_reply_keeps_the_full_staleness_prose¶
Tests › tests/test_freshness.py
What this test is for
Why it exists
The control on the compaction: a mechanism that always compacts would deliver the pointer and never the remedy, and the remedy is the whole value.
Verifies REQ-DDB-MCP-004
Given
full = [{"axis": fr.AXIS_DATA, "message": "x" * 400}]fitted = QueryTools(lambda: rich_db, lambda: rich_db.parent, lambda: full)._staleness({"a": 1})
When
- —
Then
- ✓ fitted equals full
What it exercises
The parts of the system's flows this test ran, measured by per-test coverage: lit steps ran in this test, dimmed ones did not, and ▶ marks where the test called in. Each title opens the whole flow with these steps lit.
Look up one name: everything the index holds about it · 1 of 226 steps
… 124 earlier steps
… 97 later steps
tests/test_freshness.py:690 · its file's page
What it checks (1)
assert fitted == fullnot attributed
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-MCP-004 | catalog | unknown |