From ae0f84a8cf2c06f8f42f7540ae9fc17ed3bd30a9 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Wed, 7 Oct 2026 17:19:33 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20neural-parity=20ts=20leg=20=E2=80=94=20sa?= =?UTF-8?q?me=20goldens,=20smoke=20tier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/neural-parity.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/neural-parity.yml b/.github/workflows/neural-parity.yml index 86a95d5..3ae6e7d 100644 --- a/.github/workflows/neural-parity.yml +++ b/.github/workflows/neural-parity.yml @@ -3,7 +3,7 @@ name: neural-parity # Cross-runtime parity on the neural golden corpus (golden-v2+). # Quantized contract: per-row agreement >= 99.5%, corpus >= 99.9%. # Python is the reference (golden generator); ruby and ts run the same -# sets. The ts plane leg lands with the ts plane runtime port. +# sets. on: workflow_dispatch: @@ -68,3 +68,21 @@ jobs: PY env: MODEL: ${{ inputs.model }} + + ts: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + - uses: actions/setup-node@v6 + with: + node-version: "24" + - run: git clone --depth 1 https://github.com/interscript/interscript-ts /tmp/ts + - name: run the golden set + working-directory: /tmp/ts + run: | + npm ci + mkdir -p /tmp/golden && curl -sL "https://github.com/interscript/interscript-models/releases/download/golden-v2/${MODEL}.jsonl" -o /tmp/golden/set.jsonl + curl -sL "https://github.com/interscript/interscript-models/releases/download/${MODEL}/${MODEL}.zip" -o /tmp/model.zip + INTERSCRIPT_PLANE_ZIP=/tmp/model.zip INTERSCRIPT_PLANE_GOLDEN=/tmp/golden/set.jsonl INTERSCRIPT_PARITY_SMOKE=1 npx vitest run test/ml/plane-parity.test.ts + env: + MODEL: ${{ inputs.model }}