Repository navigation
refactor(server): read the graph-rerank and jaccard keys of [recall] (#1416) - #1417
Merged
Merged
Conversation
…1416) uteke-serve now applies graph_density_weight, graph_authority_weight, graph_rerank_enabled and jaccard_weight from [recall], as the CLI does. Defaults are unchanged when the keys are absent. Second step of #1355. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
This was referenced Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
uteke-servenow reads and applies four more keys of[recall], with the CLI's meaning and defaults:graph_density_weight,graph_authority_weight,graph_rerank_enabled(passed to the store at open throughGraphRerankConfig) andjaccard_weight(set_jaccard_weight, clamped to 0..=1 by the core). The values come from the existingRecallFileSection(new optional fields); absent keys keep the previous behaviour.Why
Closes #1416, step B of #1355. The same
uteke.tomlconfigures both binaries but the server silently ignored half of[recall]. Deliberately not included:salience_weight/recency_weight(in the CLI they apply only with an explicit--salience/--recency; the server has no such flag, so the semantics need an owner decision) and[tier](next step).Testing
-D warnings,cargo test --workspacegreen; 4 new unit tests (defaults equal the core/CLI defaults and a[recall]section without the new keys changes nothing, file values are applied, a partial section keeps the other defaults, existing recall keys still parse next to the new ones)uteke-serveand a fake OpenAI-compatible embedder: without the key,--explainon a hybrid recall showsjaccard_boost = Noneand final 1.125; with[recall] jaccard_weight = 0.2it showsjaccard_boost = 0.02857and final 1.1536fusionstrategy showed no jaccard boost in either run, sojaccard_weightonly changeshybridresults today (same as in the CLI)jaccard_weight > 0changes the ranking of hybrid recalls)🤖 Generated with Claude Code