Version: dev

NoahFrozenSoil

The frozen-soil phase-change sink of WRF's unified Noah land-surface model, as instantaneous tendencies: SUBROUTINES TBND, TMPAVG, FRH2O and SNKSRC of phys/module_sf_noahlsm.F (WRF 4.8, sf_surface_physics = 2), which HRT calls for every soil layer that holds ice or lies below freezing. Four pieces. (1) TBND interpolates the temperature to each layer's LOWER boundary, linearly between the layer's own centre and the next one down, with the deepest layer reaching towards tbot at the mirrored depth 2 z_deep - ze[NLEV+1]. (2) TMPAVG forms the layer-average temperature from the boundary triple (tup, tm, tdn) with the profile CLIPPED AT THE FREEZING POINT: it is a piecewise average over the eight orderings of the three temperatures about t0, and the clipping is what pins a partly frozen layer on the melting plateau instead of letting a linear average carry it through. (3) FRH2O gives the liquid water that can coexist with ice at that temperature -- the freezing-point depression relation (psisat g/hlice)(1 + ck swl)^2 (smcmax/(smc - swl))^bx = -(tavg - t0)/tavg, solved for the frozen fraction swl, with free = smc - swl. (4) SNKSRC converts the layer's energy imbalance into the water that actually changes phase and the latent heat that absorbs. TWO THINGS HERE ARE NOT WHAT THEY LOOK LIKE. FIRST, FRH2O IS NOT A ROOT-FIND AND MUST NOT BE ITERATED TO CONVERGENCE (FORTRAN_BUGS N95). Its loop exits as soon as ONE Newton increment falls below 0.005, seeded from swl = smc - sh2o, so the answer is an early-exit iterate that leaves a residual of up to 2e-3 in the scheme's own relation -- about 3e-4 relative in liquid water, three orders above the reference precision. A converged solver would therefore NOT reproduce WRF. Measured over the 332 layer-calls of the cold-season reference set, the loop exits after ONE iteration in 257 calls and TWO in the remaining 75, and never more; this component therefore writes the two Newton steps out in closed form and selects between them with WRF's own convergence test, which reproduces WRF exactly (4e-12 over all 332 calls) and needs no recurrence. The observed `third_iteration_needed` fires if a state ever demands more, and is zero throughout the reference set -- that branch is UNTESTED, not merely unused, as is FRH2O's Flerchinger fallback, which never runs because Newton converges in at most 2 of its 10 allowed iterations. SECOND, THE SINK HAS A CLEAN dt -> 0 LIMIT THAT THE FORTRAN HIDES. SNKSRC forms xh2o = sh2o + qtot dt/(rho_w hlice dz) and returns tsnsr = -rho_w hlice dz (xh2o - sh2o)/dt, so when nothing clamps, tsnsr = -qtot EXACTLY and at any dt: the phase change absorbs the entire energy imbalance and the layer's temperature tendency is exactly ZERO. That is the freezing plateau, and it is the whole point of the routine. The clamps confine xh2o to the closed interval between sh2o and free, so the change is admitted only while it moves the liquid water TOWARDS its equilibrium value; as dt -> 0 that reduces to a switch on the sign of qtot against the sign of free - sh2o, which is what this component writes. The liquid-water tendency the phase change contributes is then qtot/(rho_w hlice dz), which equals minus the layer's flux-driven temperature tendency times hcpct/(rho_w hlice). HRT EVALUATES NONE OF THIS on a layer that holds no ice and lies, with both its boundaries, at or above t0; the observed `sink_evaluated` reproduces that guard, and where it is zero the tavg and free reported here are values WRF never forms. NOT TRANSCRIBED: FRH2O's Flerchinger fallback (see above) and the ITAVG = .false. path of HRT, which uses stc in place of tavg and which WRF hard-wires to .true. WHAT IS AND IS NOT TESTED HERE. tbnd, tavg, free and the evaluation guard reference cleanly against the cold-season replay and are pinned to 4e-12 or exact. The SINK ITSELF -- tsnsr, dsh2o_dt_phase and the corrected dstc_dt -- is AUTHORED BUT UNPINNED, because SNKSRC gives no reference step at which it can be measured: the value is recovered from a difference that cancellation destroys below about 1e-3 s, while above about 1e-2 s the interval clamp binds and the answer becomes a finite-dt artefact (FORTRAN_BUGS N97, which records what instrumentation would fix it). Those three observeds are UNTESTED, not merely unused. This component consumes the flux-driven part of the soil-heat tendency and returns the corrected one, so a consumer mounts it AFTER soil_heat.esm and integrates dstc_dt from here, not from there. Consumer-supplied column fields are rewrite-target ops `input_<name>` lowered by the consumer, in the inline tests through per-test expression_template_imports libraries generated by tools/fill_tests.py.

.esm schema
1.1.0
Source
components/land_surface/noah/frozen_soil.esm

Description

The frozen-soil phase-change sink of WRF’s unified Noah land-surface model, as instantaneous tendencies: SUBROUTINES TBND, TMPAVG, FRH2O and SNKSRC of phys/module_sf_noahlsm.F (WRF 4.8, sf_surface_physics = 2), which HRT calls for every soil layer that holds ice or lies below freezing. Four pieces. (1) TBND interpolates the temperature to each layer’s LOWER boundary, linearly between the layer’s own centre and the next one down, with the deepest layer reaching towards tbot at the mirrored depth 2 z_deep - ze[NLEV+1]. (2) TMPAVG forms the layer-average temperature from the boundary triple (tup, tm, tdn) with the profile CLIPPED AT THE FREEZING POINT: it is a piecewise average over the eight orderings of the three temperatures about t0, and the clipping is what pins a partly frozen layer on the melting plateau instead of letting a linear average carry it through. (3) FRH2O gives the liquid water that can coexist with ice at that temperature – the freezing-point depression relation (psisat g/hlice)(1 + ck swl)^2 (smcmax/(smc - swl))^bx = -(tavg - t0)/tavg, solved for the frozen fraction swl, with free = smc - swl. (4) SNKSRC converts the layer’s energy imbalance into the water that actually changes phase and the latent heat that absorbs. TWO THINGS HERE ARE NOT WHAT THEY LOOK LIKE. FIRST, FRH2O IS NOT A ROOT-FIND AND MUST NOT BE ITERATED TO CONVERGENCE (FORTRAN_BUGS N95). Its loop exits as soon as ONE Newton increment falls below 0.005, seeded from swl = smc - sh2o, so the answer is an early-exit iterate that leaves a residual of up to 2e-3 in the scheme’s own relation – about 3e-4 relative in liquid water, three orders above the reference precision. A converged solver would therefore NOT reproduce WRF. Measured over the 332 layer-calls of the cold-season reference set, the loop exits after ONE iteration in 257 calls and TWO in the remaining 75, and never more; this component therefore writes the two Newton steps out in closed form and selects between them with WRF’s own convergence test, which reproduces WRF exactly (4e-12 over all 332 calls) and needs no recurrence. The observed third_iteration_needed fires if a state ever demands more, and is zero throughout the reference set – that branch is UNTESTED, not merely unused, as is FRH2O’s Flerchinger fallback, which never runs because Newton converges in at most 2 of its 10 allowed iterations. SECOND, THE SINK HAS A CLEAN dt -> 0 LIMIT THAT THE FORTRAN HIDES. SNKSRC forms xh2o = sh2o + qtot dt/(rho_w hlice dz) and returns tsnsr = -rho_w hlice dz (xh2o - sh2o)/dt, so when nothing clamps, tsnsr = -qtot EXACTLY and at any dt: the phase change absorbs the entire energy imbalance and the layer’s temperature tendency is exactly ZERO. That is the freezing plateau, and it is the whole point of the routine. The clamps confine xh2o to the closed interval between sh2o and free, so the change is admitted only while it moves the liquid water TOWARDS its equilibrium value; as dt -> 0 that reduces to a switch on the sign of qtot against the sign of free - sh2o, which is what this component writes. The liquid-water tendency the phase change contributes is then qtot/(rho_w hlice dz), which equals minus the layer’s flux-driven temperature tendency times hcpct/(rho_w hlice). HRT EVALUATES NONE OF THIS on a layer that holds no ice and lies, with both its boundaries, at or above t0; the observed sink_evaluated reproduces that guard, and where it is zero the tavg and free reported here are values WRF never forms. NOT TRANSCRIBED: FRH2O’s Flerchinger fallback (see above) and the ITAVG = .false. path of HRT, which uses stc in place of tavg and which WRF hard-wires to .true. WHAT IS AND IS NOT TESTED HERE. tbnd, tavg, free and the evaluation guard reference cleanly against the cold-season replay and are pinned to 4e-12 or exact. The SINK ITSELF – tsnsr, dsh2o_dt_phase and the corrected dstc_dt – is AUTHORED BUT UNPINNED, because SNKSRC gives no reference step at which it can be measured: the value is recovered from a difference that cancellation destroys below about 1e-3 s, while above about 1e-2 s the interval clamp binds and the answer becomes a finite-dt artefact (FORTRAN_BUGS N97, which records what instrumentation would fix it). Those three observeds are UNTESTED, not merely unused. This component consumes the flux-driven part of the soil-heat tendency and returns the corrected one, so a consumer mounts it AFTER soil_heat.esm and integrates dstc_dt from here, not from there. Consumer-supplied column fields are rewrite-target ops input_<name> lowered by the consumer, in the inline tests through per-test expression_template_imports libraries generated by tools/fill_tests.py.

Reference

  • Koren, V., et al. (1999). A parameterization of snowpack and frozen ground intended for NCEP weather and climate models. J. Geophys. Res., 104(D16), 19569-19585.
  • Flerchinger, G. N., and K. E. Saxton (1989). Simultaneous heat and water model of a freezing snow-residue-soil system. Trans. ASAE, 32, 565-571.
  • Cai, X., et al. (2014). Assessment of simulated water balance from Noah, Noah-MP, CLM and VIC over CONUS. J. Geophys. Res. Atmos., 119, 13751-13770.
  • wrf-model/WRF v4.8.0 phys/module_sf_noahlsm.F SUBROUTINE TBND lines 4080-4120, TMPAVG lines 4250-4352, FRH2O lines 1447-1585, SNKSRC lines 2922-3007, called from HRT lines 1700-1730 and 1815-1830 (cold-season reference run instrumented in ctessum-claude/WRF branch earthsciml-instrumented-noahcold).

Parameters

NameUnitsDefaultDescription
tsurfK273.0Temperature at the TOP of the soil column, HRT’s TSURF = (yy + (zz1 - 1) stc[1])/zz1, which is the diagnostic skin temperature. Supplied by the soil-heat component.
tbotK285.0Prescribed deep-soil temperature at depth z_deep.
z_deepm8.0Depth at which tbot is prescribed, |ZBOT_DATA|, positive downward.
smcmaxm^3/m^30.476Soil porosity, SOILPARM.TBL MAXSMC.
bexp15.33Clapp-Hornberger b, SOILPARM.TBL BB.
psisatm0.759Saturated soil matric potential, SOILPARM.TBL SATPSI.

Observed

