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
fix(evals): repair the two numeric citations this change invalidated
Aashish5f11131a3637
diff --git a/laya/evals.py b/laya/evals.pyindex f176f943..77e91c09 100644--- a/laya/evals.py+++ b/laya/evals.py@@ -207,7 +207,7 @@ class Dataset:# `Example(...)` skipped all three, and every reader of it takes the two fields as mappings: a# non-object `expected` died as an unhandled ``AttributeError``, in `evaluate` only after the# runner had answered (`laya/evals.py:1205`), and a non-object `questions` leaked through- # `questions_fingerprint` (`laya/evals.py:285`). An `expected` key with no question behind it+ # `questions_fingerprint` (`laya/evals.py::questions_fingerprint`). An `expected` key with no question behind it# was answered with "runner returned no answer for question 'x'" -- a verdict about the runner,# paid for with a whole inference run, for a mistake in the caller's row. The two opt-in doors# refused the same rows before calling anything, but as tracebacksdiff --git a/tests/test_evals.py b/tests/test_evals.pyindex b29734be..5af741da 100644--- a/tests/test_evals.py+++ b/tests/test_evals.py@@ -843,7 +843,7 @@ def test_dataset_names_an_unreadable_file_as_an_evalerror(tmp_path, monkeypatch)# checks were made: `questions` and `expected` must be objects, and every `expected` key must name a# question that is actually there. Every reader takes the two fields as mappings, so a row that# skipped the checks reached `evaluate`'s scoring loop (`laya/evals.py:1205`), `questions_fingerprint`-# (`laya/evals.py:285`) or an opt-in door's `_validate_dataset` as an unhandled ``AttributeError`` --+# (`laya/evals.py::questions_fingerprint`) or an opt-in door's `_validate_dataset` as an unhandled ``AttributeError`` --# or got as far as the runner and came back as a verdict *about the runner*. `Dataset` is the one door# all four readers share, so the refusal names the row and lands before a call is paid for.@pytest.mark.parametrize("field, value, fragment", [