Skip to content

perf(search): full name out of the meaning query, replayed and rejected - #485

Merged
leemour merged 1 commit into
mainfrom
perf/full-name-query
Dec 4, 2026
Merged

leemour merged 1 commit into
mainfrom
perf/full-name-query

Conversation

@leemour

@leemour leemour commented Dec 4, 2026

Copy link
Copy Markdown
Member

Why

Dev question u01 at 10x: the answer message ranks #12 on Mem0's query with the person's surname and #1 without it. Each message is embedded under its sender, so a full name in the query pulls up that person's own messages. The last page did not test a fix because it could hurt questions about what that person said.

What

New page performance/search/full-name-query with the merge rule written before the replay (GATE.md), the experiment hook diff, the sandbox and the gate script.

Two variants, replayed on every agent query (31 questions and the dev set, 1x and 10x, wcat 3.10.18 with cli-core main):

Set Baseline top 5 / #1 V1 surname out V2 name out
31 questions 1x (593) 435 / 273 433 / 270 425 / 261
31 questions 10x (482) 268 / 196 266 / 194 261 / 191
dev 1x (69) 28 / 13 27 / 13 23 / 12
dev 10x (60) 29 / 22 31 / 24 31 / 22

u01 gains, but questions whose answer is the named person's own messages lose (k07, k30, u04). Both variants fail the rule. No cli-core change.

🤖 Generated with Claude Code

Replays every agent query (31 questions and the dev set, 1x and 10x) on wcat 3.10.18
with cli-core main and an experiment hook that takes a named person's surname (V1) or
whole name (V2) out of the text the meaning lane embeds. The merge rule was written
before the replay (GATE.md).

The dev 10x u01 cancel moves to #1 and dev 10x rises 29 -> 31 in the top 5, but
questions whose answer is the named person's own messages lose (k07, k30, u04).
Totals fall at 1x and 10x under both variants, so neither is built.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour leemour closed this Dec 4, 2026
@leemour leemour reopened this Dec 4, 2026
@leemour
leemour merged commit e1bb042 into main Dec 4, 2026
1 of 4 checks passed
@leemour
leemour deleted the perf/full-name-query branch December 4, 2026 01:29
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