pub struct ModelBaseline {
pub recipe: Option<String>,
pub label: String,
pub note: String,
pub metrics: BTreeMap<String, Bound>,
pub serve_overrides: BTreeMap<String, String>,
pub param_overrides: BTreeMap<String, String>,
pub serve_env: BTreeMap<String, String>,
}Expand description
2026-09-26: One (hardware, model) pair’s thresholds, and the recipe that serves the model.
Fields§
§recipe: Option<String>2026-09-26: The recipe that serves this model, as <family>/<stem>
(e.g. qwen3.6/qwen3.6-27b-nvfp4-unsloth). None means the gate cannot
start its own server and must be given a live endpoint.
label: String2026-09-26: Display name for this variant in the TUI’s variant list; empty shows the checkpoint id.
note: String2026-09-26: The BENCH.toml entry’s free-text note.
metrics: BTreeMap<String, Bound>§serve_overrides: BTreeMap<String, String>2026-09-26: Recipe keys self-start applies for this gate, as
--serve-override KEY=VALUE strings. Empty, and omitted, means the
recipe serves as written. port is refused at parse; see
bench::BenchEntry.
param_overrides: BTreeMap<String, String>2026-09-26: Benchmark parameter values the gate pins for this entry.
Empty, and omitted, means the schema defaults. Each value is parsed by
its parameter’s ParamKind::parse; an explicit --param wins, and
check_record requires every pin on the record.
serve_env: BTreeMap<String, String>2026-09-26: METRALE_* serve levers the gate pins for this entry,
applied on top of the recipe’s own env: block. Validated by
serve_env::declared at parse and disclosed on the record as
GateRecord::serve_env; check_record does not read them.
Trait Implementations§
Source§impl Clone for ModelBaseline
impl Clone for ModelBaseline
Source§fn clone(&self) -> ModelBaseline
fn clone(&self) -> ModelBaseline
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ModelBaseline
impl Debug for ModelBaseline
Source§impl Default for ModelBaseline
impl Default for ModelBaseline
Source§fn default() -> ModelBaseline
fn default() -> ModelBaseline
Source§impl<'de> Deserialize<'de> for ModelBaseline
impl<'de> Deserialize<'de> for ModelBaseline
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for ModelBaseline
impl RefUnwindSafe for ModelBaseline
impl Send for ModelBaseline
impl Sync for ModelBaseline
impl Unpin for ModelBaseline
impl UnwindSafe for ModelBaseline
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more