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

Đang mở
#1,218 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, markdown, shell, sqlite, typescript
Lĩnh vực
documentation, search

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
3
Fork
2
Merge trung bình
11 giờ 49 phút
Pull request đã merge (30 ngày)
102

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của d-oit/do-knowledge-studio

Tất cả issue của d-oit/do-knowledge-studio

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.