Docs: publish search-quality eval results and a benchmark baseline for the retrieval stack

Aperta
#1,218 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, markdown, shell, sqlite, typescript

Direzione di ricerca

Start with src/lib/search/eval/, src/lib/search/retrieval.test.ts, and bench.yml, then run the existing eval and benchmark scripts to obtain the quality scores, baselines, and CI regression thresholds. Check .github/workflows/bench.yml and scripts/check-bench-baseline.mjs to understand how results are produced and compared. Done means the documented results match the existing scripts, the new search-quality and benchmark pages are linked from README.md, and any generated documentation remains consistent.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

documentation priority: low

Summary

The repo has an unusually complete retrieval-eval machinery — src/lib/search/eval/, src/lib/search/retrieval.test.ts, bench configs, test:bench / bench:measure scripts, and benchmark baselines compared in bench.yml. What is missing is published output: there is no doc recording what the BM25/fusion/semantic stack actually scores on the eval set, what the recorded benchmark baselines are, or what regression thresholds CI enforces.

Evidence

  • src/lib/search/eval/ — eval harness exists in-repo.
  • .github/workflows/bench.yml — compares durations against a recorded baseline; results uploaded as artifacts but not summarized in docs.
  • docs/ contains cache inventory, deployment, sync self-hosting — no search-quality or benchmark section.
  • README markets "client-side search engine" with no quality/latency numbers.

Impact

  • Docs: contributors changing ranking logic (fusion.ts, retrieval.ts) currently have no recorded "what good looks like" to test against beyond CI guards.
  • Product credibility: a local-first search pitch is much stronger with published precision/recall and latency numbers (and it dogfoods the repo's own TRIZ/claims model on the eval corpus).
  • Regression triage: baseline numbers in docs make bench.yml failures interpretable.

Proposed approach

  1. Add docs/search-quality.md: eval-set description, metrics, current scores, and how to run the eval locally (pnpm test src/lib/search/eval/).
  2. Add a docs/benchmarks.md (or section) with the recorded baseline table and a pointer to scripts/check-bench-baseline.mjs / bench.yml.
  3. Generate both from the existing scripts where possible so they cannot drift (scripts/docs-sync.sh / check-doc-consistency.mjs pattern).
  4. Link from README's "Client-Side Search Engine" capability bullet.

References

Lingua principale
TypeScript
Stelle
3
Fork
2
Merge medio
11h 49m
PR unite (30g)
102

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di d-oit/do-knowledge-studio

Tutte le issue di d-oit/do-knowledge-studio

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.