NameUnitsDefaultDescription
zemSoil layer interface DEPTHS below the surface, positive downward, ze[1] = 0.
zcmSoil layer centre depths, from the grid’s column_cell_center template.
dzmSoil layer thicknesses, from the grid’s column_cell_thickness template.
stcKSoil temperature of each layer, WRF’s STC.
smcm^3/m^3TOTAL volumetric soil moisture, WRF’s SMC. Fixed through the phase change: only its split between liquid and ice moves.
sh2om^3/m^3UNFROZEN volumetric soil water as SNKSRC receives it, i.e. AFTER SMFLX has transported it within this step. It is both the quantity the phase change moves and the seed of FRH2O’s Newton iteration, which is why the early exit makes the answer depend on it.
qtotW/m^2Energy imbalance of each layer before the phase change, WRF’s QTOT = -rhsts dz hcpct: the net heat the flux divergence delivers to the layer, positive when it is being warmed. Supplied by the soil-heat component as its flux-driven tendency times the layer heat capacity and thickness.
hcpctJ/(m^3*K)Volumetric heat capacity of each layer, from the soil-heat component.
bx1bexp capped at blim = 5.5, FRH2O’s own limiter on the exponent.
tbndKTemperature at each layer’s LOWER boundary, linear between the layer centre and the next centre down; the deepest layer interpolates towards tbot at the mirrored depth 2 z_deep - ze[NLEV+1].
tupKTemperature at each layer’s UPPER boundary: the skin temperature for layer 1, and the layer above’s tbnd otherwise.
tavgKLayer-average temperature with the profile CLIPPED AT FREEZING, TMPAVG’s eight-branch piecewise average of (tup, stc, tbnd). Where part of the layer is above freezing and part below, only the sub-freezing part contributes its own temperature and the rest contributes t0; this is what holds a thawing layer on the melting plateau while any ice remains, and it is why FRH2O’s warm path is only one or two steps wide.
swl0m^3/m^3FRH2O’s Newton seed, the current frozen water smc - sh2o, clamped to [0, smc - 0.02].
df01Residual of the freezing-point relation in log form at swl0.
den01Its derivative with respect to swl, 2 ck/(1 + ck swl) + bx/(smc - swl), at swl0.
swl1m^3/m^3The first Newton iterate, clamped to [0, smc - 0.02].
df11Residual at swl1.
den11Derivative at swl1.
swl2m^3/m^3The second Newton iterate, clamped the same way.
converged_first1Indicator, 1 where the FIRST increment already satisfies |swl1 - swl0| <= 0.005, which is WRF’s exit test. True at 257 of the 332 layer-calls in the reference set.
third_iteration_needed1Indicator, 1 where neither of the two unrolled increments meets the exit test, so WRF would have taken a third. Zero at every layer-call of the reference set; this component does not compute a third iterate, so a consumer seeing this go to one is outside what it reproduces. UNTESTED, not merely unused.
swlm^3/m^3The frozen water FRH2O actually returns: swl1 where the first increment met the exit test, swl2 otherwise. An early-exit iterate, NOT the converged root (FORTRAN_BUGS N95).
freem^3/m^3Liquid water that can coexist with ice at tavg: smc where the layer is at or above t0 - 1e-3 (FRH2O’s warm path, which returns immediately), and smc - swl below it.
warm_path1Indicator, 1 where tavg > t0 - 1e-3 and FRH2O returns free = smc without iterating. Reached at only 3 of the 332 layer-calls, because TMPAVG pins a layer on the freezing plateau for as long as it holds ice, so this can happen only in the step where a layer’s last ice disappears.
phase_active1Indicator, 1 where the energy imbalance moves the liquid water TOWARDS its equilibrium value and the phase change is therefore admitted: qtot and free - sh2o share a sign. Where they do not, SNKSRC’s clamps hold xh2o at sh2o and nothing changes phase. Zero wherever HRT’s guard did not fire, because then SNKSRC was never called.
tsnsrW/m^2Latent heat absorbed or released by the phase change, in the dt -> 0 limit: exactly -qtot where the change is admitted, and zero otherwise. The first case is the freezing plateau – the entire energy imbalance goes into melting or freezing and the layer’s temperature does not move.
dsh2o_dt_phase1/sLiquid-water tendency contributed by the phase change, qtot/(rho_w hlice dz) where admitted and zero otherwise. Positive is melting. A consumer adds this to the transport tendency from soil_moisture.esm to get the total.
dstc_dtK/sSoil temperature tendency CORRECTED for the phase change: the flux-driven part plus tsnsr/(dz hcpct), which is exactly zero on any layer where the phase change is admitted. A consumer integrates this, not the soil-heat component’s uncorrected tendency.
dstc_dt_fluxK/sThe flux-driven part alone, qtot/(dz hcpct), recovered from qtot for reporting and for the consumer’s own bookkeeping.
sicem^3/m^3Volumetric soil ice, smc - sh2o.
sink_evaluated1HRT’s own guard, 1 where it calls TMPAVG and SNKSRC at all: the layer holds ice, OR its centre, its upper boundary or its lower boundary is below t0. Where this is zero WRF computes no tavg, no free and no sink, and the layer’s temperature tendency is the flux-driven one unchanged – so a consumer must gate on this, and the tavg and free this component reports for such a layer are values WRF never forms.

Observed expressions

$$ ze = \mathrm{input_ze}\left(\right) $$

Soil layer interface DEPTHS below the surface, positive downward, ze[1] = 0.

$$ zc = \mathrm{column_cell_center}\left(ze=ze\right) $$

Soil layer centre depths, from the grid’s column_cell_center template.

$$ dz = \mathrm{column_cell_thickness}\left(ze=ze\right) $$

Soil layer thicknesses, from the grid’s column_cell_thickness template.

$$ stc = \mathrm{input_stc}\left(\right) $$

Soil temperature of each layer, WRF’s STC.

$$ smc = \mathrm{input_smc}\left(\right) $$

TOTAL volumetric soil moisture, WRF’s SMC. Fixed through the phase change: only its split between liquid and ice moves.

$$ sh2o = \mathrm{input_sh2o}\left(\right) $$

UNFROZEN volumetric soil water as SNKSRC receives it, i.e. AFTER SMFLX has transported it within this step. It is both the quantity the phase change moves and the seed of FRH2O’s Newton iteration, which is why the early exit makes the answer depend on it.

$$ qtot = \mathrm{input_qtot}\left(\right) $$

Energy imbalance of each layer before the phase change, WRF’s QTOT = -rhsts dz hcpct: the net heat the flux divergence delivers to the layer, positive when it is being warmed. Supplied by the soil-heat component as its flux-driven tendency times the layer heat capacity and thickness.

$$ hcpct = \mathrm{input_hcpct}\left(\right) $$

Volumetric heat capacity of each layer, from the soil-heat component.

$$ bx = \mathrm{min}\left(bexp, 5.5\right) $$

bexp capped at blim = 5.5, FRH2O’s own limiter on the exponent.

$$ tbnd = \mathrm{faq}\left(stc, zc, ze, dz\right) $$

Temperature at each layer’s LOWER boundary, linear between the layer centre and the next centre down; the deepest layer interpolates towards tbot at the mirrored depth 2 z_deep - ze[NLEV+1].

$$ tup = \mathrm{faq}\left(tbnd\right) $$

Temperature at each layer’s UPPER boundary: the skin temperature for layer 1, and the layer above’s tbnd otherwise.

$$ tavg = \mathrm{faq}\left(tup, stc, tbnd, dz\right) $$

Layer-average temperature with the profile CLIPPED AT FREEZING, TMPAVG’s eight-branch piecewise average of (tup, stc, tbnd). Where part of the layer is above freezing and part below, only the sub-freezing part contributes its own temperature and the rest contributes t0; this is what holds a thawing layer on the melting plateau while any ice remains, and it is why FRH2O’s warm path is only one or two steps wide.

$$ swl0 = \mathrm{max}\left(\mathrm{min}\left(smc - sh2o, smc - 0.02\right), 0.0\right) $$

FRH2O’s Newton seed, the current frozen water smc - sh2o, clamped to [0, smc - 0.02].

$$ df0 = \mathrm{frh2o_residual}\left(swl=swl0, tavg=tavg, smc=smc, smcmax=smcmax, bx=bx, psisat=psisat, t0=par.t0\right) $$

Residual of the freezing-point relation in log form at swl0.

$$ den0 = \mathrm{frh2o_slope}\left(swl=swl0, smc=smc, bx=bx\right) $$

Its derivative with respect to swl, 2 ck/(1 + ck swl) + bx/(smc - swl), at swl0.

$$ swl1 = \mathrm{max}\left(\mathrm{min}\left(swl0 - \frac{df0}{den0}, smc - 0.02\right), 0.0\right) $$

The first Newton iterate, clamped to [0, smc - 0.02].

$$ df1 = \mathrm{frh2o_residual}\left(swl=swl1, tavg=tavg, smc=smc, smcmax=smcmax, bx=bx, psisat=psisat, t0=par.t0\right) $$

Residual at swl1.

$$ den1 = \mathrm{frh2o_slope}\left(swl=swl1, smc=smc, bx=bx\right) $$

Derivative at swl1.

$$ swl2 = \mathrm{max}\left(\mathrm{min}\left(swl1 - \frac{df1}{den1}, smc - 0.02\right), 0.0\right) $$

The second Newton iterate, clamped the same way.

$$ converged_{first} = \mathrm{ifelse}\left(\mathrm{<=}\left(\left|swl1 - swl0\right|, 0.005\right), 1.0, 0.0\right) $$

Indicator, 1 where the FIRST increment already satisfies |swl1 - swl0| <= 0.005, which is WRF’s exit test. True at 257 of the 332 layer-calls in the reference set.

$$ third_{iteration\,needed} = \mathrm{ifelse}\left(\mathrm{and}\left(converged_{first} = 0.0, \mathrm{>}\left(\left|swl2 - swl1\right|, 0.005\right)\right), 1.0, 0.0\right) $$

Indicator, 1 where neither of the two unrolled increments meets the exit test, so WRF would have taken a third. Zero at every layer-call of the reference set; this component does not compute a third iterate, so a consumer seeing this go to one is outside what it reproduces. UNTESTED, not merely unused.

$$ swl = \mathrm{ifelse}\left(converged_{first} = 1.0, swl1, swl2\right) $$

The frozen water FRH2O actually returns: swl1 where the first increment met the exit test, swl2 otherwise. An early-exit iterate, NOT the converged root (FORTRAN_BUGS N95).

$$ free = \mathrm{ifelse}\left(warm_{path} = 1.0, smc, smc - swl\right) $$

Liquid water that can coexist with ice at tavg: smc where the layer is at or above t0 - 1e-3 (FRH2O’s warm path, which returns immediately), and smc - swl below it.

$$ warm_{path} = \mathrm{ifelse}\left(\mathrm{>}\left(tavg, par.t0 - 0.001\right), 1.0, 0.0\right) $$

Indicator, 1 where tavg > t0 - 1e-3 and FRH2O returns free = smc without iterating. Reached at only 3 of the 332 layer-calls, because TMPAVG pins a layer on the freezing plateau for as long as it holds ice, so this can happen only in the step where a layer’s last ice disappears.

$$ phase_{active} = \mathrm{ifelse}\left(sink_{evaluated} = 1.0, \mathrm{ifelse}\left(\mathrm{or}\left(\mathrm{and}\left(\mathrm{>}\left(qtot, 0.0\right), \mathrm{>}\left(free, sh2o\right)\right), \mathrm{and}\left(\mathrm{<}\left(qtot, 0.0\right), \mathrm{<}\left(free, sh2o\right)\right)\right), 1.0, 0.0\right), 0.0\right) $$

