Expand description
Static capability priors for known models (CONTEXT.md §7).
Day-one seed for tiering an unknown pool with no learned data: known models mapped to per-dimension scores and a relative cost/quota class. Unknown models get a conservative default, and the within-pool cascade discovers their real level through evaluator outcomes. This same table is what the phase-two learned router refines from logged trajectories, so the priors degrade gracefully into learned weights.
Structs§
- Model
Prior - Per-dimension capability scores (0–100) plus family and cost class.
Enums§
- Cost
Class - Relative cost/quota rank, not an absolute price.
Cheap<Workhorse<Frontierdefines the cascade order within whatever pool is present.
Functions§
- family_
of - The vendor family for a model id, or
"unknown". - family_
of_ worker - The vendor family for a worker by name, used where model ids aren’t known
(e.g.
doctor, which sees worker names but not their models). - prior_
for - Look up priors for a model id/alias by case-insensitive substring match
(most specific patterns first). Returns [
DEFAULT] for unknown models. - tier_
ladder - The cascade ladder for a worker’s models. The order is taken AS GIVEN — config/discovery already orders models cheapest→strongest (discovery sorts by the platform’s pricing; users list them in tier order; adapters declare them cheap→strong). Priors are no longer used to reorder the ladder — only for family detection — so any model from any platform tiers by real cost or by the user’s intent rather than a hardcoded name table.