blackout-detection
Decide from many phones' charging events whether grid power is out, with a Poisson test on simultaneous drops, and when it came back. Use when designing or testing a blackout or power-cut detector from crowd sensors, choosing a baseline rate and thresholds, computing the minimum number of simultaneous unplugs for an alert, defining restore evidence that ignores generators and inverters, or writing property-based tests (fast-check) for such an engine.
- License
- MIT
Pinned to revision 18ab87dd7664, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/blackout-detection/SKILL.md
- skills/blackout-detection/references/algorithm.md
- skills/blackout-detection/scripts/poisson.mjs
- skills/blackout-detection/scripts/test/poisson.test.mjs
Every link opens the file at its source, pinned to the revision this page describes.