pub struct OutputRow {
pub key: String,
pub cell: Option<String>,
pub server_value: Option<CellValue>,
pub oracle_value: Option<CellValue>,
pub abs_delta: f64,
pub within_tol: bool,
}Expand description
One reconciled output cell: the per-key diff of the engine’s recomputed value against the authored oracle.
cell is the D-01 sheet-qualified A1 address (e.g. "3_Outputs!B3") of the
source cell, filled from the matching crate::artifact_model::CellEntry
seed_coord. It is None (D-02) ONLY when an oracle key has no matching
outputs entry (a malformed bundle) — the row still reports its deltas.
Derive note: Eq is dropped because abs_delta is an f64 (the
crate::artifact_model::Tool precedent).
Fields§
§key: StringThe output’s LLM-facing json key.
cell: Option<String>The D-01 sheet-qualified A1 source address; None (D-02) only when an
oracle key has no matching output entry.
server_value: Option<CellValue>The engine’s recomputed value at the reference inputs.
oracle_value: Option<CellValue>The authored oracle value (Excel’s cached <v>).
abs_delta: f64The absolute delta: |server − oracle| for numbers; 0.0 (equal) or 1.0
(not equal / type mismatch / Empty / Error) for the discrete types —
DETERMINISTIC, never NaN/unspecified.
within_tol: booltrue iff this output reconciles within TOL.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OutputRow
impl<'de> Deserialize<'de> for OutputRow
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>,
Source§impl JsonSchema for OutputRow
impl JsonSchema for OutputRow
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more