Skip to main content

Module conformal_predictor

Module conformal_predictor 

Source
Expand description

Conformal predictor for frame-time risk (bd-3e1t.3.2).

This module provides a distribution-free upper bound on frame time using Mondrian (bucketed) conformal prediction. It is intentionally lightweight and explainable: each prediction returns the bucket key, quantile, and fallback level used to produce the bound.

See docs/spec/state-machines.md section 3.13 for the governing spec.

Structs§

BucketKey
Bucket identifier for conformal calibration.
ConformalConfig
Configuration for conformal frame-time prediction.
ConformalPrediction
Prediction output with full explainability.
ConformalPredictor
Conformal predictor with bucketed calibration.
ConformalUpdate
Update metadata after observing a frame.

Enums§

DiffBucket
Diff strategy bucket for conformal calibration.
ModeBucket
Mode bucket for conformal calibration.