0.1.0-beta.2 — catalog-v2 runtime readiness (route_prior)
Pre-release
Pre-release
Catalog-v2 runtime-side consumption (SOTA-track #1). The runtime now loads route_table_prior.npy when present and adds it to the dot-product score before top-k selection — Bayesian combination of likelihood and frequency prior. Absent file leaves the scoring path unchanged, so v1 catalogs continue to work without modification.
Added
- Optional
route_table_prior.npycolumn. Loaded as per-route log-prior and added to scores before top-k. - Shape mismatch raises `RuntimeError` at load time rather than producing wrong results.
- 4 integration tests (`tests/integration/test_route_prior.py`): absent file, present file, shape mismatch, prior changes top-1 result.
Pairs with
- The catalog-builder side that already emits the v2 wire format (`catalog-builder/format/cat_v2.py`, magic `MNC2` + `PRIR` tail) with `freq_adaptive_scale` applied per-route.
Note
The publicly shipped HF Phase-1 weights remain catalog-v1. The runtime is now forward-compatible with v2; the v2 weights arrive in v0.2.0-beta.1 together with the documented model_hash bump and the Russian intent run.