Dev.to AI 🤖 Ai 👁 0 📖 3 min read

Your agent remembered both messages and still got it wrong. A 360-question test for "when", not just "what"

Two messages sit in your agent's memory: "Minji is your point of contact." "Junho takes over next month." A user asks: who should I contact today? The right answer is Minji. The message about Junho came later, but th

Two messages sit in your agent's memory:

"Minji is your point of contact."
"Junho takes over next month."

A user asks: who should I contact today? The right answer is Minji. The message about Junho came later, but the handoff hasn't happened yet.

A memory layer can retrieve both messages and still answer Junho. Most memory benchmarks check whether the right text comes back. Fewer check whether the system keeps track of when something was said, and which fact replaced which.

We built a small, open test for exactly that, and you can run it on your own memory system in a few minutes.

What the test covers

15 synthetic customers, six dated sessions each, 360 questions:

Question type Example of what it checks
Corrected facts The user changed their address. Do you return the new one?
Date said When did the user tell you X?
Which came first Of two events, which happened earlier?
Days between How many days passed between X and Y?
Counting How many trainers has the user had?
Apply a stated condition The user said they prefer aisle seats. Which seat do you book?
Someone else's fact mixed in Does a fact about another person leak in?
No answer exists Does the system say "unknown" instead of guessing?

Each question is asked three times and scored by majority vote. Predictions were written down before each run, including the ones that turned out wrong.

Step 1: check the harness (free, about a minute)

You need Node.js 22 or newer. Nothing to install; npx fetches what it needs.

git clone https://github.com/terracore-kr/ai-memory-date-test
cd ai-memory-date-test
npx tsx quickstart/run.mts
npx tsx quickstart/score.mts quickstart/answers-echo-*.jsonl

This uses an adapter that always answers "unknown". I ran it before writing this post. The scorer prints a table, and the only non-zero row is the one you'd expect:

| No answer exists | 45/45 |
| **Overall**      | **45/360** |

So "say unknown to everything" is worth 45 points. That's your floor.

Step 2: connect your memory system

Edit one file, quickstart/adapter.mts. You write three functions:

export interface MemoryAdapter {
  name: string
  reset(customerId: string): Promise<void>                 // start empty
  ingest(customerId: string, session: Session): Promise<void> // once per session, in date order
  answer(customerId: string, question: string): Promise<string> // plain text, or "unknown"
}

Every session has a date, and every message carries a timestamp. The first user message of each session also says "Today's date is YYYY-MM-DD." Use whichever your system supports. If it drops timestamps on the way in, that is exactly what the date questions will show.

Step 3: estimate, then run

ADAPTER=mine npx tsx quickstart/run.mts --dry-run
ADAPTER=mine npx tsx quickstart/run.mts
npx tsx quickstart/score.mts quickstart/answers-mine-*.jsonl

--dry-run prints the cost estimate before anything is sent. Use --customers A,B to try a small subset first.

For a reference point with no memory system at all, ADAPTER=full-transcript sends the whole conversation with every question through any OpenAI-compatible endpoint. Its dry run estimates about $0.71 with gpt-4.1-mini.

Reading your score

  • Corrected facts vs. date said tend to split. A system can be good at "what is it now?" and bad at "when did they tell me?", because one depends on order and the other on dates surviving storage.
  • Two of the three counting questions are ambiguous ("counting the current one?"). The scorer prints counting per question so you can read that row with care.
  • One build, one answer model. Scores move with the model you answer with. Compare systems with the same answer model.

What this test is not

It's not a ranking of memory products, and it's not an independent evaluation. The test was written and run by the Belcore team, and Belcore is one of the systems it has measured. A passing score is not a security or compliance result. Questions, raw answers, scoring code and preregistrations are all public, so you can check every number yourself.

Share your result

Open a results issue with your score. Please don't rerun until you get a better number.

If you'd rather not wire up the adapter yourself, we also run it for teams and send a report with every wrong answer grouped by cause: belcore.xyz/audit.

Drafted with AI assistance. The free quickstart was run before publishing.

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.