pub struct ReplayVerification {
pub run_count: u32,
pub casefile_json_sha256_run1: String,
pub casefile_json_sha256_run2: String,
pub episodes_jsonl_sha256_run1: String,
pub episodes_jsonl_sha256_run2: String,
pub final_case_file_hash_run1_hex: String,
pub final_case_file_hash_run2_hex: String,
pub episode_count_run1: u32,
pub episode_count_run2: u32,
pub toolchain: BTreeMap<String, String>,
}Expand description
Replay-verification metadata.
WHY: The audit’s load-bearing replay claim is “two consecutive dispatches on the same input bytes produce byte-identical CaseFile + episodes + report”. This struct carries the per-run SHA-256 of each load-bearing artifact so the audit_report.html can publish a side-by- side comparison.
Fields§
§run_count: u32§casefile_json_sha256_run1: StringLowercase hex SHA-256 of the canonical casefile.json bytes from
run 1 and run 2 (or "unmeasured" if only one run was performed).
casefile_json_sha256_run2: String§episodes_jsonl_sha256_run1: StringLowercase hex SHA-256 of the episodes.jsonl bytes.
episodes_jsonl_sha256_run2: String§final_case_file_hash_run1_hex: StringHex of the CaseFile::final_case_file_hash field from each run.
final_case_file_hash_run2_hex: String§episode_count_run1: u32Episode count from each run (must agree for the audit to admit).
episode_count_run2: u32§toolchain: BTreeMap<String, String>Toolchain identity (compiler version, CUDA driver, hardware). Sorted BTreeMap so the rendered output is deterministic.
Implementations§
Trait Implementations§
Source§impl Clone for ReplayVerification
impl Clone for ReplayVerification
Source§fn clone(&self) -> ReplayVerification
fn clone(&self) -> ReplayVerification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReplayVerification
impl Debug for ReplayVerification
Source§impl PartialEq for ReplayVerification
impl PartialEq for ReplayVerification
Source§fn eq(&self, other: &ReplayVerification) -> bool
fn eq(&self, other: &ReplayVerification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ReplayVerification
impl StructuralPartialEq for ReplayVerification
Auto Trait Implementations§
impl Freeze for ReplayVerification
impl RefUnwindSafe for ReplayVerification
impl Send for ReplayVerification
impl Sync for ReplayVerification
impl Unpin for ReplayVerification
impl UnsafeUnpin for ReplayVerification
impl UnwindSafe for ReplayVerification
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more