Skip to content

Commit f71da03

Browse files
committed
feat: add pinned xRouteBench ingestion
Audit and pin the upstream dataset, add integrity metadata and schema snapshots, implement value-preserving Parquet ingestion, and document the unresolved redistribution license.
1 parent 160c0ec commit f71da03

17 files changed

Lines changed: 2520 additions & 22 deletions

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
Research framework for routing prompts across evolving LLM portfolios with a compact Liquid AI encoder.
66

7-
> **Research status:** Pre-alpha. The repository foundation is complete and the xRouteBench source audit is next. No benchmark results or trained router checkpoint are claimed yet.
7+
> **Research status:** Pre-alpha. The Part 2 xRouteBench audit and ingestion implementation is complete and awaiting review/merge. No benchmark results or trained router checkpoint are claimed yet.
88
>
9-
> **Project progress:** [2 of 17 core parts complete — view the tracker](docs/PROJECT_TRACKER.md)
9+
> **Project progress:** [2 of 17 core parts merged; Part 2 implementation complete — view the tracker](docs/PROJECT_TRACKER.md)
1010
1111
## Research question
1212

data/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,19 @@ data/cache/ Regenerable local caches
1212
```
1313

1414
Do not place credentials, private prompts, or restricted data in tracked files.
15+
16+
## xRouteBench
17+
18+
Part 2 pins xRouteBench in `data/manifests/xroutebench.json`. Download and
19+
verify only its smallest sample with:
20+
21+
```bash
22+
python scripts/download_xroutebench.py
23+
```
24+
25+
Use `--all` only when all 47.38 MB of pinned Parquet files are needed. Both
26+
modes write beneath ignored `data/raw/xroutebench/<revision>/` paths.
27+
28+
Because the pinned source declares no dataset license, do not move real rows
29+
into tracked fixtures. `data/fixtures/xroutebench/` contains synthetic test
30+
records only.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Synthetic xRouteBench Fixture
2+
3+
`synthetic_routing_sample.jsonl` is authored specifically for repository tests.
4+
It follows one observed xRouteBench routing schema but contains no copied
5+
upstream prompts, responses, model IDs, or annotations.
6+
7+
The real xRouteBench files remain under ignored `data/raw/` paths. They must not
8+
be committed because the pinned upstream revision does not declare a dataset
9+
license or include a license file.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{"task_name":"synthetic_math","query":"Synthetic fixture: what is two plus two?","ground_truth":"4","metric":"exact_match","choices":null,"task_id":null,"model_name":"synthetic-model-a","response":"4","token_num":11,"input_tokens":9,"output_tokens":2,"response_time":0.01,"performance":1.0,"embedding_id":0}
2+
{"task_name":"synthetic_choice","query":"Synthetic fixture: select option B.","ground_truth":"B","metric":"exact_match","choices":"{\"text\":[\"alpha\",\"beta\"],\"labels\":[\"A\",\"B\"]}","task_id":"fixture-2","model_name":"synthetic-model-b","response":"B","token_num":14,"input_tokens":12,"output_tokens":2,"response_time":0.02,"performance":1.0,"embedding_id":1}
3+
{"task_name":"synthetic_text","query":"Synthetic fixture: return a short greeting.","ground_truth":"hello","metric":"exact_match","choices":null,"task_id":"fixture-3","model_name":"synthetic-model-a","response":"hello","token_num":13,"input_tokens":11,"output_tokens":2,"response_time":0.015,"performance":1.0,"embedding_id":2}

data/manifests/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Dataset Manifests
22

3-
This directory will hold machine-readable source revisions, file metadata, schema snapshots, checksums, license notes, and split manifests.
3+
This directory holds machine-readable source revisions, file metadata, schema
4+
snapshots, checksums, license notes, and split manifests.
45

5-
No manifest has been created yet because xRouteBench has not completed the required source and license audit.
6+
- `xroutebench.json` pins the immutable source revision and all 41 files.
7+
- `xroutebench_schema.json` records all 17 config schemas, split row counts,
8+
and non-zero null counts.
9+
10+
The human-readable evidence and decisions are in
11+
[`reports/xroutebench_audit.md`](../../reports/xroutebench_audit.md).

0 commit comments

Comments
 (0)