Skip to main content

analyze_profile_evidence

Function analyze_profile_evidence 

pub fn analyze_profile_evidence(
    input: &ProfileEvidence,
    authorized: bool,
    seed: [u8; 32],
    current_day: u32,
    horizon: u32,
    limits: ProfileAnalysisLimits,
) -> Result<AnalyzedProfile, ProfileDataError>
Available on crate features std and ua only.
Expand description

Authorization is selected by the caller, independently of serialized scope metadata. The seed must be the persisted sampler seed for that partition.