speccoder-core 0.5.2

Pure domain of speccoder: project snapshots, the task graph, verdict rules and command results. No IO, no async.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! A task's evidence, as rows every interface renders.

use serde::Serialize;

/// One row: `Acceptance  red → green: 1 failing before, 2 passing after`.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, schemars::JsonSchema)]
pub struct Row {
    /// `Acceptance`, `Held-out`, `Strength`, …
    pub label: String,
    /// Its mark, as a task state word: `verified`, `regression_only`,
    /// `attested`, `failed`, `needs_approval`, `ready`, …
    pub mark: String,
    /// What it says.
    pub text: String,
}