Skip to main content

MIN_OBSERVATIONS_FOR_SCORING

Constant MIN_OBSERVATIONS_FOR_SCORING 

Source
pub const MIN_OBSERVATIONS_FOR_SCORING: u32 = 3;
Expand description

Minimum number of attempts required for a PowCapabilityProfile to be scored instead of returning the sparse-telemetry fallback.

Three attempts is a conservative floor: one solved/failed pair is too noisy (a single transient block can flip the success rate from 100% to 50%), but the runner will rarely wait for a high-confidence sample if the target is actively challenging it. Callers that want a higher floor can use PowCapabilityScorer::with_min_observations.