You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data(vardiff_sim): design doc + baseline characterization of VardiffState
- VARDIFF_SIMULATION_FRAMEWORK.md: design proposal documenting the
framework's five metrics, assertion policy, simulation mechanism,
and architectural rationale. Co-located with the crate it describes.
- vardiff_baseline.toml: machine-readable baseline measurements of
the classic VardiffState algorithm across the default 50-cell grid
(5 share rates × 10 scenarios, 1000 trials each, base seed
0xDEADBEEFCAFEF00D). Consumed by the regression test in the sim
crate.
- vardiff_baseline.md: human-readable summary of the same data,
organized by metric type for PR review.
Notable findings surfaced by the baseline:
- Convergence: solid across rates (100% at 30+ spm, 95% at 12 spm,
83% at 6 spm). p50 is ~10 minutes everywhere, dominated by the
Phase 1 ×3/min ramp clamp.
- Settled accuracy: follows 1/sqrt(N) cleanly. p99 error is 70% at
6 spm, 27% at 12, 15% at 30, 3% at 60, 0% at 120. Low-rate
operation is statistically threadbare.
- Steady-state jitter: small everywhere and ~0 above 30 spm. The
algorithm's growing delta_time post-convergence narrows the
effective noise band as 1/sqrt(N), producing accidental self-
stabilization at high rates.
- Reaction sensitivity DEGRADES with share rate — counterintuitive
but mechanistic. The same property that produces low jitter at
high rates (growing delta_time after a Phase 1 fire) produces
sluggish response to step changes (post-step shares diluted by
long pre-step history). At 60+ spm only 9-16% of trials react to
a 50% drop within 5 minutes.
This baseline is the reference point for evaluating any future
algorithmic proposal. The regression test in the sim crate asserts
each metric is within tolerance of these recorded values.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments