pub struct TaskVerificationV0 {Show 28 fields
pub revision: Option<u32>,
pub verdict: String,
pub unit: Unit,
pub task: TaskRef,
pub tree: String,
pub spec: Option<SpecRef>,
pub trace: Option<Value>,
pub integrity: Option<Value>,
pub monitor: Option<Value>,
pub mutation: Option<Value>,
pub sandbox: Option<Value>,
pub executor: Option<Value>,
pub model: Option<Value>,
pub run: Option<Value>,
pub decisions: Option<Value>,
pub strength: Option<Value>,
pub instructions: Option<Value>,
pub decider: Option<Decider>,
pub policy_sha256: String,
pub time: String,
pub red: Option<Red>,
pub bug: Option<Value>,
pub acceptance: Option<Value>,
pub regression: Option<RegressionReason>,
pub collection: Option<Collection>,
pub context: Option<Value>,
pub dependencies: Option<Value>,
pub extra: BTreeMap<String, Value>,
}Expand description
The task-verification predicate, v0.
Fields null in a tick may be absent in a decision (attested,
skipped), which carries decider instead of the test evidence.
Fields§
§revision: Option<u32>Additive revision within v0; absent: 1.
verdict: Stringverified, regression_only, attested or skipped.
unit: UnitThe unit.
task: TaskRefThe task.
tree: StringThe task commit’s tree.
spec: Option<SpecRef>The requirement and its text’s hash (ticks).
trace: Option<Value>Requirement → scenario → test rows, each with its phase and result.
integrity: Option<Value>The diff audit’s findings ({ findings: [] }).
monitor: Option<Value>The gaming monitor: { state: clean|suspected|unreviewed|off, findings }.
mutation: Option<Value>Mutation testing: { caught, missed, … }, or null.
sandbox: Option<Value>Where the attempt ran: { mode, backend, network }.
executor: Option<Value>Who implemented: { kind, agent? }.
model: Option<Value>The judging model: { provider, model }, or null.
run: Option<Value>The agentplane run, or null.
decisions: Option<Value>People’s decisions on the attempt’s calls.
strength: Option<Value>The acceptance set’s strength (shares, near misses, permitted
alternatives), or null.
instructions: Option<Value>Repository instruction files given to the attempt.
decider: Option<Decider>The decision’s maker (attested, skipped).
policy_sha256: Stringsha256 of the judge’s configuration at the parent commit.
time: StringWhen it was recorded (RFC 3339, UTC).
red: Option<Red>The red run’s output excerpt (revision 2).
bug: Option<Value>A bug task’s evidence: where the bug lives, its triad’s digest, the outcome, the reproductions’ discrimination, special-case rejections and the pass-to-pass set. Opaque to the verifier.
acceptance: Option<Value>Where the acceptance tests were decided —
{ source: authored|review|bug_confirmation|person_test, pre_frozen }.
Opaque here.
regression: Option<RegressionReason>Why a regression_only tick is one (revision 3); absent on other
verdicts and in earlier revisions (read as unrecorded).
collection: Option<Collection>The test files the attempt added or changed and whether the run collected each (revision 3).
context: Option<Value>Reserved: what reached the model, by digest. Opaque here.
dependencies: Option<Value>Reserved: dependencies the change added, with their registry checksums. Opaque here.
extra: BTreeMap<String, Value>Fields this build does not know (a newer revision): kept, so the signed bytes survive a round-trip, and never read for an outcome.
Implementations§
Source§impl TaskVerificationV0
impl TaskVerificationV0
Sourcepub fn newer_fields(&self) -> Vec<String>
pub fn newer_fields(&self) -> Vec<String>
What this build does not know of the statement: the names of
unknown fields, and revision N when it is newer than REVISION.
Sourcepub fn reserved_present(&self) -> Vec<&'static str>
pub fn reserved_present(&self) -> Vec<&'static str>
The reserved fields present (opaque here): their names.
Trait Implementations§
Source§impl Clone for TaskVerificationV0
impl Clone for TaskVerificationV0
Source§impl Debug for TaskVerificationV0
impl Debug for TaskVerificationV0
Source§impl<'de> Deserialize<'de> for TaskVerificationV0
impl<'de> Deserialize<'de> for TaskVerificationV0
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 TaskVerificationV0
impl JsonSchema for TaskVerificationV0
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