语料库检索基准测试
corpus-retrieval-lab
对当前的研究查询与直接词法基线进行基准测试,与实验性的向量检索、BM25、类型化概念图 PPR 以及 RRF 源选择进行对比,但不替换生产环境的检索。
- License 许可
- MIT
- 所属仓库
- jmagly/aiwg
- 最近更新
- 2026-11-14
- Stars
- ★ 229
- Forks
- 36
01 前言 Front Matter
- name
- corpus-retrieval-lab
- triggers
- [ "benchmark corpus retrieval", "hybrid retrieval lab", "compare research query retrieval" ]
- namespace
- aiwg
- platforms
- [ "all" ]
- commandHint
- { "category": "research-retrieval", "allowedTools": "Read, Bash", "argumentHint": "--queries <jsonl> --concepts <json> [--expected-scheme-hash <sha256>] [--json] [--out <path>]" }
- description
- Benchmark current research-query and direct lexical baselines against experimental vector, BM25, typed concept-graph PPR, and RRF source selection without replacing production retrieval.
03 SKILL.md 正文
Corpus Retrieval Lab
Run the local experimental benchmark:
aiwg corpus retrieval-lab --queries <jsonl> --concepts <json> --json
Use reviewed narrow implementation questions with expected REF evidence. Preserve the current research-query behavior regardless of the result; the report may only recommend a later explicit adoption decision.
The lab reports baseline and hybrid Hit@k, MRR, latency, failures, confidence/dispersion, faithfulness, and concept-scheme drift. Use --expected-scheme-hash when comparing runs across time.
See docs/guides/corpus-retrieval-lab.md for fixture schemas and interpretation.
04 同仓库更多 Skills
plugin-search
Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything
plugin-search
Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything
host-hardening
Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.
exposure-analysis
Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.
host-hardening
Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.
exposure-analysis
Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.