Repository navigation
docs(search): full name in the query, scored with and without it - #487
Merged
Merged
Conversation
…ny replay Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replays every agent query (31 questions and the dev set, 1x and 10x) with a variant that embeds the meaning query with a known person's full name and without it, and keeps each hit's higher cosine. Almost nothing moves: dev top 5 stays 29 and 31, recall@5 dips at 1x, u01 stays #12 because the named person's own messages keep their higher scores from the text with the name. It fails clauses 1, 2 and 5 of the rule committed before the replay, so nothing is built in cli-core. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Task
Test one more fix for dev question u01: a full name in the query pulls up that person's own messages, so a message that only mentions them ranks #12.
Why
The last round (full-name-query) took the name out of the meaning query. It fixed u01 but lost questions whose answer is the person's own messages. The idea left: score each hit against both texts, with the name and without it, and keep the better score.
What
performance/search/full-name-dual-score/GATE.md: the merge rule, committed before any replay (86024c3). Clauses 1 to 4 are the last round's word for word, plus clause 5: the named-sender subset does not fall.README.md: setup, results, decision. Plus the variant diff,ww,run-all.shandgate.py.performance/search/README.mdandPROCESS.md.Headline: almost nothing moves. 1x 435 / 273 / 0.479 → 435 / 273 / 0.478, 10x 268 / 196 / 0.390 → 268 / 197 / 0.393, dev 29 and 31 in the top 5 unchanged. u01 stays #12: with the name the top cosines are 0.653, 0.641, 0.617 and the key is #8 at 0.557, without it the key is #1 at 0.539. The variant fails clauses 1, 2 and 5. No cli-core change.
Testing
Baseline reproduces the last round exactly on the 31 questions. Synthetic stores only, held-out set not opened. Docs lint and link check run locally.
🤖 Generated with Claude Code