You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Recall finds mechanism families reliably and specific systems unreliably #4
Scored against a held-out set of ten known systems frozen before the run: 0 exact hits, ~3 mechanism-family hits by hand.
A later run did find microsoft/SeCom unaided — a system whose README states the exact failure mode being researched ("turn-level, session-level and summarization-based memory struggle with retrieval accuracy") — after three earlier runs missed it entirely. So recall is improving, but it is not reliable.
What is already done: queries expand into synonym, mechanism-family and symptom phrasings rather than the system's own invented name for a problem, because real prior art rarely uses the name a system just made up for its own idea.
Where it still falls short: finding a different implementation of the same mechanism counts as success here and happens fairly often. Finding the well-known system for a problem does not.
Ideas welcome, particularly retrieval strategies that surface prior art the current query-variant approach misses. Concrete misses are useful even without a fix — see the recall-miss issue template.
Root cause found, and it was not the query-variant strategy.
The queries were never reaching a form GitHub could answer. Run cmtgqmr6u issued twenty repository searches and nineteen returned zero results:
"code-verified implementations of bitemporal memory extraction with
epoch-day normalization" -> 0
"external benchmark results for assistant-turn role-preserving
retrieval or shadow indexes" -> 0
"measured evaluations of multi-anchor retrieval fusion compared to
top-1-anchored escalation" -> 0
"existing LLM agent memory systems code" -> 1
The only one that returned anything was the shortest. GitHub matches repository names, descriptions and topics, and ANDs every term — it does not do semantic search over prose. A twelve-word sentence cannot match.
Two things made them unanswerable:
They carried this system own evidence vocabulary.code-verified, external benchmark, measured evaluations are internal class names. No repository describes itself that way, and asking a code host for code that has already been verified asks it for the answer rather than the material.
They were too long. Measured against the live API rather than assumed:
query
terms
results
entity-community graph anchor selection
4
0
graph anchor selection
3
2
graph anchor
2
5
So the observed "0 exact hits" was not recall failing to rank the right system below the wrong one. The search returned nothing at all, and that emptiness was read as an absence of prior art.
The systems are findable. On the live API, graphiti resolves to getzep/graphiti and hipporag to OSU-NLP-Group/HippoRAG — both exact, both named by earlier runs as candidates and never retrieved.
Fixed in toRepoSearchQuery() (src/lib/sources/github.ts): hyphens split, evidence vocabulary and self-referential words removed, capped at three terms. My first attempt at this did not work and the live test is what said so — capped at five and splitting on whitespace only, all six sample queries still returned zero, and code-verified passed the filter intact as one hyphenated token. Re-measured after the correction: four of six previously-empty queries return results, and the next run retrieved six repositories instead of one.
Keeping this open. The held-out score of 0 exact hits predates the fix and has not been re-measured. Until it is, the honest statement is that a structural cause has been removed, not that recall is now reliable.
Activity
krapcys1-maker commentedon Aug 31, 2026
Root cause found, and it was not the query-variant strategy.
The queries were never reaching a form GitHub could answer. Run
cmtgqmr6uissued twenty repository searches and nineteen returned zero results:The only one that returned anything was the shortest. GitHub matches repository names, descriptions and topics, and ANDs every term — it does not do semantic search over prose. A twelve-word sentence cannot match.
Two things made them unanswerable:
code-verified,external benchmark,measured evaluationsare internal class names. No repository describes itself that way, and asking a code host for code that has already been verified asks it for the answer rather than the material.entity-community graph anchor selectiongraph anchor selectiongraph anchorSo the observed "0 exact hits" was not recall failing to rank the right system below the wrong one. The search returned nothing at all, and that emptiness was read as an absence of prior art.
The systems are findable. On the live API,
graphitiresolves togetzep/graphitiandhipporagtoOSU-NLP-Group/HippoRAG— both exact, both named by earlier runs as candidates and never retrieved.Fixed in
toRepoSearchQuery()(src/lib/sources/github.ts): hyphens split, evidence vocabulary and self-referential words removed, capped at three terms. My first attempt at this did not work and the live test is what said so — capped at five and splitting on whitespace only, all six sample queries still returned zero, andcode-verifiedpassed the filter intact as one hyphenated token. Re-measured after the correction: four of six previously-empty queries return results, and the next run retrieved six repositories instead of one.Keeping this open. The held-out score of 0 exact hits predates the fix and has not been re-measured. Until it is, the honest statement is that a structural cause has been removed, not that recall is now reliable.