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
Merge pull request #618 from Swatantra-66/ci/missing-test-coverage
Nandakishor9b8715f4190e
diff --cc .github/workflows/ci.ymlindex 2fe56ecf,4e36a4fb..2c5d7f8c--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@@ -145,24 -133,10 +145,25 @@@ jobspython tests/test_training.pypython tests/test_example_server_limits.pypython tests/test_blank_lang_routing.py+ python tests/test_export_onnx_safety.pypython tests/test_load_errors.py+ python tests/test_predict_batch.pypython tests/test_revision_pinning.py+ - name: LangChain integration runs on the real base class+ run: |+ # The install above is what makes tests/test_langchain.py run on real Runnables, and+ # nothing proves it took: with langchain-core missing, the eight checks inside that+ # file's `if _RUNNABLE_AVAILABLE:` block vanish instead of failing, and it still+ # prints FAIL: 0 -- measured here: PASS: 87 with the extra, PASS: 80 without, exit 0+ # both ways. This step asserts the install took, then checks what only a real install+ # can check.+ python -c "from laya.integrations.langchain import RunnableSerializable; \+ assert RunnableSerializable is not object, \+ 'langchain-core is missing: laya.integrations.langchain fell back to a plain object, ' \+ 'so the LangChain suites in this job test a shape no install produces'"+ python tests/test_langchain_real_mode.py+- name: Email cleaning testsrun: python tests/test_email.py# Full dependency tree here, so the stub pipeline and the metric pins that need numpy@@@ -317,14 -265,10 +325,14 @@@python tests/test_hooks_api.pyshell: bash+ - name: Question token reuse tests+ run: python tests/test_question_token_reuse.py+ shell: bash+- # Same six pytest suites as the Linux job. They are named explicitly rather than added to+ # Same pytest suites as the Linux job. They are named explicitly rather than added to# the loop above, because the loop runs each file as a script and that is exactly what does# not execute a pytest suite (#374).- - name: Pytest suites (serve, batch, system-one, audit regressions, truncation)+ - name: Pytest suites (serve, batch, system-one, audit regressions, truncation, compile)run: |python -m pytest tests/test_serve.py \tests/test_router_batch.py \diff --cc .github/workflows/release.ymlindex ad56db37,27128776..c5356a86--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@@ -43,20 -42,23 +43,29 @@@ jobspython tests/test_criteria.pypython tests/test_batch.pypython tests/test_predict_long.py+ python tests/test_hooks.py+ python tests/test_hooks_api.pypython tests/test_onnx_lang_parity.py+ python tests/test_onnx_batch.py+ python tests/test_onnx_long.py+ python tests/test_onnx_sort.pypython tests/test_email.pypython tests/test_download.pypython tests/test_shortlist.pypython tests/test_decision_model.py+ python tests/test_head_checkpointing.pypython tests/test_packaging.py+ python tests/test_compose_env.pypython tests/test_doc_tables.py+ python tests/test_env_docs.py+ python tests/test_tokenizer_cache.py+ python tests/test_tokenizer_concurrency.py+ python tests/test_lazy_import.py+ python tests/test_runtime_fixes.pypython tests/test_lang_guess.py+ python tests/test_option_collapse.py+ python tests/test_identifier_complexity.py+ python tests/test_lang_stats.pypython tests/test_calibration_persistence.pypython tests/test_context_manager.pypython tests/test_criteria_normalization.pydiff --cc tests/test_packaging.pyindex f3d31441,45c5cfbf..09b63e38--- a/tests/test_packaging.py+++ b/tests/test_packaging.py@@@ -2,9 -2,9 +2,10 @@@Text parsing, not tomllib: the floor is 3.10 and tomllib arrives in 3.11."""+import astimport osimport re+ import shleximport sysROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))