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

Ouverte
#1,218 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
68/100
Type d'issue
Documentation
Clarté
Clairement spécifiée
Activité
Active
Stack technique
github-actions, markdown, shell, sqlite, typescript

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
TypeScript
Étoiles
3
Forks
2
Merge moyen
11 h 49 min
PR mergées (30 j)
102

Préparer son environnement

Ouvrir dans Codespaces

Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de d-oit/do-knowledge-studio

Toutes les issues de d-oit/do-knowledge-studio

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.