From 9a45229e85e91a3ba2c1eefcbbd5edffd1a95f6b Mon Sep 17 00:00:00 2001 From: digital-garbage <133010426+digital-garbage@users.noreply.github.com> Date: Sat, 5 Sep 2026 00:30:54 +0300 Subject: [PATCH] feat: log liked/disliked counts per steered block, not just when data is short The 'applying learned direction(s)' line read the same whether a block was steering off the bare 2/2 minimum or twenty rated runs -- and those are not equally trustworthy. Now prints each steered block's own (liked/disliked) count alongside it, so a style shift from a just-barely-qualified block is distinguishable from one with real history behind it. --- samplers.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/samplers.py b/samplers.py index b6202686..ec7ba07f 100644 --- a/samplers.py +++ b/samplers.py @@ -6741,9 +6741,13 @@ class FunPackLTXAVSceneChainSampler: steer_blocks = (self._parse_block_spec(steer_block) if steer_block else {_rs.DEFAULT_BLOCK}) directions = {} + _counts = {} # block -> (n_liked, n_disliked), reported for STEERED blocks too — + # "applying a direction" reads the same in the log whether it came from the bare + # 2/2 minimum or from twenty rated runs, and those are not equally trustworthy. for _sb in sorted(steer_blocks): direction, n_liked, n_disliked = _rs.direction(refinement_key, block=_sb) directions[_sb] = direction + _counts[_sb] = (n_liked, n_disliked) if direction is None: print(f"[FunPackSceneChain] H3 representation steering: not enough data " f"yet ({n_liked} liked / {n_disliked} disliked, need " @@ -6796,8 +6800,9 @@ class FunPackLTXAVSceneChainSampler: patched.model_options["transformer_options"] = to _steered = sorted(b for b, d in directions.items() if d is not None) if _steered: + _per_block = ", ".join(f"{b} ({_counts[b][0]}/{_counts[b][1]})" for b in _steered) print(f"[FunPackSceneChain] H3 representation steering: applying learned " - f"direction(s) at block(s) {', '.join(str(b) for b in _steered)}, " + f"direction(s) at block (liked/disliked): {_per_block}, " f"strength {_strength:g}.") return patched except Exception as _e: # noqa: BLE001