How aymaw/conformal-watch works
Conformal Watch is a reproducible synthetic-data experiment for split-conformal classification and label-free drift diagnostics. Its CLI workflow generates training data and fits a classifier, calibrates a finite-sample cutoff, evaluates prediction sets on IID and shifted slices, and assesses a fixed stream horizon with permutation MMD alarms. It also measures repeated calibration coverage and produces an offline interactive report and SVG preview. The graph reflects the README’s described stages and the sampled experiment’s calls; unsampled tests and committed results are not runtime components.
Main entry points: experiment.py Experiment CLI · visual.py HTML report · core.py Synthetic data
Components 14
Synthetic modeling
- Synthetic data
src/conformalwatch/core.py - Softmax classifier
src/conformalwatch/core.py
Conformal inference
- Calibration cutoff
src/conformalwatch/core.py - Prediction sets
src/conformalwatch/core.py - Coverage metrics
src/conformalwatch/core.py - Repeated coverage
src/conformalwatch/experiment.py - Feature-grid predictions
src/conformalwatch/experiment.py
Shift monitoring
- Permutation MMD
src/conformalwatch/core.py - Fixed-horizon alarms
src/conformalwatch/experiment.py
Experiment reporting
- Experiment CLI
src/conformalwatch/experiment.py - HTML report
src/conformalwatch/visual.py - Run artifacts
src/conformalwatch/visual.py - Scatter preview
src/conformalwatch/visual.py
Other components
- Experiment runner
Connections 13
- Experiment runner → Experiment CLI: runs
README.md - Experiment CLI → Synthetic data: generates
src/conformalwatch/experiment.py - Experiment CLI → Softmax classifier: fits and predicts
src/conformalwatch/experiment.py - Experiment CLI → Calibration cutoff: computes cutoff
src/conformalwatch/experiment.py - Experiment CLI → Prediction sets: forms sets
src/conformalwatch/experiment.py - Experiment CLI → Coverage metrics: evaluates
src/conformalwatch/experiment.py - Experiment CLI → Permutation MMD: tests windows
src/conformalwatch/experiment.py - Experiment CLI → Fixed-horizon alarms: sets alarms
src/conformalwatch/experiment.py - Experiment CLI → Repeated coverage: measures coverage
src/conformalwatch/experiment.py - Experiment CLI → Feature-grid predictions: predicts grid
src/conformalwatch/experiment.py - Experiment CLI → HTML report: renders report
src/conformalwatch/experiment.py - HTML report → Run artifacts: writes JSON and HTML
src/conformalwatch/visual.py - Experiment CLI → Scatter preview: renders SVG
src/conformalwatch/experiment.py