WIN-TEST-SELECT: mirror v1.2 addendum (section 7)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-11-24 01:59:36 +00:00
1 parent 15b1d8144d
commit dc002e9968
1 file changed
+8
@@ -37,3 +37,11 @@ Mirror by Claude of AGY's `WIN-TEST-SELECT-v1` (`agy/win-test-select-v1` @ 3db10
- **Process:** Greif let Moldflow choose the flow rate per geometry, so a fixed 0.05 s for all parts would not match. Use **Moldex3D's automatic injection-time setting if available**; otherwise a fixed rule written down before any solve. 270 °C melt / 45 °C mould; V/P recorded; material Celstran PP-GF30-03 (substituted). Name: "Windows test recipe", never "same condition as Greif". Record each part's actual fill time; **normalised arrival time is the primary comparison**.
- Freeze and hash the manifest (BDFs, gate node IDs, strata, backup queue, exclusion log, mesh and process recipes) before any solve or model forward pass; read each Moldex3D output once at evaluation.
- Label: "complex-part test set (≥ 2 of C1–C4), Windows test recipe, cross-solver, material substituted"; report per stratum and overall; do not compare directly with Greif averages.
## 7. Pre-screening assignment, backup and solve/eval binding rules (v1.2 addendum, frozen before screening; Yanqi 2026-11-24: N = 12, 3 per stratum, one condition, test only)
AGY authoritative file: `agy/win-test-select-v1` @ 01c1cc53, `docs/win-test-select-v1-2026-11-23.md` SHA-256 aa7bce7a…; rules module `tools/win_test_select_rules.py` 6889b16c…, tests `tools/test_win_test_select_rules.py` f05a617f… (5/5 CPU tests OK on aws-la). Not yet pushed (host step).
1. Multi-stratum parts: assign to the first stratum in fixed order (4) ≥ 3 criteria → (2) topology → (3) multi-branch → (1) thickness contrast that matches and has an open primary slot (< 3); record matched_strata and assigned_stratum; all matching strata full → `STRATUM_FULL`, skip.
2. Backups: after the 12 primary parts, continue the same queue; next 2 eligible parts per stratum (8 total, same precedence rule on backup slots < 2). A part failing meshing or solving is replaced only by the next unused backup of the same stratum, reason logged. All rejections/skips kept; no threshold changes after screening starts.
3. Gate mapping: the manifest gives the gate as an original node ID; after each solve, record the inlet faces Moldex3D actually assigned, map to original tet IDs; gate elements = tets owning an inlet face (v3.1); check the chosen node lies on those faces.
4. Injection time: first check whether Moldex3D's automatic injection time works on a new part's first run; if not, fixed fallback fill time = a·V^b fitted (log-log OLS) on Greif fold-0 learning parts (LOG fill time vs part volume), frozen with SHA before any solve; needs only geometry at prediction time.
5. Scoring: models receive only the pre-solve recipe time; Moldex3D's actual fill time is never used to decode predictions and is reported separately. Primary: normalised arrival time (each field by its own end) plus last-1 % location.