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 d7da28a
Browse filesBrowse the repository at this point in the historyBrowse files
fix: close the fail-loud gaps the docs audit found
Three defects surfaced by executing every documented example:
distill_forecast silently ignored unknown option keys (it reads values
via json_extract with no closed key list), so a misspelled option
trained a student with defaults instead of erroring. It now validates
against a closed key list through the shared options parser before
extraction, matching every other operation's contract.
predict() with a distilled student silently ignored a non-NULL
train_query: the caller thinks their conditioning rows matter and they
do not. A student named alongside a train_query is now rejected
(PREDICT_ERR_OPTIONS) with the fix in the message; NULL serves as
before.
backtest's model error message omitted tsb from the accepted list even
though tsb is accepted.
Regression tests for the first two; the interim doc qualifications
("distill_forecast is the one exception", "the query is not read") are
reverted to the strict contract they now describe. 185/220 tests pass
on plain/onnx builds, ASan clean, amalgamation compiles, site builds.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments