Code reference detail
katz.rs
crates/reqlan-search/tests/katz.rs
| Idea | Status | Tags | Summary | Katz |
|---|---|---|---|---|
| katz_search | done | Search can bias matches by inbound Katz centrality ( [katz_centrality] ). The bias is off unless the caller sets it. CLI flag: `reqlan search <query> --katz`. API field: `SearchRequirementsOptions.katz`. When the bias is on, the score is `textScore * (1 + katzScore)`. The match reasons include `katz:<score>`. Context hop decay runs first. The Katz multiplier runs second. When the bias is off, match order and scores stay on the text ranking. | 0.082 | |
| search | Search over the requirement graph — find ideas by name, body, tags, and related signals. Surfaces: [fuzzy_search], [file_search], [contextual_search], [semantic_search], [katz_search]. Consumed by CLI `reqlan search`, MCP / chat tools, Ideas Summary, and the activity-bar search pane. Rust ranking engine: ["./rust_port.rq".search_rust]. | 0.046 | ||
| katz_centrality | done | Score each idea by inbound Katz centrality on the citation graph. An idea scores higher when important ideas reference it. The score uses resolved reference edges and wildcard reference edges between ideas. The analysis package exposes the scores as `katzCentrality()`. The top score is 1. A graph with no citation edges gives every idea the score 1. Search can opt in through ["../core_analysis/search.rq".katz_search]. HTML export shows the score through ["../core_analysis/html_export.rq".html_export_katz_column]. | 0.061 | |
| markov_chain | graph traveral should be tracked to inform a markov chain model of the graph. | 0.040 |
Reference labels
"../../crates/reqlan-search/tests/katz.rs:chain_ranks_the_cited_end_highest", "../../crates/reqlan-search/tests/katz.rs:citation_edges_skip_unresolved_and_non_reference_kinds", "../../crates/reqlan-search/tests/katz.rs:graph_with_no_citation_edges_scores_every_idea_at_one", "../../crates/reqlan-search/tests/katz.rs:katz_bias_is_off_by_default_and_lifts_the_higher_score_when_on", "../../crates/reqlan-search/tests/katz.rs:katz_bias_reports_a_missing_score", ../../crates/reqlan-search/tests/katz.rs:chain_ranks_the_cited_end_highest, ../../crates/reqlan-search/tests/katz.rs:citation_edges_skip_unresolved_and_non_reference_kinds, ../../crates/reqlan-search/tests/katz.rs:graph_with_no_citation_edges_scores_every_idea_at_one, ../../crates/reqlan-search/tests/katz.rs:katz_bias_is_off_by_default_and_lifts_the_higher_score_when_on, ../../crates/reqlan-search/tests/katz.rs:katz_bias_reports_a_missing_score