Skip to content

fix(model): isolate observed-overlap priors - #5

Merged
kleedaisuki merged 1 commit into
mainfrom
codex/igpu-model-identity
Sep 27, 2026
Merged

kleedaisuki merged 1 commit into
mainfrom
codex/igpu-model-identity

Conversation

@kleedaisuki

Copy link
Copy Markdown
Owner

Purpose

Per-worker routing now fits contention using observed overlap rather than selection-time peer counts. The persisted sufficient statistics retain the same four algebraic features but a changed label meaning, so old v0.6.0 priors must not be loaded under the new semantics.

Changes

  • Use a v2 learning-key namespace while keeping the model-store schema/feature version unchanged, preserving old rows and writeability.
  • Display the effective model identity in human and machine-readable summaries; document one intentional cold-learning run after upgrade.
  • Add a cross-run CLI regression: seed legacy key, remove v2 key, verify zero old-prior hits, legacy state retention, v2 persistence and later reuse. Keep fixtures inside .temp.

Verification

  • Windows MSVC Debug full CTest: 27/27 passed.
  • Physical Release CUDA binary on existing v0.6.0 model.db: first run had 0 v2 prior hits, second had 3; database contained 4 old v1 rows and 1 new v2 row.
  • Cross-platform GitHub Actions pending.

Limitation

The first run after upgrade starts new model priors. This is deliberate; old data is retained but not mixed with differently defined labels.

Namespace persisted learning keys by the new observed-overlap label semantics, without changing the algebraic feature version or deleting v0.6.0 rows. Expose the identity in summaries and document the intentional cold start. Add a cross-run upgrade regression that verifies legacy rows survive and new priors are learned and reused; keep its fixture under .temp.

Verified: Windows MSVC Debug build and CTest 27/27; physical old-database migration with Release CUDA binary (first 0 hits, then 3 hits, old rows retained).
@kleedaisuki
kleedaisuki merged commit 738f268 into main Sep 27, 2026
34 checks passed
@kleedaisuki
kleedaisuki deleted the codex/igpu-model-identity branch September 27, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant