Back to validation suite
✓ PASS (10/10)calculate_stability_full· panel-method-pipeline
Box-Shape Vessel — Full Stability Pipeline (calculate_stability) at Wall-Sided Reference
strict-box-vessel-full-pipeline
Reference & standards
IMO IS Code 2008 (Resolution MSC.267(85)) §2.2ISO 16185:2000 §5ASME V&V 10-2006 (calculation verification)
Tolerance
abs ≤ 0.005
rel ≤ 0.5%
Strict tolerance for full panel-method pipeline calculation verification (ASME V&V 10 §3.4). Box-shape vessel collapses every interpolation to closed-form algebra: hydrostatic interpolation hits an exact tabulated row at T=8m, cross-curve interpolation has a single tabulated displacement point, and GZ derivation reduces to KN − KG·sin θ. Expected GZ values are KN − KG·sin θ for the supplied cross-curve, so the pipeline is verified self-consistent with its inputs. Drift must be at floating-point precision (5 mm absolute / 0.5 % relative).
RMSE per field
value = 2.93e-5
FWER (Holm)
p = 3.95e-1
p_adj = 1.00e+0
consistent
Per-row comparison
| Label | Inputs | Field | Expected | Computed | Δ abs | Δ rel | Pass |
|---|---|---|---|---|---|---|---|
| displacement | field=displacement | value | 53136.0000 | 53136.0000 | 0.0000 | 0.00% | ✓ |
| mean_draft | field=mean_draft | value | 8.0000 | 8.0000 | 0.0000 | 0.00% | ✓ |
| kg | field=kg | value | 4.0000 | 4.0000 | 0.0000 | 0.00% | ✓ |
| kb at 8m | field=kb | value | 4.0000 | 4.0000 | 0.0000 | 0.00% | ✓ |
| bm at 8m | field=bm | value | 6.0000 | 6.0000 | 0.0000 | 0.00% | ✓ |
| gm0 | field=gm0 | value | 6.0000 | 6.0000 | 0.0000 | 0.00% | ✓ |
| gz at 5° | field=gz_at_angle, angle_deg=5 | value | 0.5044 | 0.5045 | 6.00e-5 | 0.01% | ✓ |
| gz at 10° | field=gz_at_angle, angle_deg=10 | value | 1.0162 | 1.0162 | 4.00e-5 | 0.00% | ✓ |
| gz at 15° | field=gz_at_angle, angle_deg=15 | value | 1.5403 | 1.5403 | 3.00e-5 | 0.00% | ✓ |
| gz at 20° | field=gz_at_angle, angle_deg=20 | value | 2.0814 | 2.0814 | -5.00e-5 | -0.00% | ✓ |
Reproducibility
- commit
- 457ea0bf562e11e9f660f6bffca9952fe22d7b49
- wasm sha256
- d7f872160591403115870e42…
- timestamp
- 2026-11-23T09:13:46.936Z
- runner
- v0.1.0
- node
- v22.22.0
- compute time
- 1ms
