Skip to content

docs(search): full name in the query, scored with and without it - #487

Merged
leemour merged 3 commits into
mainfrom
perf/full-name-dual-score
Dec 4, 2026
Merged

leemour merged 3 commits into
mainfrom
perf/full-name-dual-score

Conversation

@leemour

@leemour leemour commented Dec 4, 2026

Copy link
Copy Markdown
Member

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.sh and gate.py.
  • Index lines in performance/search/README.md and PROCESS.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

leemour and others added 3 commits December 4, 2026 02:37
…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>
@leemour
leemour merged commit 5a40636 into main Dec 4, 2026
1 check passed
@leemour
leemour deleted the perf/full-name-dual-score branch December 4, 2026 02:31
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.

1 participant