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
ci(go): generate predict_long goldens and raise the test floor to 1409
Adeshina Lasisi4990a977d800
diff --git a/.github/workflows/go.yml b/.github/workflows/go.ymlindex 0be0ace1..4f6b3084 100644--- a/.github/workflows/go.yml+++ b/.github/workflows/go.yml@@ -103,6 +103,7 @@ jobs:--only lang_tables.json --only lang_detect.json --only python_json.json--only tokenizer_ids.json --only decode_text.json--only sequences.json --only decode.json --only window_plan.json+ --only predict_long.json- name: Regenerate laya-go's own golden from Pythonenv:LAYA_FIXTURE_CHECKPOINTS: ${{ github.workspace }}/laya-java/.work/checkpoints@@ -127,11 +128,11 @@ jobs:LAYA_GO_FIXTURES: ${{ github.workspace }}/.go-goldensLAYA_CHECKPOINTS: ${{ github.workspace }}/laya-java/.work/checkpointsrun: go test -race -count=1 -json ./... > "$RUNNER_TEMP/go-test.json"- # Exactly the measured count (1329 tests and subtests, on both Go versions): dropping a+ # Exactly the measured count (1409 tests and subtests, on both Go versions): dropping a# case fails here, and adding one means raising this number.- name: No test was skippedif: ${{ !cancelled() }}- run: python laya-go/scripts/check_test_json.py "$RUNNER_TEMP/go-test.json" --min-tests 1329+ run: python laya-go/scripts/check_test_json.py "$RUNNER_TEMP/go-test.json" --min-tests 1409# go.mod declares go 1.22, so that is what a consumer may build with.- name: Run the tests on the oldest supported Go@@ -143,7 +144,7 @@ jobs:run: go test -count=1 -json ./... > "$RUNNER_TEMP/go-test-oldest.json"- name: No test was skipped on the oldest Go eitherif: ${{ !cancelled() }}- run: python laya-go/scripts/check_test_json.py "$RUNNER_TEMP/go-test-oldest.json" --min-tests 1329+ run: python laya-go/scripts/check_test_json.py "$RUNNER_TEMP/go-test-oldest.json" --min-tests 1409- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2if: ${{ failure() }}