Skip to content

docs(recall): explain what recall scores mean per strategy (#1405) - #1406

Merged
ajianaz merged 1 commit into
developfrom
docs/recall-score-semantics-1405
Oct 9, 2026
Merged

ajianaz merged 1 commit into
developfrom
docs/recall-score-semantics-1405

Conversation

@ajianaz

@ajianaz ajianaz commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

What

  • docs/cli-reference.md: new section "Reading recall scores": the base score of each strategy (fusion: weighted RRF of rank, at most about 0.044; hybrid: RRF divided by the best possible sum; vector: vector similarity; fts5: normalised keyword rank), the additive salience_boost / recency_boost (not capped, so scores can exceed 1.0), a real --explain breakdown (0.16899788 = 0.043997884 + 0.025 + 0.1), and what this means for --min. It also records that the CLI weights default to 0.15 while uteke-serve does not read [recall] weights yet (refactor: unify the mirrored config schema structs (CLI Config vs server ServerFileConfig) #1355) and uses the engine default 0.1.
  • The skill's strategy guide bullet (both byte-identical copies) gets a short, matching note.

Why

Closes #1405. Identical-looking scores (fusion results differ only in the 3rd-4th decimal) and scores above 1.0 read as bugs; nothing said that scores are strategy-specific and boost-driven. Every number in the new section comes from --explain output of a local uteke-serve run (OpenAI-compatible fake embedder, two memories) and from the code (rrf_fuse_weighted, apply_boosts, salience_recency defaults).

Testing

  • Docs only. Skill parity test and cargo run -p docgen unchanged (no diff in generated files).
  • The --explain JSON in the docs is a real response; the fake embedder's vectors are hash-based, so the similarity values are illustrative, not representative.
  • Not verified: the exact half-life values per memory type and the full salience formula; the doc only says what is established above.

🤖 Generated with Claude Code

New "Reading recall scores" section in cli-reference with the base score of
each strategy, the additive salience/recency boosts, why a score can exceed
1.0, a real --explain breakdown, and what that means for --min. The skill's
strategy guide (both byte-identical copies) gets the same short note.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit 0e7b308 into develop Oct 9, 2026
15 checks passed
@ajianaz
ajianaz deleted the docs/recall-score-semantics-1405 branch October 9, 2026 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(recall): scores are strategy-specific, rank-based for fusion, and can exceed 1.0

1 participant