Ag108/MoonReduce/predicate/stability does not have a README file

    Decision

    pub(all) enum Decision {
    Interesting
    Uninteresting
    Unresolved
    } derive(Eq,
    Debug
    ,
    ToJson
    )

    Decision::equal

    fn Decision::equal(Decision, Decision) -> Bool

    Decision::not_equal

    fn Decision::not_equal(x : Decision, y : Decision) -> Bool

    Decision::to_json

    Decision::to_repr

    Policy

    pub struct Policy {
    repeat : Int
    quorum : Int
    consecutive : Bool
    }

    Validated fixed-size evidence policy; None means an unresolved execution.

    Policy::decide

    fn Policy::decide(self : Policy, observations : Array[Bool?]) -> Decision

    Decide only complete batches. Unknown outcomes pass only when success is already certain, fail only when success is impossible, otherwise unresolved.

    Policy::new

    fn Policy::new(repeat : Int, quorum : Int, consecutive? : Bool) -> Result[Policy, String]

    Bound evaluation cost and reject impossible quorum settings.

    Statistics

    pub(all) struct Statistics {
    attempts : Int
    resolved : Int
    passed : Int
    rate : Double
    lower : Double
    upper : Double
    } derive(
    Debug
    ,
    ToJson
    )

    summarize

    fn summarize(observations : Array[Bool?]) -> Statistics

    Observed success rate and two-sided 95% Wilson interval among resolved runs. Unresolved counts remain explicit; an empty sample has interval [0, 1].

    Source Files