pub struct InferenceProof {
pub model_commitment: ModelCommitment,
pub input_hash: Hash256,
pub output_hash: Hash256,
pub proof: Hash256,
pub verification_tag: Hash256,
pub prompt_hash: Option<Hash256>,
pub human_attestation: Option<HumanAttestation>,
pub ai_delta: Option<AiDelta>,
pub daubert_checklist: Option<DaubertChecklist>,
}Expand description
Proof that an inference was correctly executed.
The core fields (model_commitment, input_hash, output_hash, proof,
verification_tag) are always present and backward-compatible with
existing serialized proofs.
The provenance fields (prompt_hash, human_attestation, ai_delta,
daubert_checklist) are Option<T> with serde(default) so that
pre-existing serialized proofs continue to deserialize.
Fields§
§model_commitment: ModelCommitmentThe model commitment.
input_hash: Hash256Hash of the contextual input data (context window / user message).
output_hash: Hash256Hash of the output data.
proof: Hash256The cryptographic proof binding input -> model -> output.
verification_tag: Hash256Auxiliary verification data.
prompt_hash: Option<Hash256>Hash of the system/user prompt (distinct from input_hash).
Separating prompt from context allows courts to assess whether the AI was directed toward a particular outcome.
human_attestation: Option<HumanAttestation>Signed human attestation: did the reviewer adopt, modify, or reject?
ai_delta: Option<AiDelta>Divergence record comparing AI recommendation to final human decision.
daubert_checklist: Option<DaubertChecklist>Daubert admissibility checklist for FRE 702 compliance.
Implementations§
Source§impl InferenceProof
impl InferenceProof
Sourcepub fn daubert_admissibility_status(&self) -> DaubertAdmissibility
pub fn daubert_admissibility_status(&self) -> DaubertAdmissibility
Return the fail-closed Daubert admissibility status for this proof.
Trait Implementations§
Source§impl Clone for InferenceProof
impl Clone for InferenceProof
Source§fn clone(&self) -> InferenceProof
fn clone(&self) -> InferenceProof
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for InferenceProof
impl Debug for InferenceProof
Source§impl<'de> Deserialize<'de> for InferenceProof
impl<'de> Deserialize<'de> for InferenceProof
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>,
impl Eq for InferenceProof
Source§impl PartialEq for InferenceProof
impl PartialEq for InferenceProof
Source§fn eq(&self, other: &InferenceProof) -> bool
fn eq(&self, other: &InferenceProof) -> bool
self and other values to be equal, and is used by ==.