MUTANTS={# name -> (text in ridge.py or export.py, replacement)
'seam cost: the rows a seam sweeps are not paid (it hops across a receding ridge)':("np.cumsum(0.5 * (cov[:, x - 1] + cov[:, x])) + SEAM_LAM * bins","SEAM_LAM * bins"),
'seam prior pulls hard to the target (2.0: the seam hops across the ridge)':("SEAM_PRIOR = 0.1 ","SEAM_PRIOR = 2.0 "),
'normals: the authored exaggeration is dropped':("h = np.asarray(h, np.float64); E = PXDEG_V / HPX_DEG","h = np.asarray(h, np.float64); E = 1.0"),
'normals: the lateral neighbour is one sample nearer (not equal distance)':("st = E * (np.roll(h, -1, axis=1) - np.roll(h, 1, axis=1))","st = E * (np.roll(np.roll(h, -1, axis=1), 1, axis=0) - np.roll(h, 1, axis=1))"),
'cards: the near edge is ignored (every card starts at sample 0)':("k0 = 0 if i == 0 else int(ks0[i - 1][x])","k0 = 0"),
'cards: the farther card fades in over the window too (both cards translucent)':("X[i, :, x] = 1 - s * s * (3 - 2 * s)","X[i, :, x] = 1 - s * s * (3 - 2 * s); X[i + 1, :, x] = s * s * (3 - 2 * s)"),
'cards: a crest row is all or nothing (no fractional coverage)':("F[i, :, x] = np.where(hit, np.clip((rm[-1] - lo) / p, 0, 1), 0)","F[i, :, x] = np.where(hit, 1.0, 0)"),
line=('KILLED 'ifr.returncodeelse'SURVIVED ')+name+' -> '+(', '.join(fails)or'no fixture failed');print(line,file=sys.stderr,flush=True)# progress: a killed run keeps what finished