Fix #142: repoint find_files KG-scorer fixture at mcp_server - #12
Conversation
SummaryThis is the smallest of the four deferred PRs. The The change repoints the fixture keyword at Confidence Score: 5/5
Important Files Changed
Inline FindingsNo P0, P1, or P2 findings. Last reviewed commit: 88d9ca2 | Reviews (1) |
…Refs #142) find_files_with_kg_scorer_boosts_matching_paths originally built a thesaurus containing the term 'automata' and asserted that a path under crates/terraphim_automata/ would be boosted to the top of the results. The terraphim_automata crate does not exist in this workspace (crate name was retired when the package was moved into the terraphim_mcp_server and terraphim_grep crates), so the assertion always failed. Repoint the fixture at 'mcp_server' (which has a real crates/terraphim_mcp_server/ directory) and update the assertion to look for the matching path segment. The thesaurus still exercises the KG-scorer boosting path; only the keyword and assertion substring change.
88d9ca2 to
2517f68
Compare
Fixes #142:
find_files_with_kg_scorer_boosts_matching_pathspreviouslybuilt a thesaurus containing the term
automataand asserted that apath under
crates/terraphim_automata/would be boosted to the topof the results. The
terraphim_automatacrate does not exist inthis workspace (the package was retired and its responsibilities moved
to
terraphim_mcp_serverandterraphim_grep), so the assertionalways failed.
This change repoints the fixture at
mcp_server(which has a realcrates/terraphim_mcp_server/directory) and updates the assertionto look for the matching path segment. The thesaurus still exercises
the KG-scorer boosting path; only the keyword and assertion substring
change.
Local verification:
cargo test -p terraphim_mcp_server --test test_find_filesreports 5 passed / 0 failed after this change.