Indicator, 1 where the energy imbalance moves the liquid water TOWARDS its equilibrium value and the phase change is therefore admitted: qtot and free - sh2o share a sign. Where they do not, SNKSRC’s clamps hold xh2o at sh2o and nothing changes phase. Zero wherever HRT’s guard did not fire, because then SNKSRC was never called.

$$ tsnsr = \mathrm{ifelse}\left(phase_{active} = 1.0, 0.0 - qtot, 0.0\right) $$

Latent heat absorbed or released by the phase change, in the dt -> 0 limit: exactly -qtot where the change is admitted, and zero otherwise. The first case is the freezing plateau – the entire energy imbalance goes into melting or freezing and the layer’s temperature does not move.

$$ dsh2o_{dt\,phase} = \mathrm{ifelse}\left(phase_{active} = 1.0, \frac{qtot}{par.rho_{water} \cdot par.hlice \cdot dz}, 0.0\right) $$

Liquid-water tendency contributed by the phase change, qtot/(rho_w hlice dz) where admitted and zero otherwise. Positive is melting. A consumer adds this to the transport tendency from soil_moisture.esm to get the total.

$$ dstc_{dt} = dstc_{dt\,flux} + \frac{tsnsr}{dz \cdot hcpct} $$

Soil temperature tendency CORRECTED for the phase change: the flux-driven part plus tsnsr/(dz hcpct), which is exactly zero on any layer where the phase change is admitted. A consumer integrates this, not the soil-heat component’s uncorrected tendency.

$$ dstc_{dt\,flux} = \frac{qtot}{dz \cdot hcpct} $$

The flux-driven part alone, qtot/(dz hcpct), recovered from qtot for reporting and for the consumer’s own bookkeeping.

$$ sice = smc - sh2o $$

Volumetric soil ice, smc - sh2o.

$$ sink_{evaluated} = \mathrm{ifelse}\left(\mathrm{or}\left(\mathrm{or}\left(\mathrm{>}\left(sice, 0.0\right), \mathrm{<}\left(stc, par.t0\right)\right), \mathrm{or}\left(\mathrm{<}\left(tup, par.t0\right), \mathrm{<}\left(tbnd, par.t0\right)\right)\right), 1.0, 0.0\right) $$

HRT’s own guard, 1 where it calls TMPAVG and SNKSRC at all: the layer holds ice, OR its centre, its upper boundary or its lower boundary is below t0. Where this is zero WRF computes no tavg, no free and no sink, and the layer’s temperature tendency is the flux-driven one unchanged – so a consumer must gate on this, and the tavg and free this component reports for such a layer are values WRF never forms.

Raw .esm

