Skip to content

armgit / laya

Public Imported from GitHub
0

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.

Merge pull request #364 from GaotianJin/zh-short-commands

Nandakishor4e82ca1cb33e
diff --cc .github/workflows/ci.yml
index 61a52966,b3fee5e1..a49c4f4c
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@@ -126,24 -116,12 +129,29 @@@ jobs
- name: Email cleaning tests
run: python tests/test_email.py
+ # Full dependency tree here, so the stub pipeline and the metric pins that need numpy
+ # run instead of skipping. The audit itself runs in `feishu-benchmark`, where nothing
+ # is installed.
+ - name: Chinese short-command benchmark tests
+ run: python -m unittest discover -s research/benchmarks/zh_short_commands/tests -v
+ # These four are pytest suites, and `python tests/<name>.py` does not run them: it defines
+ # the test functions and exits 0, having asserted nothing. They were counted by the suite
+ # list above without ever executing, which is how the HTTP surface came to have no coverage
+ # in CI at all (#374).
+ #
+ # test_onnx.py and test_fast.py are deliberately not here: both are skip-guarded on an extra
+ # this job does not install, so they would pass trivially, and their real execution belongs
+ # in a lane that installs `onnx` or has a GPU.
+ - name: Pytest suites (serve, batch, system-one, audit regressions, truncation)
+ run: |
+ python -m pytest tests/test_serve.py \
+ tests/test_router_batch.py \
+ tests/test_system_one_lang.py \
+ tests/test_audit_regressions.py \
+ tests/test_truncation_direction.py \
+ -q
+
# Every workflow in this repo ran on ubuntu-latest only, so a test that fails off Linux was
# invisible until a user hit it -- which is what happened to tests/test_download.py (#140).
#