计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
evaluation-and-fusion【效率与协作】Evaluate Pyserini run files, convert run formats, fuse retrieval runs, and use reproducibility matrices safely.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task involves trec_eval, qrels, TREC/MS MARCO/KILT/DPR/QA retrieval evaluation, run-file validation, run conversion, reciprocal-rank fusion, interpolation, score normalization, or Pyserini two-click reproducibility matrices.
Do not use this sub-skill to generate search runs from an index. Route Lucene indexing/search/fetch workflows to ../index-search-fetch/SKILL.md, dense encoding/Faiss/hybrid retrieval generation to ../dense-encoding/SKILL.md, and Java/eval-jar/source-checkout build failures to ../install-and-runtime/SKILL.md or ../repo-development/SKILL.md.
python -m pyserini.eval.trec_eval with explicit metrics.msmarco_passage_eval/msmarco_doc_eval, or convert to six-column TREC before trec_eval.pyserini.trectools.TrecRun and Qrels to inspect topics, retain or discard judged documents, normalize scores, or write a clean TREC run.python -m pyserini.fusion for rrf, interpolation, average, and normalize on valid TREC runs with compatible query/document identifiers.--display-commands --dry-run first; treat full two-click commands as opt-in because they may download indexes, models, topics, qrels, or runs.Validate the candidate run before evaluation or fusion:
python scripts/validate_trec_run.py run.trec --qrels qrels.txt --strict-ranks --summary
If the run is MS MARCO format, convert it before using trec_eval:
python -m pyserini.eval.convert_msmarco_run_to_trec_run --input run.msmarco.tsv --output run.trec
Evaluate with explicit metrics and a qrels key or qrels path:
python -m pyserini.eval.trec_eval -c -m ndcg_cut.10 -m recall.100 qrels.txt run.trec
Build a fusion command without executing it:
python scripts/fusion_recipe_builder.py --method rrf --runs bm25.trec dense.trec --output fused.trec --runtag demo --k 100 --depth 1000
Validate the fused run and evaluate it with the same qrels and metrics as the input runs.
references/run-evaluation.md covers TREC, MS MARCO, KILT, DPR, QA, TrecRun, Qrels, qrels aliases, and common metrics.references/reproducibility.md explains two-click reproduction modules, dry-run/display-command safety, nondeterminism, and matrix triage.references/troubleshooting.md maps malformed runs, run/qrels mismatches, missing eval jars, unjudged documents, and expensive reproduction failures to fixes.scripts/validate_trec_run.py --help validates TREC runs and qrels without importing Pyserini or starting Java.scripts/fusion_recipe_builder.py --help generates reproducible Pyserini fusion commands with method-specific checks.