passed Passed in the packaged run.
What this test is for Why it exists
A token matching only a file's documentation did NOT empty the query, and saying otherwise would send the caller to drop the one token that was working.
→ When
token_hit_counts(db, ["re-entry"])token_hit_counts(db, ["nowhere"])→ Then
✓ token_hit_counts(db, ["re-entry"]) equals {"re-entry": 1}✓ token_hit_counts(db, ["nowhere"]) equals {"nowhere": 0}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.
… 214 earlier steps
command-line usercommand-line user command-line usercommand-line user clew/query/symbols.pyclew/query/symbols.py clew/query/symbols.pyclew/query/symbols.py clew/query/_common.pyclew/query/_common.py clew/query/_common.pyclew/query/_common.py loop (line 1576) loop main 215–216. search_counted → _memberdef_corpora 215 _memberdef_corpora +1 more 217. _expansion_sql → has_columns 217 has_columns 218. has_columns → table_exists 218 table_exists 219. _memberdef_corpora → _memberdef_candidates 219 _memberdef_candidates 220. _memberdef_candidates → table_exists 220 table_exists … 12 steps between
command-line usercommand-line user command-line usercommand-line user clew/query/symbols.pyclew/query/symbols.py clew/query/symbols.pyclew/query/symbols.py clew/query/_common.pyclew/query/_common.py clew/query/_common.pyclew/query/_common.py clew/query/corpus.pyclew/query/corpus.py clew/query/corpus.pyclew/query/corpus.py main 233. _class_candidates → _search_rank 233 _search_rank 234. _class_candidates → class_rows 234 class_rows 235. class_rows → table_exists 235 table_exists 236. class_rows → strip_xml 236 strip_xml 237. search_counted → _config_candidates 237 _config_candidates … 7 steps between
command-line usercommand-line user command-line usercommand-line user clew/query/symbols.pyclew/query/symbols.py clew/query/symbols.pyclew/query/symbols.py clew/query/_common.pyclew/query/_common.py clew/query/_common.pyclew/query/_common.py clew/query/corpus.pyclew/query/corpus.py clew/query/corpus.pyclew/query/corpus.py main 245. _file_candidates → _doc_brief 245 _doc_brief 246. _file_candidates → file_doc_rows 246 file_doc_rows 247. file_doc_rows → table_exists 247 table_exists 248. _file_candidates → undocumented_path_rows 248 undocumented_path_rows 249. undocumented_path_rows → table_exists 249 table_exists … 25 steps between
command-line usercommand-line user command-line usercommand-line user clew/query/symbols.pyclew/query/symbols.py clew/query/symbols.pyclew/query/symbols.py clew/query/_common.pyclew/query/_common.py clew/query/_common.pyclew/query/_common.py clew/query/corpus.pyclew/query/corpus.py clew/query/corpus.pyclew/query/corpus.py other filesother files other filesother files opt (line 1968) opt opt (line 333) opt loop (line 1856) loop opt (line 1902) opt main 275. unsearched_corpora → _unread_kind_counts 275 _unread_kind_counts 276. search_emptiness → token_hit_counts 276 token_hit_counts 277. token_hit_counts → connect 277 connect ▶ test enters 278. token_hit_counts → _one_token_count 278 _one_token_count 279. _one_token_count → table_exists 279 table_exists 280. _one_token_count → _expansion_sql 280 _expansion_sql 281. _one_token_count → class_rows 281 class_rows 282. _one_token_count → file_doc_rows 282 file_doc_rows 283–284. search_emptiness → _conjunction_note 283 _conjunction_note +1 more … 116 later steps
2 more tests/test_emptiness.py:224 · its file's page
What it checks (2) assert token_hit_counts(db, ["re-entry"]) == {"re-entry": 1} observes token_hit_counts assert token_hit_counts(db, ["nowhere"]) == {"nowhere": 0} observes token_hit_counts Where the product reaches it main → query_main → _payload → export_search → corpus_payload → _symbol_corpus → search_emptiness → token_hit_counts (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 3 requirements Its run touches their code; that is reach, not proof.