pub enum EvalError {
Show 13 variants
Dataset(String),
UnsupportedVersion {
found: u64,
supported: u64,
},
Feedback(String),
UnsupportedFeedbackVersion {
found: u64,
supported: u64,
},
Gate(String),
UnsupportedGateVersion {
artifact: &'static str,
found: u64,
supported: u64,
},
AgentBuild(String),
Judge(String),
Statistics(String),
Clustering(String),
Runtime(RustyError),
Io(Error),
Serialization(Error),
}Expand description
The single error type for the whole crate.
Variants§
Dataset(String)
Malformed dataset content: bad JSONL, missing header, duplicate case ids, expectations that cannot convert into assertions. The message carries the line number when the failure is line-local.
UnsupportedVersion
The dataset’s declared format_version is newer (or older) than this
build supports. Loading refuses to guess across versions.
Feedback(String)
Malformed or invalid human-feedback queue state.
UnsupportedFeedbackVersion
The feedback queue format is not supported by this build.
Gate(String)
Malformed release-gate policy or decision evidence.
UnsupportedGateVersion
A gate policy or decision uses an unsupported format version.
Fields
AgentBuild(String)
The agent factory failed to build a graph for a case, or the initial state derived from the case input is not a JSON object.
Judge(String)
A judge failed to produce a verdict. Judge failures abort the experiment rather than fabricating a score: a missing verdict is infrastructure failure, not evidence about the agent.
Statistics(String)
Invalid configuration or incomparable evidence for a statistical test.
Clustering(String)
Invalid source evidence or a forged failure-cluster artifact.
Runtime(RustyError)
A run-level failure from the core runtime that escaped the evidence path (factory-side graph compilation, journal setup).
Io(Error)
Filesystem failures loading or saving datasets and reports.
Serialization(Error)
JSON (de)serialization failures outside dataset parsing (report persistence).
Trait Implementations§
Source§impl Error for EvalError
impl Error for EvalError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()