pub struct IrGauge {
pub name: String,
pub site: Option<String>,
pub judge_kind: String,
pub judge_target: String,
pub judge_args: Vec<String>,
pub expect: Option<IrGaugeBar>,
pub inputs: Vec<String>,
pub span: SourceSpan,
}Expand description
A lowered gauge declaration (experimentation subsystem): the binding of
a judge to a quality dimension, versioning with the program. Lowering
class is metadata_only; the evidence engine (whip evidence /
whip improve) consumes it at runtime.
Fields§
§name: String§site: Option<String>§judge_kind: Stringcoerce | prompt | exec | labels.
judge_target: StringThe judge target: coerce name, prompt template, exec command, or labels source path.
judge_args: Vec<String>Coerce judges only: the explicit record paths feeding the coerce
function’s parameters, in declaration order (input.…,
facts.<Class>.<field>, or the single reserved record). Empty =
declared without arguments (parses, but is not scoreable).
expect: Option<IrGaugeBar>§inputs: Vec<String>§span: SourceSpanTrait Implementations§
impl Eq for IrGauge
impl StructuralPartialEq for IrGauge
Auto Trait Implementations§
impl Freeze for IrGauge
impl RefUnwindSafe for IrGauge
impl Send for IrGauge
impl Sync for IrGauge
impl Unpin for IrGauge
impl UnsafeUnpin for IrGauge
impl UnwindSafe for IrGauge
Blanket Implementations§
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
Mutably borrows from an owned value. Read more