Validation Deficiencies — scpn-control¶
This document records physics and model-data alignment deficiencies revealed by tightened validation thresholds in v0.15.0. These thresholds were tightened to meet publication standards (e.g., JOSS, Nuclear Fusion).
1. Equilibrium Self-Consistency (Lane 1)¶
Threshold: psi_nrmse < 2.5% (Tightened from 5.0%)
Current result: 12/13 pass (92%) — PASS
Remaining outlier: sparc_1300.eqdsk remains outside the tightened
threshold because it is a low-current start-up equilibrium with anomalous
q-profile normalisation.
Former result: 7/13 pass (54%) — FAIL
Identified Deficiencies¶
- DIII-D High-Beta and Shaped Shots:
diiid_hmode_1p5MA.geqdsk(6.98%)diiid_hmode_2MA.geqdsk(6.81%)diiid_negdelta.geqdsk(8.82%)- Root Cause: The validation proxy for NRMSE computes the \(\Delta^* \psi\) operator without subtracting the plasma source term (\(R p' + FF'/\mu_0 R\)). In highly shaped or high-beta DIII-D shots, the neglected source term leads to a large residual, which the proxy misinterprets as non-consistency.
-
Impact: Tightened thresholds reveal that the current validation script is inadequate for highly active plasma regions.
-
SPARC Start-up Phase (
sparc_1300.eqdsk): - NRMSE: 7.84%
- q95: -36.67 (Anomalous)
- Root Cause: This equilibrium represents a start-up or transition phase where the magnetic axis is poorly defined or the plasma current is extremely low. The \(q\)-profile in the reference GEQDSK is likely unphysical or uses a different normalization convention.
Mitigation Implemented (v2.1)¶
validate_real_shots.pyreconstructs the toroidal current density \(J_\phi\) from GEQDSK \(p'\) and \(FF'\) profiles.- The validation lane now uses a true, source-balanced GS residual check: \(|| \Delta^* \psi + \mu_0 R J_\phi || / \max(||\mu_0 R J_\phi||, ||\psi||_\mathrm{range})\).
2. Disruption Prediction (Lane 3)¶
Threshold: recall > 80%, FPR < 25%
Result: Recall 100%, FPR 0% — PASS
Note: Synthetic-only heuristic replay passes this local gate, but it is not a real disruption-database ROC. The predictor remains a fixed-weight baseline until an admitted facility dataset trains or fits the score and reruns the validation gate.
3. Transport Scaling (Lane 2)¶
Threshold: 80% within 2-sigma
Result: 95% within 2-sigma — PASS
The IPB98(y,2) scaling remains robust across the ITPA database for the current parameter range.
How this page should drive remediation¶
Each listed deficiency includes both a symptom and a root cause. Remediation should close the script, the threshold, or the applicability condition, not just the metric.
For practical triage:
- keep the existing pass/fail status unchanged until the matching gate is rerun,
- run the referenced script with the same version context before declaring any blocker resolved,
- keep mitigation notes linked to evidence, not internal assumptions.
This keeps this page aligned with reviewable engineering decisions.
Practical use and scope¶
Use this document as the backlog for unresolved evidence and model-data mismatch work.
- Treat each active deficiency as a candidate for the next milestone task order.
- Link every mitigation to a specific benchmark, validator, or script-based check.
- Close entries only when reproducer and evidence outputs are committed and rerun.