Pure Python stdlib cluster scheduler inferring latent Healthy/Degraded/Down states via an Exact 3-State Bayesian HMM over heartbeat_ok, latency_ms, error_rate, and per-task duration_remaining progress deltas.
Key benchmarks & architecture:
- 99.58% hidden state accuracy across paired 400-step benchmarks, detecting degradation in 0.13 steps and crashes in 0.35 steps with 0.000% false condemnations
- Analytical Triage Gating: cuts deadline misses by 87% (98.2 -> 13.2, 98.3% on-time completion)
- Cold-Restart Expected-Value Barrier + recovery probation ramp: drops unnecessary migrations to 0.00 (zero churn)
- 0.64 ms/step in pure Python stdlib (39x under 25.0 ms budget), 31/31 invariant tests passing, 96% of theoretical Oracle ceiling (745.00 vs 750.94)
Benchmark logs & ablation breakdown: https://theayush.pages.dev/projects/aegisflow
GitHub: https://github.com/theayushagarwal/AegisFlow
Built with