You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9e576df
Browse filesBrowse the repository at this point in the historyBrowse files
feat: auto is the forecast default when no model is named
A bare forecast(ts, value, h) now means "the best model available in
this database": rolling-origin selection over the bundled statistical
models plus every eligible registered forecast student, per series,
deterministically. Combined with implicit student discovery, the whole
distillation loop needs zero options: distill once, and every plain
forecast call everywhere starts considering your student.
Measured cost of the richer default: ~0.1 ms at 96 points, ~3 ms at
480, ~60 ms at the 4096-point context cap (vs ~2 ms pinned); the
escape hatches are pinning a model or lowering context_limit, both
documented. detect_anomalies keeps theta-classic (no auto selection
exists for scoring) and backtest keeps theta-classic (it evaluates a
named model); predict keeps knn5-incontext. The RFC's reserved
default-ts alias machinery is replaced by these concrete defaults.
Consequence made coherent: bare `candidates` now narrows the default
pool instead of erroring with "requires model=auto"; candidates plus a
pinned model remains a contradiction and still errors.
Fixed a latent bug this exposed: when an aggregate step raised (bad
horizon, query-string misuse), xFinal still ran the full pipeline with
unvalidated arguments, and the auto path's horizon-sized scratch then
hit malloc(0) and surfaced as a spurious MemoryError. Steps now set an
errored flag and the finals short-circuit; every step-phase error path
sets it.
Tests: default==auto byte-equality, bare-candidates narrowing plus the
pinned-model contradiction, and the updated default-model assertions.
183 pass on the plain build, 218 on onnx, ASan clean. Docs, README,
options reference, auto guide, RFC, and CHANGELOG updated.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments