8.6 KiB
8.6 KiB
New Windows Complex-Geometry Test Set — Selection Rule (WIN-TEST-SELECT-v1)
- Date: 2026-11-23
- Authors: AGY (draft v0/v1), Claude (review & rulings), source check on Gre24 §2 / Zenodo v5
- Stage boundary: Test-only. No part in this set ever enters training, standardization, clock fitting, or hyperparameter tuning. Nothing runs until Yanqi confirms
N(10–20) and the frozen manifest SHA-256 is recorded.
1. Source Pool, Feasibility Gate & Shared Mesh Recipe
- Source pool: Public ABC CAD dataset starting from declared chunk slice
0000–0009, canonically sorted by 8-digit ABC ID and hashed (SHA-256) before sampling. Strictly exclude all 624 Greif v5, 629 Greif v4, and 196 Zenodo17831586parts (matched by ABC ID and 24-char family prefix).- If too few candidates pass the frozen gates, extend strictly by the declared next chunk slices (
0010–0019,0020–0029, …); never loosen any threshold after inspecting candidates.
- If too few candidates pass the frozen gates, extend strictly by the declared next chunk slices (
- Hard geometry/mesh feasibility gate (logged with explicit reason codes
DISCONNECTED,NON_MANIFOLD,OUT_OF_SCALE,TOO_THIN,MESH_FAIL; never silently dropped):- Single connected watertight manifold solid (
connected_components == 1, positive volume). - Physical scale within Greif's moldable envelope: bounding-box max
20–250 mm, volume1–300 cm³, median interior wall thickness2·P50(Dw_int) ∈ [0.8, 6.0] mm, minimum thickness>= 0.5 mm.
- Single connected watertight manifold solid (
- Single shared BDF mesh: Generate the tetrahedral mesh once with a fixed Greif-like-density recipe (
5,000 <= N_nodes <= 120,000, all positive tet volumes) and export as BDF. Moldex3D imports that exact BDF (as in Run 02) so models and Moldex3D share one mesh and the v3.1 element→original-ID mapping applies unchanged. Record the meshing recipe and every BDF SHA-256 in the frozen manifest.
2. Gate-Placement Rule (Source-Verified)
- Reference check: Greif et al. (§2, OPUS 113920) and the Zenodo v5 data card (
18598121) document a single uniformly random exterior surface node on the Gmsh surface mesh, with no published seed, sampling weights, or thickness filter. - Adopted rule (same rule, not a value-wise replica):
- Collect all exterior surface nodes of the shared tet mesh (no thickness restriction, matching Greif's documented distribution), sort them canonically by original node ID (lexicographic
(x, y, z)tie-break), and draw 1 node uniformly withPCG64(SeedSequence([2026112301, abc_id])). - Label in manifest:
"uniformly random exterior surface node (fixed seed, no thickness filter); same rule as Greif et al. §2 / v5 data card, not a value-wise replica".
- Collect all exterior surface nodes of the shared tet mesh (no thickness restriction, matching Greif's documented distribution), sort them canonically by original node ID (lexicographic
3. Measurable Geometry-Only Complexity Criteria (Zero Labels)
Computed strictly on the shared tet mesh + assigned gate using gre24_features_v2 Dw, Di, Df only. Quantile anchors are computed from Greif fold-0 learning only (never test) and frozen before scoring any candidate:
- C1 (Thickness contrast — ribs/steps/bosses):
R_th = P90(Dw_int) / P10(Dw_int) >= max(2.5, P75_Greif_learn(R_th))on interior nodes / tet centroids. - C2 (Path tortuosity — bends/baffles/folded shells):
τ_path = max(Di) / ||x(argmax Di) - x_gate||_2 >= max(1.35, P75_Greif_learn(τ_path)). - C3 (Multi-branch / multi-tip structure):
N_branch >= 2distinct local maxima ofDiseparated by geodesic distance>= 0.25 · max(Di)(or>= 2superlevel components ofDiat0.75 · max(Di)). - C4 (Topology or flow-vs-geometry divergence): surface Euler genus
g >= 1(through-hole/loop) or1 - Spearman(Di, Df) >= P75_Greif_learn. - Eligibility: candidate must satisfy at least 2 of C1–C4.
4. Geometry-Only Near-Duplicate Exclusion
Checked against all Greif v5 (624) + v4 (629) + Zenodo 17831586 (196) parts and against already-selected Windows test parts (enforcing distinct families):
- Stage 1 (fast rigid + scale-invariant screen): volume-weighted inertia ratios
(λ₂/λ₁, λ₃/λ₁), fill ratioV / V_OBB, isoperimetric ratioA³ / V², genusg, and 20-bin Osada D2 pairwise-distance histogram on4,096deterministically sampled surface points (normalized toRg = 1). Any pair withL1(D2) < 0.12, inertia-ratioL∞ < 0.10, and equal genus enters Stage 2. - Stage 2 (aligned geometric overlap): align normalized (
Rg = 1) 4,096-point clouds across all 24 PCA axis/sign symmetries + bounded ICP; compute symmetric Chamferd_CDand 95th-percentile Hausdorffd_H95. - Hard rejection: reject if
d_CD < 0.05 Rgord_H95 < 0.12 Rg(log borderline0.05 <= d_CD < 0.08 Rgfor geometry-only inspection); also reject any shared Onshape/ABC document family ID.
5. Anti-Cherry-Picking Draw Protocol (N = 10–20 Parts)
- Fixed seed & strict queue order: permute the hashed ABC pool once with
PCG64(SeedSequence(2026112301)). Walk strictly in order with zero backtracking or manual swaps. - Balanced stratification (4 equal quotas, e.g., 4×4 for
N = 16, 3×4 forN = 12, 5×4 forN = 20):- High thickness contrast (
C1,g = 0) - Topological loops/holes (
g >= 1+C2orC4) - Multi-branch / high tortuosity (
C2+C3) - Combined high complexity (
>= 3ofC1–C4)
- High thickness contrast (
- Extra matches for a full stratum are logged (
STRATUM_FULL) and skipped. Pre-draw a deterministic 5-part backup queue in strict order solely to replace any part that fails Moldex3D convergence (SOLVER_FAIL, logged).
6. Windows Test Recipe, Host & Reporting Rules
- Screening host: Horsea (public ABC download); Windows runs Moldex3D only on the frozen BDF manifest.
- Process recipe ("Windows test recipe", not "same condition"): Single condition at
270 °Cmelt,45 °Cmold, V/P setting recorded explicitly, substituted materialCelstran PP-GF30-03, unless Yanqi requests a second condition.- Flow / injection-time rule: Greif et al. (§2) lets Moldflow auto-select flow rate from the geometry, so a single fixed
0.05 sfor every part would not match. Use Moldex3D's automatic injection-time setting if available; otherwise use a single fixed rule written down in the manifest before solving. Record each part's actual fill time.
- Flow / injection-time rule: Greif et al. (§2) lets Moldflow auto-select flow rate from the geometry, so a single fixed
- Freeze & single-read evaluation: Hash the final manifest (
NBDF meshes, gate coordinates/node IDs, stratum tags, backup queue, exclusion log, meshing & Windows test recipes) before any Moldex3D solve or model forward pass. Read each Moldex3D output once at evaluation; normalised arrival time is the primary comparison. - Mandatory reporting label:
"complex-part test set (≥ 2 of C1–C4), Windows test recipe, cross-solver, material substituted". Report per-stratum and overall results; do not compare averages directly against Greif averages because this test set is harder by construction.
7. Pre-Screening Assignment, Backup & Solve/Eval Binding Rules (Frozen Before Screening)
- Multi-stratum assignment: Assign each eligible part to the first stratum, in the fixed precedence order (4) ≥ 3 criteria → (2) topology → (3) multi-branch → (1) thickness contrast, that both matches and still has an open primary slot (
< 3). Record bothmatched_strataandassigned_stratum. If all matching strata are full, logSTRATUM_FULLand skip. - Per-stratum backups (8 total): After the 12 primary parts (
3 × 4strata), continue walking the exact same shuffled queue and record the next 2 eligible parts per stratum (same4 → 2 → 3 → 1first-open-slot rule on backup slots< 2). A part that fails meshing or Moldex3D solving is replaced only by the next unused backup of the same stratum, with the failure reason logged. Retain all screening rejections and skips; never change thresholds after screening starts. - Gate-to-inlet-face mapping (778 lesson): The manifest freezes the gate as an original node ID. After each solve, MeltWin records the inlet faces Moldex3D actually assigned and maps them to original tet IDs. Gate elements are only the tets owning an inlet face (as in v3.1), and verification confirms the chosen gate node lies on those inlet faces.
- Injection time fallback: MeltWin first checks whether Moldex3D's automatic injection time works on a new part's first run. If not, use a pre-fixed power law
fill_time = a · V^bfitted on Greif fold-0 learning parts (LOG fill time vs part volume), frozen with its SHA-256 before any solve. - Blind recipe time vs actual fill time at scoring: Models receive only the pre-solve recipe time. Moldex3D's actual solved fill time is never used to decode predictions and is reported separately. Primary comparison: normalised arrival time (each field divided by its own end), plus last-1 % location.