This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """Find fastest 10->98 km/h acceleration times. Two-phase approach: | |
| Phase 1: Coarse scan (10m windows) to find when speed >= 98 km/h | |
| Phase 2: 15m-resolution scan (3h window) — backwards from 98+ to find last <=10 km/h | |
| """ | |
| import subprocess, json, datetime, os, sys | |
| from concurrent.futures import ThreadPoolExecutor, as_completed | |
| from datetime import date, timedelta | |
| INFLUX = "http://localhost:8086" |