Commit b2f94dc
feat(v0.21): Phase 1.5+1.6 — cross-domain bench wired + 25% baseline established
PHASE 1.5 (eval/run_all.py + eval/unified.py):
- run_agent_benchmark loop now respects validation:{type:domain_coverage}
queries: doesn't skip on empty relevant_docs, scores by per-domain
coverage of found_ids instead of doc-id matching.
- _count_domains_for_ids: bulk SQL helper that resolves the agent's
heterogeneous found_ids (real node ids + titles + raw doc_id
hashes from properties.doc_id extraction) by looking up each
candidate against id / title / properties.doc_id in one pass.
First implementation only checked direct id and reported 0
coverage on cross-domain runs even when the corpus IS multi-domain.
- load_bench_log regex widened to accept xd012-style qids (1-3
letters + 3-4 digits) so cross_domain.json results parse.
- Cross-Domain DatasetConfig added (quick=False, opt-in via
--agent-dataset). agent_datasets filter widened to match it.
PHASE 1.6 (measurement):
Ran the agent (Qwen3.5-27B vLLM, T=0/seed=42) against the combined
metacorpus.sqlite on cross_domain.json:
solved=3/12 (25 %), 1151 s
Hits when query keywords explicitly anchor distinct domain content
(xd007 'user feedback records', xd008 '방송 마케팅', xd009 '상품
판매 데이터'). Misses dominated by ESG/카본/인권 themes where KRRA's
explicit ESG category pulls FTS top-rank and the agent never
branches to assort/x2bee.
Combined UnifiedScore on v0.20.1 + cross-domain logs: 0.7205
across 209 queries — first time all 8 dimensions are covered:
lang:ko 0.849 n=172 | lang:en 0.333 n=3 | lang:mixed 0.824 n=34
multi_hop 0.756 n=45 | enumeration 0.859 n=92 | structured 0.888 n=98
cross_domain 0.250 n=12 | cross_language 0.784 n=37
Phase 2 target: lift cross_domain 0.25 → 0.50+ via domain-aware
agent (system-prompt enumeration of available domains + cross-
domain intent routing).
Tests +2 (title-based bulk lookup + raw doc_id hash properties scan)
on top of the existing 6, total 8 in test_eval_domain_coverage.py.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 0076fd9 commit b2f94dc
5 files changed
Lines changed: 589 additions & 18 deletions
File tree
- eval
- baselines
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
9 | 73 | | |
10 | 74 | | |
11 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
0 commit comments