Score all five arms in one resumable pass
The per-arm runner recomputed BM25 and the dense matmul for every arm, which put the full ablation at roughly 16 hours and left no way to survive a kill. JointRunner computes each signal once per query, attributes latency to the components each arm uses, and checkpoints every query to runs/baseline/rankings.jsonl. - bench/systems.py: JointRunner + ARM_COMPONENTS signal attribution. - bench/run.py: joint pass, rankings cache with a run fingerprint, per-query resume, latency summary, resident-memory progress lines. - bench/tests/test_joint.py: joint rankings equal the per-arm rankings for all five arms; the sparse corpus is scored once even with three arms that need it; cache fingerprint mismatch and malformed rows fail fast. - bench/reports/EXTERNAL_APPENDIX.md: what a real Mem0/Zep run would cost, and which published numbers are comparable at all. Verification: pytest bench/tests -q -> 57 passed; ruff check bench/ -> all checks passed; mypy (fresh cache) -> no issues in 25 source files.
This commit is contained in:
1 parent
a4953335e7
commit
29163632af
6 files changed
+356
-116
No files matched your search
@@ -1,77 +0,0 @@
|
||||
{
|
||||
"arms": [
|
||||
{
|
||||
"arm": "bm25_only",
|
||||
"by_modality": {
|
||||
"pdf": {
|
||||
"abstention_rate_answerable": 0.0,
|
||||
"abstention_rate_unanswerable": 0.0,
|
||||
"hit_at_10": 1.0,
|
||||
"hit_at_10_wilson_lower": 0.6755924351161198,
|
||||
"mrr": 0.725,
|
||||
"n_answerable": 8,
|
||||
"n_unanswerable": 2,
|
||||
"ndcg_at_10": 0.7883559233904859,
|
||||
"recall_at_1": 0.625,
|
||||
"recall_at_10": 1.0,
|
||||
"recall_at_5": 0.875,
|
||||
"wrong_holder_confidence_unanswerable": 1.0
|
||||
}
|
||||
},
|
||||
"latency_seconds": {
|
||||
"max": 1.3251221780083142,
|
||||
"mean": 0.8729710359009915,
|
||||
"p50": 0.8812561564991483,
|
||||
"p95": 1.2068847050097244,
|
||||
"queries": 10
|
||||
},
|
||||
"overall": {
|
||||
"abstention_rate_answerable": 0.0,
|
||||
"abstention_rate_unanswerable": 0.0,
|
||||
"hit_at_10": 1.0,
|
||||
"hit_at_10_wilson_lower": 0.6755924351161198,
|
||||
"mrr": 0.725,
|
||||
"n_answerable": 8,
|
||||
"n_unanswerable": 2,
|
||||
"ndcg_at_10": 0.7883559233904859,
|
||||
"recall_at_1": 0.625,
|
||||
"recall_at_10": 1.0,
|
||||
"recall_at_5": 0.875,
|
||||
"wrong_holder_confidence_unanswerable": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"chance": {
|
||||
"corpus_sources": 50278,
|
||||
"recall_at_1": 1.9889414853415013e-05,
|
||||
"recall_at_10": 0.00019889414853415012,
|
||||
"recall_at_5": 9.944707426707506e-05
|
||||
},
|
||||
"meta": {
|
||||
"answerable": 8,
|
||||
"corpus_manifest_sha256": "8fc1ed861c891d778853d41107630869f9eb267a669c5d1038e389de80114347",
|
||||
"corpus_sources": 50278,
|
||||
"generated_at": "2026-10-06T20:42:42+00:00",
|
||||
"git_commit": "fc0698c2426c373e32c361a816523351a1e3fcb7",
|
||||
"limit_per_modality": 10,
|
||||
"machine": {
|
||||
"cpus": 32,
|
||||
"release": "6.18.40.1-microsoft-standard-WSL2",
|
||||
"system": "Linux"
|
||||
},
|
||||
"models": {
|
||||
"dense": "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2",
|
||||
"rerank": "BAAI/bge-reranker-base"
|
||||
},
|
||||
"python": "3.14.4",
|
||||
"queries": 10,
|
||||
"sets": {
|
||||
"code": "ea7e248386350f95132a398f3710f6ce5f09424ca614fd88c618207f667a553e",
|
||||
"conversation": "dc106d90e7749bee8be01b1fab3b645a5459d7527ef40e7fbf983677d5898d11",
|
||||
"image": "1c74488375c7ec9f3182964d51a5e506273bfd5cf3d126725c3cc431a8333128",
|
||||
"pdf": "0cec488e660bf1bfa7ccfc72dbae8b7e3005f0b6a0255028e502296d4ecd4536",
|
||||
"ui_screenshot": "2269dd623e67cd851fb3f6b24a4556a8462a37db98e12ad79577c5830167c7c5",
|
||||
"video": "4973231d9f16d214b14923d79a34b85c3d2b423624dea752b1ee91ba09ff778c"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user