chain_trace filters `confidence='fuzzy'` because it EXPANDS each hop and one wrong name multiplies into a wrong subtree; the flat neighbour list keeps fuzzy rows so a caller can weigh them (26.1% of a C++ codebase's call edges are fuzzy, and the tool description tells the model to read that field). The divergence is contract, so pin its direction: the flat list can only ever be a SUPERSET, and the difference is fuzzy-only.
try: nodes = _all_function_names(rich_db) checked = 0 for name in nodes: for want_callers in (True, False): merged = { (e.name, e.edge_class) for e in _call_edges(conn, name, want_callers, include_dataflow=True) } depth1 = { (n, h.edge_class) for n, h in _neighbors(conn, name, forward=not want_callers) } assert depth1 <= merged, (name, want_callers, depth1 - merged) checked += 1 if depth1 else 0 # Anti-vacuity: a sweep in which every depth1 set was empty would pass # `<=` trivially. Demand that most of the graph actually had neighbours. assert checked > len(nodes), f"only {checked} non-empty pairs over {len(nodes)} nodes" finally: conn.close()
→
Then
—
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.
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.