Section 4: Deviation (nearest boundary only)
z= (val−lo)/hs if val < lo
z= (val−hi)/hs if val > hi
z= 0 if val in [lo, hi]
hs = (hi−lo)/2 · deviation from NEAREST BOUNDARY only
Sections 6–8: L, NL, H per config
L_m= Σ(zi·di) / (Σ|zi|+ε)
NL_m= Var(Z)/(Var(Z)+1) + ΔNL_enc
H_m= 3(N+·N- + N+·N0 + N-·N0) / |Cm|²
Section 9: Type-adaptive weights
α_m= (n_lin·0.33 + n_nl·0.30 + n_hy·0.25) / |Cm|
β_m= (n_lin·0.33 + n_nl·0.40 + n_hy·0.30) / |Cm|
δ_m= 1 − α_m − β_m
Adjusted for ENC strength: WEAK/MODERATE/STRONG/CONFIRMED
Sections 14–15: Lconf, Ω
L_conf= wA·Am + wB·Bm + wC·Cm
A_m= Var(Z)/(Var(Z)+1)
B_m= 1 − |Σdi|/|Cm|
C_m= H_m (hybrid mix term)
Ω_m= exp(−L_conf_m)
Ω ≥ 0.368 → Structured Dynamics
Ω < 0.368 → Emergent Instability
Sections 18–22: RSL + MCAP
τ_RSL= Ω_ref − Ω
|R_mag|= |τ| / (Ω_ref + ε)
R_mod= sign × |R_mag|
ΔC_m= (1/2)·Σ|sign(zi)−sign(zi_ref)|
MCAP_m= (1−Ω_m)·ΔC_m
Section 1.0: Config Discovery
A_ij= 1/(1+d_type+d_emerg+d_interact)
ΔΩ= (Ω_left+Ω_right)/2 − Ω_current
Split accepted if ΔΩ > 0.05. Stop: |Cleft|<2 or |Cright|<2
UCEDP v1.2.1 — G S Ramesh Kumar
DOI: dx.doi.org/10.17504/protocols.io.5jyl83mnrv2w/v1
Section 26 outputs are EXPLORATORY — not for clinical use.