Files
winklemad af8f5952e2 fix(torch): apply quantile flip to autoregressive outputs in force_flip_invariance
The force_flip_invariance path reverses the quantile axis of the flipped
forecast before averaging it against the original. The prefill outputs and the
quantile spreads are flipped, but the autoregressive branch was appended
without the flip. For horizons past the first output patch the flipped quantile
channels ended up misaligned, so the quantile bands in that region were wrong.
The mean and median are flip fixed-points, so the point forecast was unaffected.

The Flax implementation flips flipped_ar_outputs before concatenating; this
brings the PyTorch path in line. Adds a regression test asserting the
flip-invariance identity holds across the full horizon.
2026-07-09 20:48:07 +05:30
..