Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.
Python calibrationclassificationdecision-modelhuggingfacejevmodernbertmultilingualnlppythonpytorchroutingtyped-decisionszero-shot
test(cli): make the drift pin actually fail on a new control
Aashish9be51983a8b5
diff --git a/tests/test_cli.py b/tests/test_cli.pyindex 44d5c5c0..c4404784 100644--- a/tests/test_cli.py+++ b/tests/test_cli.py@@ -688,8 +688,11 @@ check("drift: every control the parser names a flag for arrives in the call",# `lang_guess` is the weaker form of a flag the CLI already has, and both are call-level, so# `--lang` dominates it for a command line; `hooks_raise` / `hooks_timeout` govern hooks, and# `make_router` installs none, so there is nothing in this process for them to change.-check("drift: the controls with no flag are exactly the accepted three",- sorted(PREDICT_CONTROLS - NAMED), ["hooks_raise", "hooks_timeout", "lang_guess"])+check("drift: the controls with no flag are exactly the accepted six",+ sorted(PREDICT_CONTROLS - NAMED)+ == ["hooks", "hooks_raise", "hooks_timeout", "lang_guess",+ "on_predict_end", "on_predict_start"],+ sorted(PREDICT_CONTROLS - NAMED))# --------------------------------------------------------------------- reportprint("\n%d passed, %d failed" % (len(PASS), len(FAIL)))