This commit is contained in:
33333-33333 2026-09-29 23:45:12 +09:00
commit f5fc9b76ce
73 changed files with 32628 additions and 376 deletions

34
tests/README.md Normal file
View file

@ -0,0 +1,34 @@
# Regression tests
通常の回帰確認:
```bash
node tests/regression.mjs
```
`regression.mjs` は **production `index.html` を唯一のsource of truthとして直接読み込みます**。恒久的なtest用HTMLコピーはありません。
高速スイートで固定する項目:
- production JavaScript構文
- 19本の現行WGSL kernel SHA-256
- direct / FAST routing と有限continuation budget
- operation-limitが数値failureやmembership証明として扱われないこと
- 12点adaptive initialIter probe
- 12→必要時+12 operation-limit scoring(winner 1本だけbuild)
- exact interior certificate / integer-grid numeric history reuse
- guided/deep GPU-resident referenceのnearby reuse参加
- idle Workerの確実なterminate/revoke
- correction lazy compileが実使用5 pipelineだけであること
- cancelRenderのexport取消・generation更新
- export metadata共通builder
- reference / FAST reference / precision fallback Workerの小規模数値回帰
- 削除済みlegacy/dead subsystem・write-only stateがbundleへ再混入しないこと
実ブラウザ/WebGPU E2Eが必要な場合のみ:
```bash
node tests/browser_smoke.mjs 9333
```
`browser_smoke.mjs` はproduction `index.html`から一時的な診断HTMLを生成し、終了時に削除します。テスト用アプリ本体のコピーは保持しません。