tier_classes
tier_classes
¶
Family-neutral tier classes frontier, balanced and light from catalog v2 (MC1c).
The existing capability classes name a job (review) or a rough strength
(strong). A tier class names a capability tier, the way "Opus class,
Sonnet class, Haiku class" does, with no family in the name: any family's model
may sit in it, at the reasoning effort that makes it that tier.
tier_chains is a pure function from a validated catalog and the profiles a
machine has to the three chains. It is run twice with different inputs:
- against the BUILTIN profiles, to generate the packaged
classes/default.yamlblock (python -m marianne.instruments.tier_classes --write-default); - against the registered profiles of one machine, by
mzt instruments classes tiers(printed, or written to a proposal file the owner merges by hand; the user layer is never written).
Rules (each has a test):
- only non-provisional tier claims count (a guess is never a class member);
- only routes whose access is in
allow_access(default: nometered); - models whose status is superseded, deprecated, retired or sunset are skipped;
- each entry pins the LOWEST effort at which the model reaches the tier, the cheapest way to get that class, and only an effort the profile maps for that model; a route whose profile maps none of the qualifying efforts is skipped;
- where the effort is part of the model slug (antigravity:
...-high) the entry names the full slug and carries noeffort; - access order is strict: every subscription entry before any free one, every free before any local (a flat-rate plan is the dependable seat; a free tier is shared quota). Within one access group entries alternate families (round robin) so a fallback leaves the family that just failed; before alternation a model in its own tier (the tier it reaches at its default effort) comes before one borrowed by raising or lowering its effort, then the cheaper effort first;
- a model whose recorded Terminal-Bench 4.0 score is below
AGENTIC_FLOORis left out of every tier: a light worker still has to drive a coding agent (Nemotron 3.5 Lightning, TB4 0.5%, was fourth inlightbefore this rule). A model with no TB4 record is not judged by it.
Attributes¶
Classes¶
TierEntry
dataclass
¶
One chain step plus the catalog facts that placed it.
Functions:¶
tier_chains
¶
The frontier/balanced/light chains the catalog yields for these profiles.
profiles_available is the profile set to seat entries on (builtins for the
packaged default, the registered profiles for a machine). A tier with no
qualifying entry maps to an empty list; the caller decides what to do with it.
Source code in src/marianne/instruments/tier_classes.py
chains_to_classes
¶
Class name -> chain as plain class-file data; empty tiers are omitted.
Source code in src/marianne/instruments/tier_classes.py
render_classes_block
¶
YAML text of the tier classes (flow-style entries, one per line, with a why comment).
Source code in src/marianne/instruments/tier_classes.py
render_proposal
¶
A classes-file fragment the owner may merge by hand into ~/.marianne/classes.yaml.
Source code in src/marianne/instruments/tier_classes.py
splice_default_yaml
¶
Replace (or append) the generated section of default.yaml; the rest is untouched.