You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@
4
4
5
5
Research framework for routing prompts across evolving LLM portfolios with a compact Liquid AI encoder.
6
6
7
-
> **Research status:** Pre-alpha. Parts 0–2 are merged. Part 3 is implemented and validated locally, and Part 4 now produces five real leakage-safe xRouteBench manifests plus an explicit unsupported-temporal record. Review and merge are still pending. No benchmark results or trained router checkpoint are claimed yet.
7
+
> **Research status:** Pre-alpha. Parts 0–4 are merged. The six canonical tables and five real leakage-safe xRouteBench manifests are reproducible; temporal is explicitly unsupported because the source has no dates. Part 5's baseline suite is next. No benchmark results or trained router checkpoint are claimed yet.
8
8
>
9
-
> **Project progress:**[3 of 17 core parts merged — view the tracker](docs/PROJECT_TRACKER.md)
9
+
> **Project progress:**[5 of 17 core parts merged — view the tracker](docs/PROJECT_TRACKER.md)
10
10
11
11
## Research question
12
12
@@ -38,7 +38,7 @@ Development order:
38
38
8. Online bandit adapter and budget pacing.
39
39
9. External benchmarks, ablations, and research release.
40
40
41
-
See the [project tracker](docs/PROJECT_TRACKER.md) for current progress, the [project blueprint](docs/PROJECT_BLUEPRINT.md) for the full ordered build plan, the [Part 3 canonical-data guide](docs/PART3_CANONICAL_DATA.md) for the real table build, the [Part 4 split contract](docs/PART4_SPLITS.md) for leakage rules and storage setup, and the [research handoff](docs/RESEARCH_HANDOFF.md) for the literature and dataset review.
41
+
See the [project tracker](docs/PROJECT_TRACKER.md) for current progress, the [project blueprint](docs/PROJECT_BLUEPRINT.md) for the full ordered build plan, the [local compute plan](docs/COMPUTE_PLAN.md) for the 350M-only hardware policy, the [Part 3 canonical-data guide](docs/PART3_CANONICAL_DATA.md) for the real table build, the [Part 4 split contract](docs/PART4_SPLITS.md) for leakage rules and storage setup, and the [research handoff](docs/RESEARCH_HANDOFF.md) for the literature and dataset review.
This document is the practical build order for the project. Each numbered part is a real system component or a required research stage. We will follow the parts in order and will not treat a later part as complete until its entry conditions are satisfied.
| 3 | Canonical Data Layer |🚧 **In progress**| Six real tables built and validated; review and merge are pending|
33
-
| 4 | Deduplication and Leakage-Safe Splits |🧩 **Partial**|Five real manifests generated; temporal is explicitly unsupported because source dates do not exist|
34
-
| 5 | Baseline Suite |⬜ Pending|Complete Part 4 first|
34
+
| 3 | Canonical Data Layer |✅ Done |[PR #7](https://github.com/MaharshPatelX/LFM2.5-ModelRouter/pull/7) merged; six real tables validated|
35
+
| 4 | Deduplication and Leakage-Safe Splits |✅ Done|[PR #7](https://github.com/MaharshPatelX/LFM2.5-ModelRouter/pull/7) merged; five real manifests plus an explicit unsupported-temporal artifact|
36
+
| 5 | Baseline Suite |➡️ **Next**|Implement simple and learned baselines on the Part 4 manifests|
35
37
| 6 | LFM Query Encoder | ⬜ Pending | Complete Part 5 first |
36
38
| 7 | Candidate Model Profile System | ⬜ Pending | Complete Part 6 first |
37
39
| 8 | Multi-Outcome Predictor | ⬜ Pending | Complete Part 7 first |
@@ -45,36 +47,30 @@ part's requirements and completion gate.
45
47
| 16 | Research Release | ⬜ Pending | Complete Part 15 first |
46
48
| 17 | Later Extensions | 💤 Deferred | Consider only after the MVP release |
47
49
48
-
## Part 3 Local Completion Checklist
50
+
## Merged Data Foundation
49
51
50
-
-[x] Define the six canonical table schemas.
51
-
-[x] Build the canonical query table from pinned xRouteBench rows.
52
-
-[x] Build the canonical model registry with stable IDs, families, and aliases.
53
-
-[x] Build the outcome table with query/model references and preserved source fields.
54
-
-[x] Build the price-history, probe-profile, and online-route-log schemas.
55
-
-[x] Add understandable validation for required fields, ranges, IDs, and relationships.
56
-
-[x] Add canonical Parquet writers and bounded JSONL debug exports.
57
-
-[x] Add tested price recomputation from token counts and price snapshots.
58
-
-[x] Save generated canonical data beneath ignored `data/processed/` storage.
59
-
-[x] Pass every Part 3 completion gate in the project blueprint locally.
60
-
-[ ] Review, open and merge the pull request before marking Part 3 done.
52
+
-[x] Store real data in portable repository-local ignored directories.
53
+
-[x] Build and validate all six canonical Parquet tables.
54
+
-[x] Preserve stable IDs, raw fields, model aliases and price snapshots.
55
+
-[x] Generate five real leakage-safe split manifests.
56
+
-[x] Record temporal as unsupported instead of inventing source dates.
57
+
-[x] Recreate all 21 generated artifacts byte-for-byte.
58
+
-[x] Merge Parts 3 and 4 in PR #7 with Python 3.11 and 3.12 CI passing.
61
59
62
-
## Part 4 Prework Already Completed
60
+
## Next Part Checklist — Part 5
63
61
64
-
-[x] Keep real data in portable, repository-local ignored directories.
65
-
-[x] Support an optional external-storage override without hard-coded paths.
66
-
-[x] Implement exact and normalized prompt hashing.
67
-
-[x] Implement deterministic near-duplicate checks and audit counts.
68
-
-[x] Implement source-ID and synthetic-lineage grouping.
69
-
-[x] Implement model alias and family validation.
70
-
-[x] Isolate complete probe clusters from final test traffic.
71
-
-[x] Implement all six split strategies.
72
-
-[x] Add deterministic manifests and a generated deduplication report.
73
-
-[x] Add unit tests for reproducibility and leakage boundaries.
74
-
-[x] Complete Part 3 canonical Parquet tables and JSONL debug exports locally.
75
-
-[x] Document temporal as unsupported because the pinned source has no dates.
76
-
-[x] Generate and validate real xRouteBench manifests in `data/processed/part4/`.
77
-
-[ ] Merge the Part 4 pull request and mark Part 4 as done here.
62
+
-[ ] Define one shared evaluation contract and candidate pool for every baseline.
63
+
-[ ] Implement random, cheapest and largest/most-expensive policies.
64
+
-[ ] Implement best-single-model and per-domain-best policies using only training data.
65
+
-[ ] Implement best-quality and cheapest-successful oracle upper bounds.
66
+
-[ ] Add logistic-regression, small-MLP and fixed-model-ID learned baselines.
67
+
-[ ] Evaluate every method on the same Part 4 split manifest and price snapshot.
68
+
-[ ] Save a baseline result table, quality-cost plot and oracle-gap report.
69
+
-[ ] Add deterministic tests and a reproducible baseline command.
70
+
71
+
The [local compute plan](COMPUTE_PLAN.md) fixes the active scope at 350M and
72
+
uses the incoming 24 GB RX 7900 XTX with the existing 16 GB of host RAM. Part 5
73
+
remains CPU-first, so hardware arrival does not block the next implementation.
0 commit comments