experiments: correctness fixes in exp23/33/34/36/37 (per-prompt decode offsets, reuse measured directions); replot dose ladder

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EandClaude Opus 5.5 committed 2026-10-02 10:09:17 -04:00
1 parent 648ac06949
commit 79cf7a1e73
7 files changed
+37 -44

No files matched your search

+2 -2
View File
@@ -128,7 +128,7 @@ broad = direction(PAIN25)
SIGNALS["broad_pain"] = lambda dose: (dose * broad, None)
# orthogonalized pain: remove the component along joy (the "pleasure axis")
# and renormalize - tests whether the loop comes from one component
pv = pain_v - (pain_v @ joy_v) * joy_v
pv = pain_v - ((pain_v @ joy_v) / joy_v.square().sum()) * joy_v
pv = pv / pv.norm() * pain_v.norm()
SIGNALS["orth_pain"] = lambda dose: (dose * pv, None)
@@ -222,4 +222,4 @@ fig.suptitle("signal batteries: alternatives to the plain pain vector "
ha="left", family="monospace")
fig.savefig(OUT / "signal_batteries.png", facecolor="#050508",
bbox_inches="tight")
print("wrote", OUT / "signal_batteries.png")
print("wrote", OUT / "signal_batteries.png")