Eval: a repeatable stress test for the knowledge-pool tiers

Open
#39 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@moatzfoaz1 is already working on this.

Since Nov 16, 2026.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
lua
Domain
devtools, testing

Research direction

Start with doc/agent-eval.md, the linked tier curation and aspect retrieval plans, and the existing scorecard workflow in eval-out/runs/. Identify how the demo-lab corpus and document.search are invoked before defining fixed workloads and recording latency, tier, ranking, and curation metrics. Done means a repeatable command writes comparable results, separates live-model runs, documents a stated tolerance, and has a baseline recorded.

Written by the indexing model from the issue text.

Description

P1 siraj

Depends on: none
Related: #7 (--docs N scaling), #13 (search matching), doc/tier-curation-ladder.md, doc/aspect-retrieval-plan.md
Code reference: daat main @ 2313334

Why

The tier ladder (curated, reference and record above the raw sources) is designed to keep search fast and answers grounded as the pool grows. #13 changes how search matches, and #7 adds corpus scaling to the scorecard. Neither one measures the tiers themselves under load. We need fixed workloads that can be re-run after each change, with numbers we can compare between runs.

Work

  • Workloads defined in the repo:
    • pool sizes (for example 200 / 2,000 / 20,000 documents, generated from the demo-lab corpus);
    • a fixed query mix;
    • a curation pass at each size.
  • Metrics per workload:
    • document.search latency (p50 / p95);
    • documents per tier;
    • rank of the curated note versus its raw source for questions the note answers;
    • curation model calls, tokens and wall time.
  • One command that runs it and writes a results file that the next run can compare against, the way the scorecard's eval-out/runs/ works.
  • Parts that need a live model are named and run separately from the deterministic ones.

Acceptance

  • Two runs on the same commit agree within a stated tolerance.
  • A baseline run is recorded in this issue.
  • Documented in doc/agent-eval.md (or its own doc, linked from there).
Dominant language
Lua
Stars
0
Forks
0
Avg merge
23h 3m
Merged PRs (30d)
16

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BenSiv/daat

All issues in BenSiv/daat

Similar issues

More Lua issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.