WIP: ✨ feat(co2): add ordered model registry #2

Draft
mat wants to merge 1 commit from feat/s1-model-registry into main
Owner

Context

Model classification previously relied on overlapping substring scans and silently classified unknown models as mid-tier. That made model assumptions difficult to audit.

Impact

Adds an ordered, case-insensitive model registry with explicit unknown resolution, preserves the mid-tier fallback for compatibility, and exposes deterministic model warnings through an additive JSON field. Existing central estimates and JSON keys remain unchanged.

Verification

  • go test ./... (80 tests)
  • go vet ./...
  • git diff --check

This PR is intentionally draft.

## Context Model classification previously relied on overlapping substring scans and silently classified unknown models as mid-tier. That made model assumptions difficult to audit. ## Impact Adds an ordered, case-insensitive model registry with explicit unknown resolution, preserves the mid-tier fallback for compatibility, and exposes deterministic model warnings through an additive JSON field. Existing central estimates and JSON keys remain unchanged. ## Verification - `go test ./...` (80 tests) - `go vet ./...` - `git diff --check` This PR is intentionally draft.
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin "feat/s1-model-registry:feat/s1-model-registry"
git switch "feat/s1-model-registry"

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch "main"
git merge --no-ff "feat/s1-model-registry"
git switch "feat/s1-model-registry"
git rebase "main"
git switch "main"
git merge --ff-only "feat/s1-model-registry"
git switch "feat/s1-model-registry"
git rebase "main"
git switch "main"
git merge --no-ff "feat/s1-model-registry"
git switch "main"
git merge --squash "feat/s1-model-registry"
git switch "main"
git merge --ff-only "feat/s1-model-registry"
git switch "main"
git merge "feat/s1-model-registry"
git push origin "main"
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mat/cco2usage!2
No description provided.