test: first-round knowledge quality metrics (#14 P3) #17

Merged
cflmy merged 1 commits from codex/issue-14-quality-metrics into master 2026-11-30 17:46:14 +08:00
1 Commits
Author SHA1 Message Date
cflmy a7f0740cc1 test: define the first-round knowledge quality口径
ci/woodpecker/pr/ci Pipeline was successful
Implement the P3 part of marqdo-knowledge#14 with an executable, fixture-scoped
quality set instead of unmeasured claims:

- tests/quality.rs: fixed 5-document fixture (navigation index + 4 knowledge
  docs), 5 unique-title queries; computes hit@1, hit@3, MRR, navigation role,
  stale refusal and snapshot stale marking; prints one QUALITY_METRICS JSON
  line so CI logs can archive the numbers.
- docs/QUALITY.md defines each metric, the first-round values, the fixed
  fixture scope and the explicit non-claims (no production recall/latency/RSS
  threshold).
- docs/STATUS.md records the implementation; evidence:
  docs/evidence/2026-11-30-quality-first-round.md (5/5 hit@1, MRR 1.0,
  navigation role index, stale refused/marked on this fixture).

No CLI/other component change, no release, no new index or metadata.
2026-11-30 17:35:48 +08:00