test_kconfig_prose_must_be_ingested_after_the_markdown_ingest

Tests › tests/test_kconfig.py

passed Passed in the packaged run.

What this test is for

Why it exists

`ingest_supplementary_docs` DROPs and recreates `supplementary_docs` on every build. This pins the ORDER the pipeline depends on by demonstrating the failure: run the Kconfig ingest first and its rows are deleted, with no error anywhere.

Verifies REQ-DDB-PIPE-007 REQ-DDB-QUERY-006

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.

clew — `main` (clew/cli.py) · 9 of 400 steps

… 293 earlier steps

command-line usercommand-line usercommand-line usercommand-line usercommand-line userclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/corpus.pyclew/query/corpus.pyclew/query/corpus.pyclew/query/corpus.pyclew/query/corpus.pyother filesother filesother filesother filesother filesopt (line 1012)optmain294. corpus_payload → _prose_corpus294_prose_corpus295. _prose_corpus → search_prose_graded295search_prose_graded296. search_prose_graded → _query_tokens296_query_tokens▶ test enters297. search_prose_graded → connect297connect298. search_prose_graded → table_exists298table_exists299–300. search_prose_graded → _fts_match299_fts_match +1 more301. search_prose_graded → strip_xml301strip_xml302. search_prose_graded → list302list303. search_prose_graded → member_doc_rows303member_doc_rows304. member_doc_rows → table_exists304table_exists305. member_doc_rows → has_columns305has_columns306. search_prose_graded → _collapse306_collapse307. _prose_corpus → prose_emptiness307prose_emptiness308. prose_emptiness → has_prose_corpus308has_prose_corpus

… 92 later steps

1 more

tests/test_kconfig.py:311 · its file's page

Where the product reaches it

No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.

Call flow

test_kconfig_prose_must_be_ingested_after_the_markdown_ingest→_db_with_paths→load_kconfig→discover_kconfig→ingest_kconfig_prose→ingest_supplementary_docs→search_prose

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.

test_kconfig_prose_must_be_ingested_after_the_markdown_ingestdiscover_kconfigREQ-DDB-CONFIG-005 · measuredingest_supplementary_docs_ingest_one_doc_filememoizedREQ-DDB-INDEX-002 · inferredingest_supplementary_docsREQ-DDB-PIPE-001 · measuredload_kconfig_served_parse_errorREQ-DDB-PIPE-014 · measuredsearch_proseREQ-DDB-QUERY-001 · measuredsearch_prosesearch_prose_gradedtable_existsREQ-DDB-QUERY-003 · measuredsearch_prosesearch_prose_gradedmember_doc_rowsREQ-DDB-QUERY-007 · measured

Requirements it verifies (2)

requirementlinked byimplementers exercised
REQ-DDB-PIPE-007catalogunknown
REQ-DDB-QUERY-006catalogunknown
Also reaches 7 requirements

Its run touches their code; that is reach, not proof.