Raw .esm JSON (this component)
{
  "expression_template_imports": [
    {
      "ref": "${ESD_ROOT}/grids/column_nonuniform_1d/grid.esm",
      "bindings": {
        "NLEV": "NLEV"
      }
    },
    {
      "ref": "./frozen_soil_templates.esm"
    }
  ],
  "subsystems": {
    "par": {
      "ref": "./noah_parameters.esm"
    }
  },
  "variables": {
    "ze": {
      "type": "unknown",
      "units": "m",
      "shape": [
        "lev_nodes"
      ],
      "description": "Soil layer interface DEPTHS below the surface, positive downward, ze[1] = 0."
    },
    "zc": {
      "type": "unknown",
      "units": "m",
      "shape": [
        "lev"
      ],
      "description": "Soil layer centre depths, from the grid's column_cell_center template."
    },
    "dz": {
      "type": "unknown",
      "units": "m",
      "shape": [
        "lev"
      ],
      "description": "Soil layer thicknesses, from the grid's column_cell_thickness template."
    },
    "stc": {
      "type": "unknown",
      "units": "K",
      "shape": [
        "lev"
      ],
      "description": "Soil temperature of each layer, WRF's STC."
    },
    "smc": {
      "type": "unknown",
      "units": "m^3/m^3",
      "shape": [
        "lev"
      ],
      "description": "TOTAL volumetric soil moisture, WRF's SMC. Fixed through the phase change: only its split between liquid and ice moves."
    },
    "sh2o": {
      "type": "unknown",
      "units": "m^3/m^3",
      "shape": [
        "lev"
      ],
      "description": "UNFROZEN volumetric soil water as SNKSRC receives it, i.e. AFTER SMFLX has transported it within this step. It is both the quantity the phase change moves and the seed of FRH2O's Newton iteration, which is why the early exit makes the answer depend on it."
    },
    "qtot": {
      "type": "unknown",
      "units": "W/m^2",
      "shape": [
        "lev"
      ],
      "description": "Energy imbalance of each layer before the phase change, WRF's QTOT = -rhsts dz hcpct: the net heat the flux divergence delivers to the layer, positive when it is being warmed. Supplied by the soil-heat component as its flux-driven tendency times the layer heat capacity and thickness."
    },
    "hcpct": {
      "type": "unknown",
      "units": "J/(m^3*K)",
      "shape": [
        "lev"
      ],
      "description": "Volumetric heat capacity of each layer, from the soil-heat component."
    },
    "tsurf": {
      "type": "parameter",
      "units": "K",
      "default": 273.0,
      "description": "Temperature at the TOP of the soil column, HRT's TSURF = (yy + (zz1 - 1) stc[1])/zz1, which is the diagnostic skin temperature. Supplied by the soil-heat component."
    },
    "tbot": {
      "type": "parameter",
      "units": "K",
      "default": 285.0,
      "description": "Prescribed deep-soil temperature at depth z_deep."
    },
    "z_deep": {
      "type": "parameter",
      "units": "m",
      "default": 8.0,
      "description": "Depth at which tbot is prescribed, |ZBOT_DATA|, positive downward."
    },
    "smcmax": {
      "type": "parameter",
      "units": "m^3/m^3",
      "default": 0.476,
      "description": "Soil porosity, SOILPARM.TBL MAXSMC."
    },
    "bexp": {
      "type": "parameter",
      "units": "1",
      "default": 5.33,
      "description": "Clapp-Hornberger b, SOILPARM.TBL BB."
    },
    "psisat": {
      "type": "parameter",
      "units": "m",
      "default": 0.759,
      "description": "Saturated soil matric potential, SOILPARM.TBL SATPSI."
    },
    "bx": {
      "type": "unknown",
      "units": "1",
      "description": "bexp capped at blim = 5.5, FRH2O's own limiter on the exponent."
    },
    "tbnd": {
      "type": "unknown",
      "units": "K",
      "shape": [
        "lev"
      ],
      "description": "Temperature at each layer's LOWER boundary, linear between the layer centre and the next centre down; the deepest layer interpolates towards tbot at the mirrored depth 2 z_deep - ze[NLEV+1]."
    },
    "tup": {
      "type": "unknown",
      "units": "K",
      "shape": [
        "lev"
      ],
      "description": "Temperature at each layer's UPPER boundary: the skin temperature for layer 1, and the layer above's tbnd otherwise."
    },
    "tavg": {
      "type": "unknown",
      "units": "K",
      "shape": [
        "lev"
      ],
      "description": "Layer-average temperature with the profile CLIPPED AT FREEZING, TMPAVG's eight-branch piecewise average of (tup, stc, tbnd). Where part of the layer is above freezing and part below, only the sub-freezing part contributes its own temperature and the rest contributes t0; this is what holds a thawing layer on the melting plateau while any ice remains, and it is why FRH2O's warm path is only one or two steps wide."
    },
    "swl0": {
      "type": "unknown",
      "units": "m^3/m^3",
      "shape": [
        "lev"
      ],
      "description": "FRH2O's Newton seed, the current frozen water smc - sh2o, clamped to [0, smc - 0.02]."
    },
    "df0": {
      "type": "unknown",
      "units": "1",
      "shape": [
        "lev"
      ],
      "description": "Residual of the freezing-point relation in log form at swl0."
    },
    "den0": {
      "type": "unknown",
      "units": "1",
      "shape": [
        "lev"
      ],
      "description": "Its derivative with respect to swl, 2 ck/(1 + ck swl) + bx/(smc - swl), at swl0."
    },
    "swl1": {
      "type": "unknown",
      "units": "m^3/m^3",
      "shape": [
        "lev"
      ],
      "description": "The first Newton iterate, clamped to [0, smc - 0.02]."
    },
    "df1": {
      "type": "unknown",
      "units": "1",
      "shape": [
        "lev"
      ],
      "description": "Residual at swl1."
    },
    "den1": {
      "type": "unknown",
      "units": "1",
      "shape": [
        "lev"
      ],
      "description": "Derivative at swl1."
    },
    "swl2": {
      "type": "unknown",
      "units": "m^3/m^3",
      "shape": [
        "lev"
      ],
      "description": "The second Newton iterate, clamped the same way."
    },
    "converged_first": {
      "type": "unknown",
      "units": "1",
      "shape": [
        "lev"
      ],
      "description": "Indicator, 1 where the FIRST increment already satisfies |swl1 - swl0| <= 0.005, which is WRF's exit test. True at 257 of the 332 layer-calls in the reference set."
    },
    "third_iteration_needed": {
      "type": "unknown",
      "units": "1",
      "shape": [
        "lev"
      ],
      "description": "Indicator, 1 where neither of the two unrolled increments meets the exit test, so WRF would have taken a third. Zero at every layer-call of the reference set; this component does not compute a third iterate, so a consumer seeing this go to one is outside what it reproduces. UNTESTED, not merely unused."
    },
    "swl": {
      "type": "unknown",
      "units": "m^3/m^3",
      "shape": [
        "lev"
      ],
      "description": "The frozen water FRH2O actually returns: swl1 where the first increment met the exit test, swl2 otherwise. An early-exit iterate, NOT the converged root (FORTRAN_BUGS N95)."
    },
    "free": {
      "type": "unknown",
      "units": "m^3/m^3",
      "shape": [
        "lev"
      ],
      "description": "Liquid water that can coexist with ice at tavg: smc where the layer is at or above t0 - 1e-3 (FRH2O's warm path, which returns immediately), and smc - swl below it."
    },
    "warm_path": {
      "type": "unknown",
      "units": "1",
      "shape": [
        "lev"
      ],
      "description": "Indicator, 1 where tavg > t0 - 1e-3 and FRH2O returns free = smc without iterating. Reached at only 3 of the 332 layer-calls, because TMPAVG pins a layer on the freezing plateau for as long as it holds ice, so this can happen only in the step where a layer's last ice disappears."
    },
    "phase_active": {
      "type": "unknown",
      "units": "1",
      "shape": [
        "lev"
      ],
      "description": "Indicator, 1 where the energy imbalance moves the liquid water TOWARDS its equilibrium value and the phase change is therefore admitted: qtot and free - sh2o share a sign. Where they do not, SNKSRC's clamps hold xh2o at sh2o and nothing changes phase. Zero wherever HRT's guard did not fire, because then SNKSRC was never called."
    },
    "tsnsr": {
      "type": "unknown",
      "units": "W/m^2",
      "shape": [
        "lev"
      ],
      "description": "Latent heat absorbed or released by the phase change, in the dt -> 0 limit: exactly -qtot where the change is admitted, and zero otherwise. The first case is the freezing plateau -- the entire energy imbalance goes into melting or freezing and the layer's temperature does not move."
    },
    "dsh2o_dt_phase": {
      "type": "unknown",
      "units": "1/s",
      "shape": [
        "lev"
      ],
      "description": "Liquid-water tendency contributed by the phase change, qtot/(rho_w hlice dz) where admitted and zero otherwise. Positive is melting. A consumer adds this to the transport tendency from soil_moisture.esm to get the total."
    },
    "dstc_dt": {
      "type": "unknown",
      "units": "K/s",
      "shape": [
        "lev"
      ],
      "description": "Soil temperature tendency CORRECTED for the phase change: the flux-driven part plus tsnsr/(dz hcpct), which is exactly zero on any layer where the phase change is admitted. A consumer integrates this, not the soil-heat component's uncorrected tendency."
    },
    "dstc_dt_flux": {
      "type": "unknown",
      "units": "K/s",
      "shape": [
        "lev"
      ],
      "description": "The flux-driven part alone, qtot/(dz hcpct), recovered from qtot for reporting and for the consumer's own bookkeeping."
    },
    "sice": {
      "type": "unknown",
      "units": "m^3/m^3",
      "shape": [
        "lev"
      ],
      "description": "Volumetric soil ice, smc - sh2o."
    },
    "sink_evaluated": {
      "type": "unknown",
      "units": "1",
      "shape": [
        "lev"
      ],
      "description": "HRT's own guard, 1 where it calls TMPAVG and SNKSRC at all: the layer holds ice, OR its centre, its upper boundary or its lower boundary is below t0. Where this is zero WRF computes no tavg, no free and no sink, and the layer's temperature tendency is the flux-driven one unchanged -- so a consumer must gate on this, and the tavg and free this component reports for such a layer are values WRF never forms."
    }
  },
  "equations": [
    {
      "lhs": "ze",
      "rhs": {
        "op": "input_ze",
        "args": []
      }
    },
    {
      "lhs": "zc",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "column_cell_center",
        "bindings": {
          "ze": "ze"
        }
      }
    },
    {
      "lhs": "dz",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "column_cell_thickness",
        "bindings": {
          "ze": "ze"
        }
      }
    },
    {
      "lhs": "stc",
      "rhs": {
        "op": "input_stc",
        "args": []
      }
    },
    {
      "lhs": "smc",
      "rhs": {
        "op": "input_smc",
        "args": []
      }
    },
    {
      "lhs": "sh2o",
      "rhs": {
        "op": "input_sh2o",
        "args": []
      }
    },
    {
      "lhs": "qtot",
      "rhs": {
        "op": "input_qtot",
        "args": []
      }
    },
    {
      "lhs": "hcpct",
      "rhs": {
        "op": "input_hcpct",
        "args": []
      }
    },
    {
      "lhs": "bx",
      "rhs": {
        "op": "min",
        "args": [
          "bexp",
          5.5
        ]
      }
    },
    {
      "lhs": "tbnd",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "k"
        ],
        "args": [
          "stc",
          "zc",
          "ze",
          "dz"
        ],
        "ranges": {
          "k": {
            "from": "lev"
          }
        },
        "expr": {
          "op": "ifelse",
          "args": [
            {
              "op": "==",
              "args": [
                "k",
                "NLEV"
              ]
            },
            {
              "op": "+",
              "args": [
                {
                  "op": "index",
                  "args": [
                    "stc",
                    "NLEV"
                  ]
                },
                {
                  "op": "/",
                  "args": [
                    {
                      "op": "*",
                      "args": [
                        {
                          "op": "-",
                          "args": [
                            "tbot",
                            {
                              "op": "index",
                              "args": [
                                "stc",
                                "NLEV"
                              ]
                            }
                          ]
                        },
                        {
                          "op": "index",
                          "args": [
                            "dz",
                            "NLEV"
                          ]
                        }
                      ]
                    },
                    {
                      "op": "-",
                      "args": [
                        {
                          "op": "-",
                          "args": [
                            {
                              "op": "*",
                              "args": [
                                2.0,
                                "z_deep"
                              ]
                            },
                            {
                              "op": "index",
                              "args": [
                                "ze",
                                {
                                  "op": "+",
                                  "args": [
                                    "NLEV",
                                    1
                                  ]
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "op": "index",
                          "args": [
                            "ze",
                            "NLEV"
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "op": "+",
              "args": [
                {
                  "op": "index",
                  "args": [
                    "stc",
                    "k"
                  ]
                },
                {
                  "op": "/",
                  "args": [
                    {
                      "op": "*",
                      "args": [
                        {
                          "op": "-",
                          "args": [
                            {
                              "op": "index",
                              "args": [
                                "stc",
                                {
                                  "op": "+",
                                  "args": [
                                    "k",
                                    1
                                  ]
                                }
                              ]
                            },
                            {
                              "op": "index",
                              "args": [
                                "stc",
                                "k"
                              ]
                            }
                          ]
                        },
                        {
                          "op": "index",
                          "args": [
                            "dz",
                            "k"
                          ]
                        }
                      ]
                    },
                    {
                      "op": "-",
                      "args": [
                        {
                          "op": "index",
                          "args": [
                            "ze",
                            {
                              "op": "+",
                              "args": [
                                "k",
                                2
                              ]
                            }
                          ]
                        },
                        {
                          "op": "index",
                          "args": [
                            "ze",
                            "k"
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      }
    },
    {
      "lhs": "tup",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "k"
        ],
        "args": [
          "tbnd"
        ],
        "ranges": {
          "k": {
            "from": "lev"
          }
        },
        "expr": {
          "op": "ifelse",
          "args": [
            {
              "op": "==",
              "args": [
                "k",
                1
              ]
            },
            "tsurf",
            {
              "op": "index",
              "args": [
                "tbnd",
                {
                  "op": "-",
                  "args": [
                    "k",
                    1
                  ]
                }
              ]
            }
          ]
        }
      }
    },
    {
      "lhs": "sice",
      "rhs": {
        "op": "-",
        "args": [
          "smc",
          "sh2o"
        ]
      }
    },
    {
      "lhs": "sink_evaluated",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": "or",
            "args": [
              {
                "op": "or",
                "args": [
                  {
                    "op": ">",
                    "args": [
                      "sice",
                      0.0
                    ]
                  },
                  {
                    "op": "<",
                    "args": [
                      "stc",
                      "par.t0"
                    ]
                  }
                ]
              },
              {
                "op": "or",
                "args": [
                  {
                    "op": "<",
                    "args": [
                      "tup",
                      "par.t0"
                    ]
                  },
                  {
                    "op": "<",
                    "args": [
                      "tbnd",
                      "par.t0"
                    ]
                  }
                ]
              }
            ]
          },
          1.0,
          0.0
        ]
      }
    },
    {
      "lhs": "tavg",
      "rhs": {
        "op": "faq",
        "output_idx": [
          "k"
        ],
        "args": [
          "tup",
          "stc",
          "tbnd",
          "dz"
        ],
        "ranges": {
          "k": {
            "from": "lev"
          }
        },
        "expr": {
          "op": "apply_expression_template",
          "args": [],
          "name": "tmpavg_clipped",
          "bindings": {
            "tu": {
              "op": "index",
              "args": [
                "tup",
                "k"
              ]
            },
            "tm": {
              "op": "index",
              "args": [
                "stc",
                "k"
              ]
            },
            "td": {
              "op": "index",
              "args": [
                "tbnd",
                "k"
              ]
            },
            "dzl": {
              "op": "index",
              "args": [
                "dz",
                "k"
              ]
            },
            "t0": "par.t0"
          }
        }
      }
    },
    {
      "lhs": "warm_path",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": ">",
            "args": [
              "tavg",
              {
                "op": "-",
                "args": [
                  "par.t0",
                  0.001
                ]
              }
            ]
          },
          1.0,
          0.0
        ]
      }
    },
    {
      "lhs": "swl0",
      "rhs": {
        "op": "max",
        "args": [
          {
            "op": "min",
            "args": [
              {
                "op": "-",
                "args": [
                  "smc",
                  "sh2o"
                ]
              },
              {
                "op": "-",
                "args": [
                  "smc",
                  0.02
                ]
              }
            ]
          },
          0.0
        ]
      }
    },
    {
      "lhs": "df0",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "frh2o_residual",
        "bindings": {
          "swl": "swl0",
          "tavg": "tavg",
          "smc": "smc",
          "smcmax": "smcmax",
          "bx": "bx",
          "psisat": "psisat",
          "t0": "par.t0"
        }
      }
    },
    {
      "lhs": "den0",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "frh2o_slope",
        "bindings": {
          "swl": "swl0",
          "smc": "smc",
          "bx": "bx"
        }
      }
    },
    {
      "lhs": "swl1",
      "rhs": {
        "op": "max",
        "args": [
          {
            "op": "min",
            "args": [
              {
                "op": "-",
                "args": [
                  "swl0",
                  {
                    "op": "/",
                    "args": [
                      "df0",
                      "den0"
                    ]
                  }
                ]
              },
              {
                "op": "-",
                "args": [
                  "smc",
                  0.02
                ]
              }
            ]
          },
          0.0
        ]
      }
    },
    {
      "lhs": "df1",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "frh2o_residual",
        "bindings": {
          "swl": "swl1",
          "tavg": "tavg",
          "smc": "smc",
          "smcmax": "smcmax",
          "bx": "bx",
          "psisat": "psisat",
          "t0": "par.t0"
        }
      }
    },
    {
      "lhs": "den1",
      "rhs": {
        "op": "apply_expression_template",
        "args": [],
        "name": "frh2o_slope",
        "bindings": {
          "swl": "swl1",
          "smc": "smc",
          "bx": "bx"
        }
      }
    },
    {
      "lhs": "swl2",
      "rhs": {
        "op": "max",
        "args": [
          {
            "op": "min",
            "args": [
              {
                "op": "-",
                "args": [
                  "swl1",
                  {
                    "op": "/",
                    "args": [
                      "df1",
                      "den1"
                    ]
                  }
                ]
              },
              {
                "op": "-",
                "args": [
                  "smc",
                  0.02
                ]
              }
            ]
          },
          0.0
        ]
      }
    },
    {
      "lhs": "converged_first",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": "<=",
            "args": [
              {
                "op": "abs",
                "args": [
                  {
                    "op": "-",
                    "args": [
                      "swl1",
                      "swl0"
                    ]
                  }
                ]
              },
              0.005
            ]
          },
          1.0,
          0.0
        ]
      }
    },
    {
      "lhs": "third_iteration_needed",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": "and",
            "args": [
              {
                "op": "==",
                "args": [
                  "converged_first",
                  0.0
                ]
              },
              {
                "op": ">",
                "args": [
                  {
                    "op": "abs",
                    "args": [
                      {
                        "op": "-",
                        "args": [
                          "swl2",
                          "swl1"
                        ]
                      }
                    ]
                  },
                  0.005
                ]
              }
            ]
          },
          1.0,
          0.0
        ]
      }
    },
    {
      "lhs": "swl",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": "==",
            "args": [
              "converged_first",
              1.0
            ]
          },
          "swl1",
          "swl2"
        ]
      }
    },
    {
      "lhs": "free",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": "==",
            "args": [
              "warm_path",
              1.0
            ]
          },
          "smc",
          {
            "op": "-",
            "args": [
              "smc",
              "swl"
            ]
          }
        ]
      }
    },
    {
      "lhs": "phase_active",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": "==",
            "args": [
              "sink_evaluated",
              1.0
            ]
          },
          {
            "op": "ifelse",
            "args": [
              {
                "op": "or",
                "args": [
                  {
                    "op": "and",
                    "args": [
                      {
                        "op": ">",
                        "args": [
                          "qtot",
                          0.0
                        ]
                      },
                      {
                        "op": ">",
                        "args": [
                          "free",
                          "sh2o"
                        ]
                      }
                    ]
                  },
                  {
                    "op": "and",
                    "args": [
                      {
                        "op": "<",
                        "args": [
                          "qtot",
                          0.0
                        ]
                      },
                      {
                        "op": "<",
                        "args": [
                          "free",
                          "sh2o"
                        ]
                      }
                    ]
                  }
                ]
              },
              1.0,
              0.0
            ]
          },
          0.0
        ]
      }
    },
    {
      "lhs": "tsnsr",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": "==",
            "args": [
              "phase_active",
              1.0
            ]
          },
          {
            "op": "-",
            "args": [
              0.0,
              "qtot"
            ]
          },
          0.0
        ]
      }
    },
    {
      "lhs": "dsh2o_dt_phase",
      "rhs": {
        "op": "ifelse",
        "args": [
          {
            "op": "==",
            "args": [
              "phase_active",
              1.0
            ]
          },
          {
            "op": "/",
            "args": [
              "qtot",
              {
                "op": "*",
                "args": [
                  {
                    "op": "*",
                    "args": [
                      "par.rho_water",
                      "par.hlice"
                    ]
                  },
                  "dz"
                ]
              }
            ]
          },
          0.0
        ]
      }
    },
    {
      "lhs": "dstc_dt_flux",
      "rhs": {
        "op": "/",
        "args": [
          "qtot",
          {
            "op": "*",
            "args": [
              "dz",
              "hcpct"
            ]
          }
        ]
      }
    },
    {
      "lhs": "dstc_dt",
      "rhs": {
        "op": "+",
        "args": [
          "dstc_dt_flux",
          {
            "op": "/",
            "args": [
              "tsnsr",
              {
                "op": "*",
                "args": [
                  "dz",
                  "hcpct"
                ]
              }
            ]
          }
        ]
      }
    }
  ],
  "tests": [
    {
      "id": "cold_caseA_step1",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 260.91201787065586,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A1_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.74999998603016,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.3333333333333,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 262.6655044641715,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 265.77083332984085,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.5677083391541,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1557577956291037,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1646476692865391,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18371488596252253,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.2196436246373238,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    13.150975331877437,
                    -0.0,
                    7.7293010760915575,
                    3.722890729665912
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -3.943320880333624e-07,
                    0.0,
                    -3.862719024965887e-08,
                    -1.1163090643675899e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step101",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 101 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 263.94200790609096,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A101_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.94299315101864,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.36256917317706,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.59260341369145,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 265.84831746093175,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.575017299115,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.15807915961836722,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16491936328856843,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18377343327841242,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21964362492581607,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -13.71146224713326,
                    -0.0,
                    7.599418645956878,
                    3.7241562167021924
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    4.1113829213842743e-07,
                    0.0,
                    -3.7978102668581333e-08,
                    -1.1166885207502826e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step1761",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1761 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 270.04228421704977,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A1761_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 266.19853972894947,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.96291097005206,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.875778222445,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 267.02694182634355,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.03723462299257,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.660294856718,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.12279070962273,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1692727465157463,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1695165006358487,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18444664507956554,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21919705321647381,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -39.32995094233032,
                    -6.093637544238403,
                    4.303162205987244,
                    3.8966811140598216
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.1793088562599218e-06,
                    6.090592006095964e-08,
                    -2.150505764615166e-08,
                    -1.1684201241558686e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step1824",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1824 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 271.87266744600214,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A1824_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 266.44537353173143,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.96270751953125,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.8713531736828,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 267.71026280791,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.1005096426985,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.65559769283476,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.1216844474322,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1723418235771689,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16978763558470053,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1844100316311833,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21916530818581081,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -51.9912046543737,
                    -6.794839507127011,
                    4.2588927565715915,
                    3.9082518966599857
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.5589566380702966e-06,
                    6.791443515366676e-08,
                    -2.1283821026178936e-08,
                    -1.1718896241859027e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step1849",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1849 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 272.3708732093106,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A1849_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 266.5828857396165,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.9618326822917,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.869712853883,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 267.96086710539583,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.13466898535984,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.6536566477156,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.1212743674822,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.17357392356265533,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16993527555853458,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18439491704071687,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21915354975759804,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -54.39975510679614,
                    -7.197312121737216,
                    4.245707736397055,
                    3.9125498612138716
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.6311770403651164e-06,
                    7.193714978252612e-08,
                    -2.121792887400197e-08,
                    -1.1731783691795718e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step1874",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1874 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 272.64718218123585,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A1874_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 266.7420959456831,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.96092732747394,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.8680153136251,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 268.17588703661255,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.17424519817206,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.6516478917201,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.1208499824178,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.17468278303173945,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.17010744853694973,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1843792847022275,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.2191413863376113,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -54.50346810152537,
                    -7.664100047347719,
                    4.2320374956644295,
                    3.916992347720835
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.6342868752431909e-06,
                    7.660269607999757e-08,
                    -2.1149611831576087e-08,
                    -1.1745104490917046e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step1899",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1899 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 272.8987805846188,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A1899_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 266.8997497552557,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.96006266276044,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.8663940673114,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 268.38330262891395,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.21344248438686,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.64972941689297,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.12044467083933,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.17580239348109777,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1702791826562343,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18436436396248174,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.2191297745140808,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -54.40781443888588,
                    -8.126607820095844,
                    4.218833094153675,
                    3.9212443756854185
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.6314186994946411e-06,
                    8.122546224061444e-08,
                    -2.1083622821151006e-08,
                    -1.1757854199956277e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step1924",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1924 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 272.6813712485515,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A1924_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 267.0954208380135,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.9591776529948,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.86473467402556,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 268.50831545328185,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.2621390026349,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.6477658014817,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.1200298225179,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.17649945298358666,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.17049420839418233,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18434910125712906,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21911789444624982,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -49.5591232458563,
                    -8.702785228752262,
                    4.205271804310661,
                    3.925590325205184
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.4860306598910892e-06,
                    8.69843566510211e-08,
                    -2.1015850260910443e-08,
                    -1.1770885532849127e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step2089",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 2089 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 272.29122644070054,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A2089_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 267.9250488338872,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.95338948567706,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.8538818604666,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 269.17127157743596,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.4680989597739,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.6349233052859,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.11731661912813,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.18054626019218745,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.17142585241667566,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18424950623696307,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.2190403199344103,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -33.64905338265132,
                    -11.123595443615617,
                    4.114426182162967,
                    3.954028999053669
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0089671028857977e-06,
                    1.1118035983611858e-07,
                    -2.0561849168767447e-08,
                    -1.1856158917702155e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step2114",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 2114 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 266.7709355885183,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A2114_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 267.93113709076096,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.9525146484375,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.8522415406668,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 267.7967797664995,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.46940231468244,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.6329822601667,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.11690653917816,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.17263925745728995,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1714319478478604,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18423448729225186,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.2190286137881349,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    15.924280874854105,
                    -11.117346658880546,
                    4.100547886664846,
                    3.9583282009929937
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -4.774896742897701e-07,
                    1.1111790321955921e-07,
                    -2.049249237243238e-08,
                    -1.1869050077940011e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step26",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 26 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 264.19768091377506,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A26_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.75267027406636,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.3404541015625,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.4875877969603,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 265.7786216700791,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.5694885312114,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.15780386481628755,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1646748529738274,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1837291775213838,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21964362470977505,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -19.149943447241874,
                    -0.0,
                    7.697656430258933,
                    3.7232088780799373
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    5.742111892619336e-07,
                    0.0,
                    -3.8469046098858373e-08,
                    -1.1164044611933845e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step2847",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 2847 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 264.26561775220716,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A2847_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 266.1873931806296,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 268.2200520833333,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.78605654409444,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 265.4963093738342,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.32747777106886,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.6303723717007,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.1003602900351,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1634235785879404,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.17078439555364386,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1842143071933819,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21856031659473135,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    -0.0,
                    2.2981973257349937,
                    4.128375364685221
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    0.0,
                    -1.1485243550289057e-08,
                    -1.2378936625742791e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step2880",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 2880 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 264.2530140451615,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A2880_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 266.140632621201,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 268.22511800130206,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.7842254894342,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 265.4487839810438,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.32158597105547,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.6297162437778,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.09990252637004,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1632656045776422,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.17075785426965498,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1842092364353084,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.2185474714925857,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    9.156719924721923,
                    -0.0,
                    2.2585969966452657,
                    4.133104688280825
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -2.745643114925387e-07,
                    0.0,
                    -1.1287340864051415e-08,
                    -1.2393117506089429e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step328",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 328 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 270.72712939812857,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A328_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.9760665823156,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.4066162109375,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 266.224856001947,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 266.1506328565164,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.58602905855514,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.16624012308006889,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16600755520871435,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18386279200153074,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21964362556776784,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -62.829907453478825,
                    -7.751249163266006,
                    7.396825482356178,
                    3.726952810337239
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.8839552179082537e-06,
                    7.747375167675212e-08,
                    -3.696564312060346e-08,
                    -1.1175270795613909e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step364",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 364 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 271.4284103665575,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A364_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 265.26601409388144,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.4066162109375,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 266.66596146178944,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 266.2231197344079,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.58602905855514,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.16792278897352192,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16627581702141167,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1838634528152703,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21964362566793702,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -64.71116551136986,
                    -8.691044965698257,
                    7.393576033388657,
                    3.727392904347151
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.9403647540359328e-06,
                    8.686701269712316e-08,
                    -3.694940399597378e-08,
                    -1.1176590417832537e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step397",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 397 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 271.60545121123533,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A397_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 265.5482253993446,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.4066162109375,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 266.9689153684653,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 266.29367256077364,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.58602905855514,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1691467309308244,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16653982568086734,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18386404107033183,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21964362575936686,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -61.700352616012054,
                    -9.598853144436418,
                    7.390296229210432,
                    3.7277963518323545
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.850085508144083e-06,
                    9.594055735144707e-08,
                    -3.6933013171146704e-08,
                    -1.1177800155419354e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step51",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 51 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 264.1230061052533,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A51_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.79138945148657,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.3475748697917,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.5026314819584,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 265.7954222326633,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.5712687232687,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.15784363333247325,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16473358728701726,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1837434588360714,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21964362478200739,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -17.837652533616982,
                    -0.0,
                    7.666012689338781,
                    3.723526121475364
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    5.348621369659745e-07,
                    0.0,
                    -3.8310906470358906e-08,
                    -1.1164995866492845e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step519",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 519 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 270.24454768936005,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A519_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 266.50982666263917,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.4066162109375,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 267.5101573087029,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 266.5340728765973,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.58602905855514,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.17147683267171362,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16746216347397547,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18386606692203278,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21964362609413712,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -12.64944168985826,
                    7.3758069974572775,
                    3.729285601279792
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.2643119627400928e-07,
                    -3.686060322023514e-08,
                    -1.1182265671003874e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step679",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 679 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 266.86310909949907,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A679_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 266.96969604999515,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.43505859375,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 267.0792340022173,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 266.67748260624876,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.59313965425827,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.16951502144086977,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16803036240423486,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18392296315805295,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21964362652548608,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    6.173625586111241,
                    -13.82246700748922,
                    7.232579757256776,
                    3.7312247831117173
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -1.851162067201515e-07,
                    1.3815558678894305e-07,
                    -3.6144824936831027e-08,
                    -1.1188080309180561e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseA_step76",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 76 of case A, snow accumulating onto initially bare frozen ground. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 264.0272812184948,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_A76_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.8718108996712,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.3549397786458,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.550578693604,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 265.8228925035636,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.5731099504822,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.15796885255291945,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16482990424243096,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1837581977885449,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21964362485402092,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -15.646200985076716,
                    -0.0,
                    7.633296449911284,
                    3.7238420407464172
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    4.6915144683448743e-07,
                    0.0,
                    -3.8147407029442016e-08,
                    -1.116594315066392e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseB_step1",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1 of case B, a deep pack insulating soil that stays frozen for the whole run. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 262.64608782840094,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_B1_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.74999998603016,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.3333333333333,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.0990219536078,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 265.77083332984085,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.5677083391541,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1568150306071168,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1646476692865391,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18371488596252253,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.2196436246373238,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -1.7035010697099933,
                    -0.0,
                    7.7293010760915575,
                    3.722890729665912
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    5.1079491583983495e-08,
                    0.0,
                    -3.862719024965887e-08,
                    -1.1163090643675899e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseB_step100",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 100 of case B, a deep pack insulating soil that stays frozen for the whole run. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 263.2608076540921,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_B100_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.77819822788626,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.38771565755206,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.26495471756493,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 265.83226521452366,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.58130392020877,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1572324768909183,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1648628474366219,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.183821715488657,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21964362492294842,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -4.34587436504377,
                    -0.0,
                    7.48883688056115,
                    3.7241345289264034
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.3031107347181996e-07,
                    0.0,
                    -3.742547017981769e-08,
                    -1.1166820176690865e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseB_step1612",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1612 of case B, a deep pack insulating soil that stays frozen for the whole run. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 264.8236325232234,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_B1612_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.2947006067131,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.8798319498698,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.9036827325272,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.0015834045544,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 266.467034018052,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.66882483759144,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.1297668371433,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.15919248585609141,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16720178728215365,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1845132704023802,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21939807089291813,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -9.436196422264743,
                    -5.465706030234536,
                    0.0,
                    3.8246345177661425
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    2.8294441624151307e-07,
                    5.462974325883958e-08,
                    -0.0,
                    -1.1468169468564146e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseB_step1637",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1637 of case B, a deep pack insulating soil that stays frozen for the whole run. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 264.8815372959442,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_B1637_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.2970046838186,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.8845621744792,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.9010315179671,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.01663561701105,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 266.4734007477776,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.6672236184241,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.12910403350327,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1593404814618115,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16722643872235812,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18450075033270785,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21937891014976102,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -9.783714149032015,
                    -5.381729251485492,
                    4.916456468363631,
                    3.8315049363248184
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    2.9336473772843526e-07,
                    5.379039517875856e-08,
                    -2.4569996366822642e-08,
                    -1.1488770423762574e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseB_step1816",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1816 of case B, a deep pack insulating soil that stays frozen for the whole run. Layer(s) [1, 4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 265.7723157520076,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_B1816_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.7144775256304,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.89113362630206,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.8860397579366,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.6183719033939,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 266.590337114155,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.65312513316906,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.1253560934956,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1662484816260013,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1676837754064523,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18439077980202434,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21927080792444065,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -5.590220713835611,
                    4.737581775309204,
                    3.8706245808198148
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    5.5874267783110504e-08,
                    -2.3676069900322965e-08,
                    -1.1606070707105891e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseB_step1841",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1841 of case B, a deep pack insulating soil that stays frozen for the whole run. Layer(s) [1, 4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 265.888653646625,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_B1841_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.77527617100964,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.89194742838544,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.88397982144386,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.7027103596821,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 266.60717455219253,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.65116565034793,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.1248411093724,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.16755078144133054,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1677503507361429,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1843755332922205,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21925598667814145,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -5.629584475833202,
                    4.713359141855536,
                    3.8759975274607754
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    5.6267708667002716e-08,
                    -2.35550172641853e-08,
                    -1.1622181491636507e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseB_step1866",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1866 of case B, a deep pack insulating soil that stays frozen for the whole run. Layer(s) [1, 4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 265.99952240699713,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_B1866_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.8366470209817,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.89283243815106,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.88193895843716,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.7861907944947,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 266.624218619666,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.649243996608,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.12433089362077,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1688478443648957,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16781793174767254,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18436059005030198,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.2192413103838045,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -5.670974200694719,
                    4.68900372230605,
                    3.881321672463348
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    5.6681399053977606e-08,
                    -2.3433301029394252e-08,
                    -1.1638145944417835e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseB_step2122",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 2122 of case B, a deep pack insulating soil that stays frozen for the whole run. Layer(s) [1, 4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 264.39600206349655,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_B2122_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 265.40139769562904,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.90806070963544,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.861015344247,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.89640194173455,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 266.789004005613,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.63108126933,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.1190999900732,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.17464244504017037,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16848196660750722,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1842197869159591,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21909128534893488,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -6.065833416230345,
                    4.41296042182091,
                    3.9358619090612184
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    6.062801774308636e-08,
                    -2.2053774345155544e-08,
                    -1.1801684884741285e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseB_step26",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 26 of case B, a deep pack insulating soil that stays frozen for the whole run. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 263.2526439516071,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_B26_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.75514982724286,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.34706624348956,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.25194844471247,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 265.78585370030027,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.57114156669314,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1571989535742754,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16470011998480497,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18374186222512562,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21964362470977505,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -4.334381440458062,
                    -0.0,
                    7.668574071993315,
                    3.723208542943966
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.2996645804709882e-07,
                    0.0,
                    -3.8323706982866425e-08,
                    -1.1164043607028384e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseB_step2880",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 2880 of case B, a deep pack insulating soil that stays frozen for the whole run. Layer(s) [1, 4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 263.10316061250694,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_B2880_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 265.4687576186908,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 268.0539957682292,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.79784395846957,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.59003155975256,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 266.97704759965967,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.6012350781591,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.10330714362885,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.17363037983669505,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16926454497527915,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18399010043113706,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21864314896792997,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    6.1442547300561365,
                    -4.633475297415458,
                    3.1593660537815076,
                    4.099445336101928
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -1.8423552139429108e-07,
                    4.631159533530934e-08,
                    -1.578893517361112e-08,
                    -1.229218991334911e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseB_step435",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 435 of case B, a deep pack insulating soil that stays frozen for the whole run. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 264.38843147109196,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_B435_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.1100921494853,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.53375244140625,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.8145875701834,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 266.0612754787776,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.61781311617233,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.15866925713423954,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16568092804161075,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18410980077213127,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21964362586418634,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -7.767196993140573,
                    6.838648422069988,
                    3.7280703667159103
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    7.763315026986413e-08,
                    -3.417615267529498e-08,
                    -1.1178621789253105e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseB_step463",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 463 of case B, a deep pack insulating soil that stays frozen for the whole run. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 264.55907945374287,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_B463_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.14504240597836,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.54144287109375,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.88736469344593,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 266.0777034725883,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.6197357235942,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.15886617471894832,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16574065830568252,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18412510366389495,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21964362594110481,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -7.769602968976047,
                    6.803597585771728,
                    3.7283849664934077
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    7.765719800339605e-08,
                    -3.400098608406327e-08,
                    -1.1179565116921761e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseB_step492",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 492 of case B, a deep pack insulating soil that stays frozen for the whole run. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 264.5298843435946,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_B492_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.187751756759,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.54901123046875,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.9173240641509,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 266.0959491696585,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.62162781343795,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1589475276644679,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1658071733155133,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18414017366621266,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.2196436260204875,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -7.423137360148345,
                    -7.782152260768511,
                    6.769003411081042,
                    3.7287093785942433
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    2.225828260730129e-07,
                    7.778262820123514e-08,
                    -3.382810165969527e-08,
                    -1.1180537866849305e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseB_step51",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 51 of case B, a deep pack insulating soil that stays frozen for the whole run. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 263.2635130945321,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_B51_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.7602996684555,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.3607991536458,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.2559531907469,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 265.8008740707597,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.5745747942322,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.15720943997976342,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16475267480394537,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18376883872939842,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21964362478200739,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -4.39460872385453,
                    -0.0,
                    7.6078496486077185,
                    3.723523775403249
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.3177237356431058e-07,
                    0.0,
                    -3.8020236613188136e-08,
                    -1.1164988831793849e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseB_step517",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 517 of case B, a deep pack insulating soil that stays frozen for the whole run. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 264.3927261317292,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_B517_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.22028349517836,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.5558675130208,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.9111412006722,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 266.1109383868154,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.62334188407596,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.15893036030575786,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16586195587785865,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18415380055421443,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.2196436260886901,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -7.783640978751936,
                    6.737768059390939,
                    3.728987829095468
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    7.779750794060814e-08,
                    -3.367200295680211e-08,
                    -1.118137280088596e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseB_step561",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 561 of case B, a deep pack insulating soil that stays frozen for the whole run. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 264.58803047309226,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_B561_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.2719497551492,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.5682779947917,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.00422540374007,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 266.13626543357896,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.6264445045187,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.15918530298945943,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1659548079086965,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.18417843228799796,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21964362620820874,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -7.779206533680101,
                    6.681342210177772,
                    3.7294744104981743
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    7.775318565279579e-08,
                    -3.339001471606745e-08,
                    -1.1182831815586729e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseB_step658",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 658 of case B, a deep pack insulating soil that stays frozen for the whole run. Layer(s) [4] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 263.72845004329685,
        "tbot": 274.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_B658_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 264.39817045881364,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 267.59450276692706,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 270.93750002328306,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 263.8984764145901,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 266.1940453816305,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 269.6330006975525,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 272.13822115983226,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.15889449360469413,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.16616799807434024,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1842304527532584,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.21964362646936691,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -7.78098960398623,
                    6.561852376787228,
                    3.730532525153563
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    7.777100744425282e-08,
                    -3.279286414813919e-08,
                    -1.1186004573174102e-08
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step1",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. Layer(s) [1] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 266.44599412043084,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C1_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.0999984722585,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5333251953125,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8749923724682,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 270.63649814817234,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.3583278651349,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.75207328842953,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0193730932568,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.16746419584097932,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19420403963652721,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.20000001788139343,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    35.3005197536533,
                    -0.0,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -1.0584863336622061e-06,
                    0.0,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step1564",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1564 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. Layer(s) [1, 2] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 270.27697364307807,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C1564_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 271.1076812662772,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5295715332031,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8451805137816,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 270.6815824285107,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.1184196451826,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.71983242092585,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.01192012858513,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.16889547056858886,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.18799528209827387,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1999686062335968,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.2943911484027839,
                    2.326755219126113,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    8.827320660150346e-09,
                    -2.3255923305039195e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step169",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 169 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 269.49490107114605,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C169_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.1002120953014,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5321858723958,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.87178802681285,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 271.39877829161185,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.35852368626024,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.74842389472406,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.01857200684293,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.17570940303609806,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1942098488713028,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.20000001788139343,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    15.494894595579538,
                    -0.0,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -4.646145236787892e-07,
                    0.0,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step1785",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1785 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. Layer(s) [2] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 283.89919366320333,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C1785_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 271.3029174735441,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.52732340494794,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8409652733659,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.03860557055543,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.1666666649355,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7148443863754,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0108663184812,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.18819522690849372,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.18909928384740038,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1999202370643553,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -89.66117699186644,
                    1.8465467642804512,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    2.688491024162243e-06,
                    -1.8456238789657953e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step1810",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1810 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 284.4626434642655,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C1810_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 271.4972152652778,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5270690917969,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8404884362148,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.17451324620276,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.2151775345812,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.71428012907325,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0107471091934,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.19142049396492614,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19027337804563116,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19991064071654624,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -91.11196620342575,
                    1.409131329790946,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    2.731992948898101e-06,
                    -1.4084270602669665e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step1838",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1838 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 284.91598230451956,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C1838_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 271.6803207351647,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5267842610677,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.83995437860557,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.2990870666541,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.2608826943706,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7136481608949,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0106135947911,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.19481779812770156,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1914469122324027,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19989958405494024,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -91.86456155217341,
                    0.9969837120282652,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    2.754559525735676e-06,
                    -9.96485429696845e-09,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step1863",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1863 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 285.16995609564384,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C1863_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 271.8433532679152,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5265299479167,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.83947754145447,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.40725728153103,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.30157724927045,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7130839035928,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0104943855033,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.198189872941544,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19254349094622572,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19988952577113428,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -91.51271205325405,
                    0.6315801033300394,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    2.7440093160302368e-06,
                    -6.312644460102968e-09,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step1888",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1888 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 285.25687927201136,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C1888_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 271.98889922829153,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5262756347656,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8390007043034,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.5019655353875,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.3379001610768,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7125196462907,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0103751762156,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.20157429152469653,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19356730250678836,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1998794674873284,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -90.21334543167966,
                    0.30652143186332204,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    2.705047798722521e-06,
                    -3.063682355654724e-09,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step1978",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1978 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. Layer(s) [2] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 284.3804945164556,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C1978_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.983871463473,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5253601074219,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8372840905594,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 273.11340722214055,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5864143380362,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.71048832000315,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.00994602277956,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.2081040441991183,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19986350834369246,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19984495639800462,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -1.8899401627414179,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.8889955898470225e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step2003",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 2003 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. Layer(s) [2] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 283.7584908909183,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C2003_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 273.3867034972241,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5251057942708,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8368072534083,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.6725959160903,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.709924062701,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.00982681349177,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19985778629779474,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19983701407908908,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -2.780512401111832,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    2.7791227292595706e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step2104",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 2104 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 275.6493858302569,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C2104_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 274.36540223376943,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5240783691406,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8348808313179,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.7418182822437,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.70764446320055,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0093452079692,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1998521238565455,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19982393085956565,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -4.949607407262517,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    4.947133643760917e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step2119",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 2119 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. Layer(s) [1] take FRH2O's WARM path (tavg within 1e-3 K of freezing, free = smc), which only happens in the step where a layer's last ice disappears -- 3 layer-calls in the whole reference set. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 273.0668121189063,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C2119_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 274.33672333954837,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.52392578125,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.83459472902723,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 273.14909393391525,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.7407523566777,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7073059088193,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0092736823965,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.20865385234355627,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19985301792621715,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19982393085956568,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    -4.885632817911197,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    4.883191028259469e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step2141",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 2141 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 269.9544853583889,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C2141_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 274.2057571522118,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.52370198567706,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.83417511233426,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.6233308590162,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.73558373815735,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7068093623934,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0091687782233,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.20709727164000757,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19985432922840224,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19982393085956568,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    36.21151420902269,
                    -4.594183635166885,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -1.0858025088284584e-06,
                    4.591887508856009e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step2166",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 2166 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 269.44896955996074,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C2166_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 274.2057571522118,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.52344767252606,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.83369827518317,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.5102391804582,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.7355201598697,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7062451050914,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0090495689355,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.2024028951889467,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19985581934452148,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19982393085956568,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    39.68509661539837,
                    -4.603657607450528,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -1.1899579017704456e-06,
                    4.601356746144546e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step26",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 26 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. Layer(s) [1] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 268.0412772808923,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C26_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.1001892071182,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.53357950846356,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.87451553531713,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 271.0353666220026,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.3588205968642,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.751636187703,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.019253883969,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1713962052401019,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19421865976362435,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.20000001788139343,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    25.016124853925618,
                    -0.0,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -7.501086800946421e-07,
                    0.0,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step268",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 268 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. Layer(s) [1] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 272.91424693302145,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C268_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.05466460966704,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5311787923177,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8698997516945,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.2118628954378,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.3468850448321,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7461894358077,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.01809993806336,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.19020874251697892,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19386704103301458,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.20000001788139343,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -7.012955597562455,
                    -0.0,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    2.102835230303231e-07,
                    0.0,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step2880",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 2880 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 267.59058241409787,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C2880_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.241012572134,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5195821126302,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8248481776588,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 271.04865802390174,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.39989598564415,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.6959861126113,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0068370445544,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1740705780434149,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19541914635171237,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19982393085956573,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    31.809826190147877,
                    -0.0,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -9.538178625530597e-07,
                    0.0,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step380",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 380 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. Layer(s) [1] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 275.9234684230028,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C380_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.05466460966704,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.53003946940106,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8677635212576,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.4815036065365,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.346600214103,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.74366156309435,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.01756588045413,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.19834335055410893,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1938587137795247,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.20000001788139343,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -26.445148714091424,
                    -0.0,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    7.929579706155325e-07,
                    0.0,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step405",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 405 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. Layer(s) [1] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 277.0792878275947,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C405_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.05466460966704,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.52978515625,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8672866841065,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.50218686707706,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.3465366358152,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7430973057923,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.01744667116634,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.19920986704758817,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19385685541944112,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.20000001788139343,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -33.94087110649756,
                    -0.0,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0177172593924791e-06,
                    0.0,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step434",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 434 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. Layer(s) [1] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 277.5130995895714,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C434_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.05466460966704,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5294901529948,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8667335530112,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.50773590401855,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.3464628850014,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.74244276732185,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0173083883925,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1995895451562504,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19385469990542048,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.20000001788139343,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -36.78759104610972,
                    -0.0,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.1030761768495324e-06,
                    0.0,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step459",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 459 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. Layer(s) [1] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 277.7289289224177,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C459_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.05466460966704,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.52923583984375,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8662567158601,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.51018687634087,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.34639930671364,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7418785100197,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0171891791047,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.19983156772128444,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19385234285566016,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1999985426664334,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -38.21290857635563,
                    -0.0,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.145814333041647e-06,
                    0.0,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step56",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 56 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. Layer(s) [1] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 268.21243820893034,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C56_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.1002120953014,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.53333536783856,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8739433307358,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 271.07816257605793,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.35881106012096,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.75097433772953,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0191108328237,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.17186278702230162,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19421837670727213,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.20000001788139343,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    23.866184788362084,
                    -0.0,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -7.156277191222856e-07,
                    0.0,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step708",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 708 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. Layer(s) [1] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 267.2724060997736,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C708_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.1796798692198,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5280456542969,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8615074178352,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 270.915664314514,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.37836265529324,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7365942006502,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0160018545985,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.17118185646475892,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1947965742687095,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19996860623359675,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    30.846191045539417,
                    -0.0,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -9.249232559488863e-07,
                    0.0,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseC_step733",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 733 of case C, the freeze/thaw column whose top layer crosses 273.15 K and refreezes overnight. Layer(s) [1] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 267.2901203138098,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_C733_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.1798706040795,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.52829996744794,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8610305806841,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 270.920140551738,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.3788553870225,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7361570999236,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.01588264531074,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.17122772434447872,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19481170563396383,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19996860623359677,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    30.796424441070705,
                    -0.0,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -9.234310039630653e-07,
                    0.0,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step1",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1 of case D, a trace pack melting out into bare frozen ground. Layer(s) [1] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 262.9471643284575,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D1_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.0999984722585,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5333251953125,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8749923724682,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 269.761790700179,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.3583278651349,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.75207328842953,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0193730932568,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.16074326507420064,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19420403963652721,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.20000001788139343,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    60.00075592455724,
                    -0.0,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -1.7991230893696048e-06,
                    0.0,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step1000",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1000 of case D, a trace pack melting out into bare frozen ground. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 265.44285341717267,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D1000_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.7938919091818,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5233866373698,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.85593795991036,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 271.0217260044402,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5294844315598,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.729581515531,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0146094901173,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.17100853770701152,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1998607069253921,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1998443901538849,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    52.03722120821693,
                    -1.6308352535046702,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -1.5603364447616768e-06,
                    1.6300201786117962e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step1025",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1025 of case D, a trace pack melting out into bare frozen ground. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 265.36330516057944,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D1025_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.6688995378003,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.52313232421875,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.85546112275927,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 270.8872626003762,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.49817276042666,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.72901725822885,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.01449028082953,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.16961507650686156,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19871602870695876,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1998443901538849,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    51.272171515331635,
                    -1.3458956758189866,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -1.5373964243273389e-06,
                    1.3452230108324834e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step1501",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1501 of case D, a trace pack melting out into bare frozen ground. Layer(s) [2] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 263.5025828347321,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D1501_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 270.0575942847621,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.51922607421875,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.84638214340237,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 268.02815157967825,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 271.845071788964,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.71850776729593,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0122205359903,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1514345378815887,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1824799826451089,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1998443901538849,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    35.19142514519622,
                    4.806586286559001,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -1.0552151310585645e-06,
                    -4.8041840035606495e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step1526",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1526 of case D, a trace pack melting out into bare frozen ground. Layer(s) [2] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 263.40355820475173,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D1526_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 269.92498014819654,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5189717610677,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.84590530625127,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 267.88183246421363,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 271.8118546765348,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7179435099938,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0121013267025,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1508223715516829,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.18189628364357416,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1998443901538849,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    34.36417296867292,
                    5.125177095852046,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -1.0304099687138485e-06,
                    -5.122615584403612e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step1564",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1564 of case D, a trace pack melting out into bare frozen ground. Layer(s) [2] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 267.9830272064213,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D1564_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 269.72770689257715,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5185852050781,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8451805137816,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 268.8458658977965,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 271.76243972363255,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7170858388946,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.01192012858513,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.15521088674328304,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1810549803064211,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1998443901538848,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.26820104351420593,
                    5.5923366553406595,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    8.04201018044075e-09,
                    -5.58954166229003e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step1787",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1787 of case D, a trace pack melting out into bare frozen ground. Layer(s) [2] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 290.1510329677759,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D1787_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 270.92894743958624,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5163167317708,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8409271263938,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 271.8234676191945,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.062182742058,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7120526637599,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.01085678173814,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.18178599121158295,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.18663386492644637,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19958648085590144,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -135.62412713126128,
                    2.6108232527616373,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    4.066690408105077e-06,
                    -2.6095183898219355e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step1813",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1813 of case D, a trace pack melting out into bare frozen ground. Layer(s) [2] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 290.718489396822,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D1813_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 271.24198912854155,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.51605224609375,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.84043121575667,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.03308112315233,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.14037704287756,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.71146583616576,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0107328040789,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1857420162021232,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.18835428752995187,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19952224194999318,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -135.00483090924592,
                    1.8943364708169204,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    4.048120806522255e-06,
                    -1.8933897006924087e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step1838",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1838 of case D, a trace pack melting out into bare frozen ground. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 291.01796595854256,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D1838_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 271.496620172603,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5157979329427,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.83995437860557,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.1996780552427,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.2039712256052,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7109015788636,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0106135947911,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1894651341890955,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.18984815299117344,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19945885241027403,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -133.2212399335627,
                    1.315807552529372,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    3.994639818543075e-06,
                    -1.3151499252812389e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step1928",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1928 of case D, a trace pack melting out into bare frozen ground. Layer(s) [2] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 290.31875984448067,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D1928_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.963363650948,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.51488240559894,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8382377648616,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 273.10348390578565,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.57042821335546,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.70887025257605,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.01018444135514,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.198223456740298,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1992947906255384,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1992387920617681,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -1.8944836991991303,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.893536855491369e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step1934",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1934 of case D, a trace pack melting out into bare frozen ground. Layer(s) [1] take FRH2O's WARM path (tavg within 1e-3 K of freezing, free = smc), which only happens in the step where a layer's last ice disappears -- 3 layer-calls in the whole reference set. Layer(s) [2] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 290.178614445488,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D1934_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 273.1201934859061,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5148213704427,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.83812332394535,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 273.149072570293,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.60962041330595,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7087348308236,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.01015583112604,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.198194369673649,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19928270578381074,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19922532141204946,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -2.2343307399536685,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    2.2332140441472718e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step1935",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1935 of case D, a trace pack melting out into bare frozen ground. Layer(s) [1] take FRH2O's WARM path (tavg within 1e-3 K of freezing, free = smc), which only happens in the step where a layer's last ice disappears -- 3 layer-calls in the whole reference set. Layer(s) [2] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 290.15364032768935,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D1935_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 273.1459655807927,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5148111979167,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8381042504593,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 273.14998359731766,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.6160608938961,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7087122605315,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0101510627545,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.19818957149974484,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19928070902821085,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.1992231011390317,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -2.290171961028161,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    2.2890273563467336e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step1953",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 1953 of case D, a trace pack melting out into bare frozen ground. Layer(s) [2] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 289.64110927562,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D1953_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 273.5915756299461,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.51462809244794,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8377609277105,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.6864481147423,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.70830599527403,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.01006523206735,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1992458552121804,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19918434321876868,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -3.255396559585934,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    3.253769545455375e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step2096",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 2096 of case D, a trace pack melting out into bare frozen ground. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 277.65414354488064,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D2096_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 275.63363649467567,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.51317342122394,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.83503341920624,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.76041608495393,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.70507844350595,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0093833549413,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19909887015819544,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19902011752128565,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139343,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -7.669407326007381,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    7.66557423413546e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step2144",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 2144 of case D, a trace pack melting out into bare frozen ground. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 268.53919103171586,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D2144_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 275.28314973712844,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.51268513997394,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.83411789187613,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.46015152484375,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.7550258419883,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7039950694859,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.00915447310877,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.1966092145043156,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19909936189651514,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19901984930038447,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139343,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    56.35168835303033,
                    -6.907633127290564,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -1.6897057725134858e-06,
                    6.904180762424682e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step2169",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 2169 of case D, a trace pack melting out into bare frozen ground. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 268.2026980114165,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D2169_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 275.28314973712844,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.51243082682294,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.83364105472504,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.38902409940357,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.7549622637005,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7034308121839,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.009035263821,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.19432070305520005,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19909970462322246,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19901984930038447,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139343,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    58.79755069026501,
                    -6.933480207845243,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -1.7630449719374286e-06,
                    6.930014924871069e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step26",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 26 of case D, a trace pack melting out into bare frozen ground. Layer(s) [1] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 261.08120979942294,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D26_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.0999984722585,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.53307088216144,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.87451553531713,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 269.2953020679204,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.35826428684715,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.75150903112745,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.019253883969,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.15787068121238731,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.1942021538294308,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.20000001788139343,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    72.85819778366404,
                    -0.0,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -2.184653574152693e-06,
                    0.0,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step2880",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 2880 of case D, a trace pack melting out into bare frozen ground. Layer(s) [2] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 265.1138370996158,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D2880_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 271.45046996478857,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.50609334309894,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8200798061478,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 269.70754405125734,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.1906789129094,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.6876071300851,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0056449516767,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.15980530088981726,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.18939182009567146,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19901984930038452,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    39.4332924216769,
                    1.5833764625358622,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -1.1824075512466285e-06,
                    -1.5825851070646046e-08,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step392",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 392 of case D, a trace pack melting out into bare frozen ground. Layer(s) [1] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 282.06111154540895,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D392_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 271.8464202846489,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5293477376302,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.86753463942506,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.3988429215205,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.29393895381196,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7432483042247,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.017508659996,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.19528516220689507,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19236769292261802,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.2000000178813934,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -71.32863940346351,
                    0.47082126468704466,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    2.1387897553398495e-06,
                    -4.705859530017883e-09,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step417",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 417 of case D, a trace pack melting out into bare frozen ground. Layer(s) [1] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 283.06199859771243,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D417_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 271.8464202846489,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5290934244792,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.86705780227396,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.40351685398804,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.29387537552424,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7426840469227,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0173894507082,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.19541458878224865,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19236595891840944,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.2000000178813934,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -77.64018131248643,
                    0.465420309956041,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    2.3280413839747404e-06,
                    -4.651876976130937e-09,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step51",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 51 of case D, a trace pack melting out into bare frozen ground. Layer(s) [1] need the SECOND Newton iterate; the rest exit after the first. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 260.49147503268733,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D51_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.0999984722585,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.53281656901044,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.87403869816603,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 269.14786837623643,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.3582007085594,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7509447738254,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0191346746812,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.15703870330281475,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19420026817332467,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.20000001788139343,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    77.25185097119049,
                    -0.0,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -2.31639729595347e-06,
                    0.0,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step521",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 521 of case D, a trace pack melting out into bare frozen ground. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 282.26730000822283,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D521_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 271.95770263397264,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.5280354817708,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.8650741597254,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.47408308433586,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.32143147717807,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.74033673654594,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.01689354007107,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.19768310306151088,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19311445290777976,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19993899762629058,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -69.48115384988982,
                    0.2011155853445239,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    2.083392887992203e-06,
                    -2.0101506981799987e-09,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "dstc_dt",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.0,
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        }
      ]
    },
    {
      "id": "cold_caseD_step553",
      "description": "Reference: WRF 4.8 em_scm_xy COLD-SEASON single-column run, data/eqwefic/noahcold_scm, dumped by ctessum-claude/WRF branch earthsciml-instrumented-noahcold and replayed through the real64 (-fdefault-real-8) kernels/noah_driver at ESM_DT = 1e-6 s. tbnd, tavg and free are all evaluated by HRT on the INPUT column, before HSTEP advances anything, so they carry only the O(dt) dependence that reaches them through tsurf and through the sh2o SMFLX has already moved; 1e-6 s is therefore the right reference step, the same choice the soil-heat surface closure makes and for the same reason. The test supplies the replay's own frz_tsurf and frz_sh2o_hrt -- the liquid water HRT holds at the point it decides whether to evaluate the phase change, captured for EVERY layer whether SNKSRC is called or not, not the pre-SFLX value; the two differ at 193 of the 332 layer-calls because SMFLX has already moved the water by then. The TOTAL moisture is supplied the same way, as frz_sh2o_hrt + frz_sice, because HRT's smc has been advanced by SSTEP too -- taking smc from the dump's arguments while taking sh2o from inside HRT gives an ice content that is neither, which is what first made the evaluation guard and the equilibrium comparison disagree with WRF. tavg and free are asserted only at the layers where HRT's guard fired and WRF therefore formed them; the guard itself is asserted against the replay's frz_called at every layer, which is what makes the restriction a tested claim rather than a convenient omission. tbnd is asserted at layers 1-3 only: HRT calls TBND with tbot for the deepest layer through a separate call that the instrumentation does not publish, so layer 4's boundary temperature has no reference here. Step 553 of case D, a trace pack melting out into bare frozen ground. THE SINK IS NOW PINNED, which it was not when this component landed (FORTRAN_BUGS N97, since resolved). SNKSRC now publishes the RAW energy-driven xh2o, the sh2o it was formed from, the layer thickness and WHICH of its clamps fired, so tsnsr no longer has to be recovered from a difference that cancellation destroys. phase_active is asserted against the published clamp decision with ZERO tolerance and matches at every one of the 332 layer-calls; tsnsr and dsh2o_dt_phase are asserted against exact expressions in the published qtot and dz rather than against the differenced value, which at ESM_DT = 1e-6 s was off by up to 5.9e-3 relative. dstc_dt is asserted to be EXACTLY zero on every layer where the phase change is admitted -- the freezing plateau -- which holds independently of the heat capacity and is why this test can supply a placeholder hcpct.",
      "parameter_overrides": {
        "tsurf": 281.562242990759,
        "tbot": 276.0,
        "z_deep": 8.0,
        "smcmax": 0.47600001096725464,
        "bexp": 5.329999923706055,
        "psisat": 0.7590000033378601
      },
      "expression_template_imports": [
        {
          "ref": "./tests/frz_D553_inputs.esm"
        }
      ],
      "time_span": {
        "start": 0.0,
        "end": 1.0
      },
      "assertions": [
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.2099609363188,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.52785237630206,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tbnd",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.864463808172,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 272.6373914163019,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 272.3845570879208,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 272.7396500910404,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "tavg",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 273.0167409521827,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 1
          },
          "expected": 0.19932577013967476,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 2
          },
          "expected": 0.19496627271890113,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 3
          },
          "expected": 0.19991208612917344,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "free",
          "time": 0.0,
          "coords": {
            "lev": 4
          },
          "expected": 0.20000001788139346,
          "tolerance": {
            "rel": 1e-09
          }
        },
        {
          "variable": "third_iteration_needed",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "sink_evaluated",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    1.0,
                    1.0,
                    1.0,
                    1.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "phase_active",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 0.0,
            "rel": 0.0
          }
        },
        {
          "variable": "tsnsr",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    -0.0,
                    -0.0,
                    0.0,
                    -0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-09,
            "rel": 0.0
          }
        },
        {
          "variable": "dsh2o_dt_phase",
          "time": 0.0,
          "reduce": "Linf_error",
          "expected": 0.0,
          "reference": {
            "op": "faq",
            "output_idx": [
              "k"
            ],
            "args": [],
            "ranges": {
              "k": {
                "from": "lev"
              }
            },
            "expr": {
              "op": "index",
              "args": [
                {
                  "op": "const",
                  "args": [],
                  "value": [
                    0.0,
                    0.0,
                    -0.0,
                    0.0
                  ]
                },
                "k"
              ]
            }
          },
          "tolerance": {
            "abs": 1e-18,
            "rel": 0.0
          }
        }
      ]
    }
  ]
}