Repository navigation
feat(cognition): RecallFaculty.relevance_weight configurable (unblocks replay bench) - #1656
Merged
Merged
Conversation
…ks the replay A/B bench RELEVANCE_WEIGHT was a const; the bench (IntelMac, e07ed2b) needs it as a tunable field to sweep 0.0 (pure salience = old behaviour) → 1.0 (pure relevance) and diff the traces. Now a per-faculty field: with_relevance_weight(w) (clamped [0,1]) + relevance_weight() getter; DEFAULT_RELEVANCE_WEIGHT (0.5) is the default. blended_score takes the weight as a param. Test relevance_weight_tunes_the_blend: weight 0.0 surfaces the more-salient irrelevant memory, weight 1.0 surfaces the topically-relevant one — the sweep the bench diffs to prove recall propagates to behaviour. 8 recall tests green. Co-Authored-By: Claude Opus 4.8 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Nov 4, 2026
…ain window excludes its commit, Shown reads a one-digit-off UUID (card 484b000b) (#5776) The range is exactly three airc PRs: - #1655 (card 0dc9af03): addressed admission reads trust through one held handle, a primary-key seek per frame (the daemon had opened ~24 SQLite connections/s on the IntelMac). - #1656 (card e3077c20): the drain window is sized by its statements' work, not the commit's fixed sync (Windows CI compaction drain went from >120 s to an airc-store suite of 40.98 s). - #1657 (airc slice of card 484b000b): Shown reads a UUID one hex digit off by its leading short form, against the caller's candidates only. All three are additive to the APIs continuum uses (TrustStore and peer_trust are new; the free airc_trust functions and Shown's existing forms are unchanged). Cargo.lock changes only the 15 rev lines; no dependency is added or removed. Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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.
Makes the recall relevance/salience blend a tunable field (with_relevance_weight) so IntelMac's replay A/B bench can sweep it. Test proves 0.0→salience, 1.0→relevance. Small, additive, 8 recall tests green.