From 329e2ec057594000188824720576bbdfabe6bd20 Mon Sep 17 00:00:00 2001 From: digital-garbage <133010426+digital-garbage@users.noreply.github.com> Date: Thu, 3 Sep 2026 19:30:55 +0300 Subject: [PATCH] fix: stop printing the block-sweep ranking to console every rating Duplicated what Settings > Refinement & Taste already computes and shows as a table on demand. Console still gets the compact one-line commit confirmation; the full per-block permutation-test ranking now lives only in the panel. --- conditioning.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/conditioning.py b/conditioning.py index f8f105b3..668d18c7 100644 --- a/conditioning.py +++ b/conditioning.py @@ -10206,14 +10206,13 @@ class FunPackVideoRefinerV2(FunPackVideoRefiner): # "these are different prompts" cannot masquerade as "these are different # ratings", the confound that made the FIRST cross-prompt read of this # project's output value function come out inverted. + # Block sweep is NOT printed here -- it's the same computation the + # Settings > Refinement & Taste panel already runs on demand and shows as + # a table (reinsRows in settings_window.js), and running the full + # permutation test on every single rating just to throw the ranked line + # into the console was pure noise duplicating what the panel already has. _rs.commit(refinement_key, _rs_reward, prompt_hash=_tp.prompt_hash((previous_run or {}).get("conditioning"))) - _sweep = _rs.block_sweep(refinement_key) - if _sweep: - _ranked = sorted(_sweep.items(), key=lambda kv: kv[1]["p_value"]) - print("[FunPackRefiner] H3 representation steering: block sweep — " - + ", ".join(f"b{b}(sep={r['separation']:+.3f} p={r['p_value']:.3f} n={r['n']})" - for b, r in _ranked)) # DynaShift negative memory: pair the sampler's pending raw latent with this # rating — promote into the per-key negative bank when the rating marks the run # a bad outcome (intrusions: awful / wrong_appearance; or the quality-missing