passed Passed in the packaged run.
What this test is for Why it exists
first_party_sub_index matches derive_sub_indexes' first-party entry exactly.
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.
thread startthread start thread startthread start clew/mcp_server/server.pyclew/mcp_server/server.py clew/mcp_server/server.pyclew/mcp_server/server.py clew/scope.pyclew/scope.py clew/scope.pyclew/scope.py clew/mcp_server/state.pyclew/mcp_server/state.py clew/mcp_server/state.pyclew/mcp_server/state.py other filesother files other filesother files try (line 1664) try try (line 1003) try opt (line 847) opt loop (line 746) loop opt (line 1666) opt opt (line 352) opt _first_build_worker 1. _first_build_worker → first_party_sub_index 1 first_party_sub_index 2. first_party_sub_index → whole_repo_scope 2 whole_repo_scope ▶ test enters 3. whole_repo_scope → _gitignored_paths 3 _gitignored_paths 4. _gitignored_paths → git_argv 4 git_argv 5–6. git_argv → _no_ext_diff 5 _no_ext_diff +1 more 7. list → link 7 link 8. _gitignored_paths → git_env 8 git_env 9. whole_repo_scope → list 9 list 10–14. whole_repo_scope → nested_repo_roots 10 nested_repo_roots +4 more 15. nested_repo_roots → _nested_repos_under 15 _nested_repos_under 16–26. whole_repo_scope → _gitignored_paths 16 _gitignored_paths +10 more 27–32. first_party_sub_index → _under_any 27 _under_any +5 more 33. _first_build_worker → target_for 33 target_for 34. target_for → _safe_index_name 34 _safe_index_name … 6 steps between
thread startthread start thread startthread start clew/mcp_server/server.pyclew/mcp_server/server.py clew/mcp_server/server.pyclew/mcp_server/server.py clew/scope.pyclew/scope.py clew/scope.pyclew/scope.py other filesother files other filesother files loop (line 205) loop loop (line 286) loop _first_build_worker 41. _sub_index_rejection → _buildable_sub_indexes 41 _buildable_sub_indexes 42. _buildable_sub_indexes → derive_sub_indexes 42 derive_sub_indexes 43. derive_sub_indexes → whole_repo_scope 43 whole_repo_scope ▶ test enters 44–46. derive_sub_indexes → _nested_trees_recursive 44 _nested_trees_recursive +2 more 47. _nested_trees_recursive → list 47 list 48–49. _nested_trees_recursive → _gitignored_paths 48 _gitignored_paths +1 more 50–55. derive_sub_indexes → _direct_parent 50 _direct_parent +5 more 56. _sub_index_rejection → _offered_sub_indexes 56 _offered_sub_indexes 57. _offered_sub_indexes → derive_sub_indexes 57 derive_sub_indexes … 85 later steps
4 more tests/test_first_party_walk.py:94 · its file's page
What it checks (3) assert [s.name for s in derived][0] == FIRST_PARTY_INDEXassert scope.first_party_sub_index(root) == derived[0]assert scope.first_party_sub_index(plain) is None, ("an unsplit repository has no first-party part" )Where the product reaches it build_wiki → _build_site → _commit (flow) index → _index_action → build_or_refresh → _build_subject → _sub_index_rejection → _buildable_sub_indexes → derive_sub_indexes (flow) index → _index_action → build_or_refresh → _build_subject → _sub_index_rejection → first_party_sub_index (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 2 requirements Its run touches their code; that is reach, not proof.