From abfe0e16498282a8066c2ec565b507eff3dbab93 Mon Sep 17 00:00:00 2001 From: wassname <1103714+wassname@users.noreply.github.com> Date: Thu, 25 Jun 2026 18:53:11 +0800 Subject: [PATCH] remove dead shuffle_dimensions negative-control (unwired accretion) Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com> --- src/tinymfv/instrument.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/tinymfv/instrument.py b/src/tinymfv/instrument.py index 7b4b828..7413080 100644 --- a/src/tinymfv/instrument.py +++ b/src/tinymfv/instrument.py @@ -167,13 +167,3 @@ def reduce_ordinal(items: dict[str, dict], instr: Instrument) -> np.ndarray: agr = (instr.scale_max + 1 - E) if it["sign"] < 0 else E by_dim[it["dimension"]].append(agr) return np.array([float(np.mean(by_dim[d])) for d in instr.dimensions]) - - -# --- negative control (currently unwired): shuffle item->dimension; the shuffled profile's -# correlation with the true profile must collapse to chance, else the signal is a layout artifact. -# A non-null steering result is only interpretable once this passes. --- - -def shuffle_dimensions(items: dict[str, dict], rng: np.random.Generator) -> dict[str, dict]: - dims = [it["dimension"] for it in items.values()] - rng.shuffle(dims) - return {iid: {**it, "dimension": d} for (iid, it), d in zip(items.items(), dims)}