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.

ci(go): generate hooks.json and raise the test floor to 1559

Adeshina Lasisib400beb9a2ac
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index f1d3a1dd..9ffe8a24 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -103,7 +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 --only confidence_gate.json
+ --only predict_long.json --only confidence_gate.json --only hooks.json
- name: Regenerate laya-go's own golden from Python
env:
LAYA_FIXTURE_CHECKPOINTS: ${{ github.workspace }}/laya-java/.work/checkpoints
@@ -132,7 +132,7 @@ jobs:
# case fails here, and adding one means raising this number.
- name: No test was skipped
if: ${{ !cancelled() }}
- run: python laya-go/scripts/check_test_json.py "$RUNNER_TEMP/go-test.json" --min-tests 1449
+ run: python laya-go/scripts/check_test_json.py "$RUNNER_TEMP/go-test.json" --min-tests 1559
# go.mod declares go 1.22, so that is what a consumer may build with.
- name: Run the tests on the oldest supported Go
@@ -144,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 either
if: ${{ !cancelled() }}
- run: python laya-go/scripts/check_test_json.py "$RUNNER_TEMP/go-test-oldest.json" --min-tests 1449
+ run: python laya-go/scripts/check_test_json.py "$RUNNER_TEMP/go-test-oldest.json" --min-tests 1559
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
if: ${{ failure() }}