pub struct ReplayResult {Show 14 fields
pub task_id: String,
pub attempt_id: String,
pub status: ReplayStatus,
pub compile_passed: bool,
pub accepted: bool,
pub diagnostic_count: usize,
pub new_errors: usize,
pub resolved_original_error: bool,
pub regression: bool,
pub elapsed_ms: u64,
pub final_goal_state: Option<GoalState>,
pub guards: Option<AcceptReport>,
pub reject_reason: Option<RejectReason>,
pub patch_error: Option<String>,
}Expand description
Result record for one replayed attempt.
Fields§
§task_id: StringTask the attempt answered.
attempt_id: StringAttempt identifier.
status: ReplayStatusCoarse outcome.
compile_passed: boolTrue when the patched file compiled with no errors.
accepted: boolTrue only when the compile passed and every live accept guard passed.
diagnostic_count: usizeNumber of diagnostics from the patched compile.
new_errors: usizePatched errors whose signature was not in the baseline.
resolved_original_error: boolWhether the original problem is gone after the patch.
regression: boolWhether the patch introduced at least one new error.
elapsed_ms: u64Wall-clock time for the whole attempt (copy, patch, compile).
final_goal_state: Option<GoalState>First goal state surfaced by the patched compile, when present.
guards: Option<AcceptReport>Per-guard accept outcomes, present when the compile passed and guards ran.
reject_reason: Option<RejectReason>The accept guard that refused the attempt, when status is rejected.
patch_error: Option<String>Why the patch was refused, when status is patch_refused or
runner_error.
Trait Implementations§
Source§impl Clone for ReplayResult
impl Clone for ReplayResult
Source§fn clone(&self) -> ReplayResult
fn clone(&self) -> ReplayResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more