Dense-Mem
← Running and verifying Dense-Mem

Check whether search helped

Give the system known questions and measure whether the returned sources support the answers.

Start with the same inputs

  1. Prepared questions

    Known source notes

  2. Evaluation

    Pinned inputs

The evaluator chooses a saved set of questions and source notes.

  1. Selected dataset

    Resolve seed digest

  2. Hosted runner

    Restore fresh database

  3. Production server image

    Authenticated Recall and Trace

The GitHub-hosted workflow pins the production image and selected PostgreSQL seeds. Each seed boots in fresh writable storage with Topic organization disabled.

seed image digestSHA-256 digest
Hosted evaluation workflow · resolves a selected seed
"sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
Fresh PostgreSQL evaluation database
"sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"

The digest fixes the exact dataset image for a repeatable run. The workflow also pins the production server image separately.

Compare results to the sources

  1. Example question

    Where’s practice?

  2. Expected source

    We rehearse in Room 4.

  3. Dataset report

    Recall and answer scores

The report shows how often search surfaced a useful source.

  1. Locked question

    Run authenticated Recall

  2. Expected source mapping

    Score retrieved support

  3. Dataset report

    Record score and completion

Single-call and multi-turn answer policies share the initial Recall. The evaluator scores against locked answers and source mappings.

Recall@5metric
Evaluation scoring · illustrative 4 of 5 cases
0.8
Dataset report
0.8

This example divides cases whose expected support appeared in the first five results by the total scored cases. Read it with the immutable inputs and completion record.

results[0].evidence_idUUID
Recall result
"00000000-0000-4000-8000-000000000001"
Trace request · evidence_id
"00000000-0000-4000-8000-000000000001"

The server returns the matching memory’s ID. The assistant can send that same ID to Trace, which checks access before returning its source.

recall_memory result · Required · Up to 128 characters

Read the reference