mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-26 19:56:48 -06:00
forecast_grid re-added every squared residual in each window, O(n×window). Keep a running sum instead: add the entering term, subtract the leaving one, and restart at a point without a forecast so windows touching it stay #N/A. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>