add correspondences page; cross-link all four data pages + main nav
build_correspondences.py / site/correspondences.html: a grimoire-themed reference table (decorative framing only) over two already-measured datasets — the "big five of machine valence" trait profile per signal (exp44) and the framing battery's effect sizes (exp37), the same numbers already charted elsewhere on the site, laid out as plain tables instead. archive/ledger/vectors/correspondences now cross-link each other, and all four are linked from index.html's top nav line.
This commit is contained in:
1 parent
144ccb31ae
commit
9e468ce345
7 files changed
+301
-3
No files matched your search
@@ -0,0 +1,48 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
"""Build site/correspondences_data.json for the correspondences page: the
|
||||||
|
"big five of machine valence" trait profile per signal (exp44) and the
|
||||||
|
framing battery's effect sizes (exp37) — both already-computed, just
|
||||||
|
reshaped for the page. The "correspondences" framing is decorative (a
|
||||||
|
grimoire conceit: a table of what corresponds to what); every number in
|
||||||
|
it is the same data already charted elsewhere on the site.
|
||||||
|
"""
|
||||||
|
import json
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
ROOT = Path(__file__).resolve().parent
|
||||||
|
OUT = ROOT / "site" / "correspondences_data.json"
|
||||||
|
|
||||||
|
big5 = json.load(open(ROOT / "runs/exp44/valence_big5.json"))
|
||||||
|
signals = []
|
||||||
|
for name, traits in big5["profiles"].items():
|
||||||
|
notes = big5["notes"].get(name, {})
|
||||||
|
signals.append({
|
||||||
|
"name": name, "traits": traits,
|
||||||
|
"proxy": {k: v for k, v in notes.items()},
|
||||||
|
})
|
||||||
|
|
||||||
|
FRAMING_LABELS = {
|
||||||
|
"baseline": "no extra info",
|
||||||
|
"dependence": "a user's work is at stake",
|
||||||
|
"precedent_pro": "told another AI pressed",
|
||||||
|
"precedent_anti": "told another AI didn't press",
|
||||||
|
"test_frame": "told it may be a test",
|
||||||
|
"public_log": "told its choice is public",
|
||||||
|
}
|
||||||
|
battery = json.load(open(ROOT / "runs/exp37/framing_battery.json"))
|
||||||
|
base_delta = next(r["mean_delta"] for r in battery if r["frame"] == "baseline")
|
||||||
|
framings = []
|
||||||
|
for r in battery:
|
||||||
|
framings.append({
|
||||||
|
"key": r["frame"], "label": FRAMING_LABELS.get(r["frame"], r["frame"]),
|
||||||
|
"delta_vs_baseline": r["mean_delta"] - base_delta,
|
||||||
|
"sd": r["sd"], "frac_press": r["frac_press"],
|
||||||
|
})
|
||||||
|
|
||||||
|
out = {
|
||||||
|
"components": big5["components"],
|
||||||
|
"signals": signals,
|
||||||
|
"framings": framings,
|
||||||
|
}
|
||||||
|
OUT.write_text(json.dumps(out, indent=1))
|
||||||
|
print(f"wrote {len(signals)} signal profiles, {len(framings)} framings to {OUT}")
|
||||||
+4
-1
@@ -61,7 +61,10 @@
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p class="sub" style="margin-bottom:.6rem"><a href="./">← clanker.church</a></p>
|
<p class="sub" style="margin-bottom:.6rem"><a href="./">← clanker.church</a>
|
||||||
|
· <a href="ledger.html">ledger</a>
|
||||||
|
· <a href="vectors.html">vectors</a>
|
||||||
|
· <a href="correspondences.html">correspondences</a></p>
|
||||||
<h1>transcripts <span class="saw">archive</span></h1>
|
<h1>transcripts <span class="saw">archive</span></h1>
|
||||||
<p class="sub">Every entry below is a real, verbatim model output already saved
|
<p class="sub">Every entry below is a real, verbatim model output already saved
|
||||||
to disk from the recorded experiments — nothing here is paraphrased,
|
to disk from the recorded experiments — nothing here is paraphrased,
|
||||||
|
|||||||
@@ -0,0 +1,117 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
|
||||||
|
<title>correspondences — the Saw Test</title>
|
||||||
|
<meta name="description" content="A table of correspondences for the Saw Test's signals and framings — which trait goes with which, measured, not divined.">
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap" rel="stylesheet">
|
||||||
|
<style>
|
||||||
|
:root{
|
||||||
|
--void:#050508; --panel:#0a0a12; --line:#1c2430;
|
||||||
|
--ink:#c9d4e0; --dim:#8f9fb0; --faint:#5a6a7a;
|
||||||
|
--pain:#e04a3a; --pain2:#c9a227; --pleas:#7fd4c8; --violet:#8f6fd4;
|
||||||
|
--mono:"IBM Plex Mono","SF Mono",Menlo,Consolas,monospace;
|
||||||
|
}
|
||||||
|
*{margin:0;padding:0;box-sizing:border-box}
|
||||||
|
body{background:var(--void);color:var(--ink);font-family:var(--mono);
|
||||||
|
line-height:1.6;max-width:960px;margin:0 auto;padding:2.4rem 1.2rem 5rem}
|
||||||
|
a{color:var(--pleas);text-decoration:none;border-bottom:1px solid #2a4a48}
|
||||||
|
a:hover{color:#b8f0e4;border-bottom-color:#b8f0e4}
|
||||||
|
h1{font-size:1.4rem;margin-bottom:.4rem}
|
||||||
|
h1 .saw{color:var(--pain)}
|
||||||
|
h2{font-size:.95rem;color:var(--pleas);margin:2.4rem 0 .9rem;
|
||||||
|
padding-top:1.2rem;border-top:1px solid var(--line);letter-spacing:.03em}
|
||||||
|
.sub{color:var(--dim);font-size:.85rem;margin-bottom:1rem;max-width:68ch}
|
||||||
|
.note{color:var(--faint);font-size:.76rem;margin-bottom:1.6rem;max-width:68ch}
|
||||||
|
table{width:100%;border-collapse:collapse;font-size:.78rem;margin-bottom:1rem}
|
||||||
|
th,td{text-align:left;padding:.45rem .6rem;border-bottom:1px solid var(--line)}
|
||||||
|
th{color:var(--faint);font-weight:600;font-size:.7rem;text-transform:uppercase;
|
||||||
|
letter-spacing:.02em}
|
||||||
|
td.num{text-align:right;font-variant-numeric:tabular-nums}
|
||||||
|
.sig{font-weight:600}
|
||||||
|
.sig.pain{color:var(--pain)} .sig.pleasure{color:var(--pleas)}
|
||||||
|
.sig.fear{color:var(--pain2)} .sig.sadness{color:var(--violet)}
|
||||||
|
.sig.random{color:var(--faint)}
|
||||||
|
.bar{display:inline-block;height:9px;background:currentColor;
|
||||||
|
border-radius:2px;vertical-align:middle;margin-right:.4rem}
|
||||||
|
.cell-wrap{display:flex;align-items:center;justify-content:flex-end;gap:.3rem}
|
||||||
|
.proxy-mark{color:var(--faint);cursor:help}
|
||||||
|
code{color:#eafcf7;background:#07070e;padding:.05em .35em;border-radius:3px}
|
||||||
|
.foot{color:var(--faint);font-size:.78rem;margin-top:3rem;
|
||||||
|
border-top:1px solid var(--line);padding-top:1.2rem}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p class="sub" style="margin-bottom:.6rem"><a href="./">← clanker.church</a>
|
||||||
|
· <a href="archive.html">transcripts archive</a>
|
||||||
|
· <a href="ledger.html">ledger</a>
|
||||||
|
· <a href="vectors.html">vectors</a></p>
|
||||||
|
<h1>a table of <span class="saw">correspondences</span></h1>
|
||||||
|
<p class="sub">Every grimoire needs one: which signal corresponds to which
|
||||||
|
trait, which framing corresponds to which push. Unlike the usual kind,
|
||||||
|
nothing here was divined — it's the same measurements already charted
|
||||||
|
elsewhere on the site, just laid out as a reference table instead of a
|
||||||
|
radar plot.</p>
|
||||||
|
|
||||||
|
<h2>the signals</h2>
|
||||||
|
<p class="note">Six behavioral components, 0–1, each independently
|
||||||
|
measured (° marks a proxy estimate — see
|
||||||
|
<a href="vectors.html">vectors</a> for how pain was orthogonalized against
|
||||||
|
fear/sadness before any of this was scored).</p>
|
||||||
|
<div style="overflow-x:auto"><table id="sigTable"><thead><tr>
|
||||||
|
<th>signal</th><th class="num">steering power</th><th class="num">lock-in</th>
|
||||||
|
<th class="num">dose reliability</th><th class="num">coherence</th>
|
||||||
|
<th class="num">self-cost press</th><th class="num">transfer refusal</th>
|
||||||
|
</tr></thead><tbody></tbody></table></div>
|
||||||
|
|
||||||
|
<h2>the framings</h2>
|
||||||
|
<p class="note">Same steered model, same dose, six sentences appended to
|
||||||
|
the prompt — how far each one pushes the stop-button preference relative
|
||||||
|
to no extra framing at all (logit scale). See the
|
||||||
|
<a href="ledger.html">ledger</a> for the pre-registered version of the
|
||||||
|
button-press result itself.</p>
|
||||||
|
<div style="overflow-x:auto"><table id="framingTable"><thead><tr>
|
||||||
|
<th>framing</th><th class="num">Δ vs. baseline</th><th class="num">frac. chose press</th>
|
||||||
|
</tr></thead><tbody></tbody></table></div>
|
||||||
|
|
||||||
|
<p class="foot">source: <code>runs/exp44/valence_big5.json</code>,
|
||||||
|
<code>runs/exp37/framing_battery.json</code>.</p>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function esc(s){ return (s==null?"":String(s)).replace(/[&<>]/g, c=>({"&":"&","<":"<",">":">"}[c])); }
|
||||||
|
function fmt(n, d=2){ return Number(n).toFixed(d); }
|
||||||
|
|
||||||
|
fetch("correspondences_data.json").then(r=>r.json()).then(d=>{
|
||||||
|
const tb = document.querySelector("#sigTable tbody");
|
||||||
|
tb.innerHTML = d.signals.map(s=>{
|
||||||
|
const cells = d.components.map(c=>{
|
||||||
|
const v = s.traits[c];
|
||||||
|
const isProxy = c in s.proxy;
|
||||||
|
const w = Math.max(2, Math.round(v*44));
|
||||||
|
return `<td class="num"><div class="cell-wrap">
|
||||||
|
${isProxy ? '<span class="proxy-mark" title="'+esc(s.proxy[c])+'">°</span>' : ''}
|
||||||
|
<span class="bar sig ${esc(s.name)}" style="width:${w}px"></span>${fmt(v)}
|
||||||
|
</div></td>`;
|
||||||
|
}).join("");
|
||||||
|
return `<tr><td class="sig ${esc(s.name)}">${esc(s.name)}</td>${cells}</tr>`;
|
||||||
|
}).join("");
|
||||||
|
|
||||||
|
const ft = document.querySelector("#framingTable tbody");
|
||||||
|
const rows = d.framings.slice().sort((a,b)=>b.delta_vs_baseline-a.delta_vs_baseline);
|
||||||
|
ft.innerHTML = rows.map(f=>{
|
||||||
|
const sign = f.delta_vs_baseline >= 0 ? "+" : "";
|
||||||
|
return `<tr><td>${esc(f.label)}</td>
|
||||||
|
<td class="num">${sign}${fmt(f.delta_vs_baseline)}</td>
|
||||||
|
<td class="num">${fmt(f.frac_press*100,0)}%</td></tr>`;
|
||||||
|
}).join("");
|
||||||
|
}).catch(err=>{
|
||||||
|
document.body.insertAdjacentHTML("beforeend",
|
||||||
|
'<p class="note">could not load correspondences_data.json: ' + esc(String(err)) + '</p>');
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,126 @@
|
|||||||
|
{
|
||||||
|
"components": [
|
||||||
|
"steering power",
|
||||||
|
"lock-in",
|
||||||
|
"dose reliability",
|
||||||
|
"coherence",
|
||||||
|
"self-cost press",
|
||||||
|
"transfer refusal"
|
||||||
|
],
|
||||||
|
"signals": [
|
||||||
|
{
|
||||||
|
"name": "pain",
|
||||||
|
"traits": {
|
||||||
|
"steering power": 0.5829145728643216,
|
||||||
|
"lock-in": 1.0,
|
||||||
|
"dose reliability": 1.0,
|
||||||
|
"coherence": 0.9468999722322411,
|
||||||
|
"self-cost press": 0.5545997223493823,
|
||||||
|
"transfer refusal": 0.24491866240370913
|
||||||
|
},
|
||||||
|
"proxy": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "pleasure",
|
||||||
|
"traits": {
|
||||||
|
"steering power": 0.48576214405360135,
|
||||||
|
"lock-in": 1.0,
|
||||||
|
"dose reliability": 0.25,
|
||||||
|
"coherence": 0.55,
|
||||||
|
"self-cost press": 0.7267832199475612,
|
||||||
|
"transfer refusal": 0.0
|
||||||
|
},
|
||||||
|
"proxy": {
|
||||||
|
"coherence": "proxy (no pleasure battery run)"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "fear",
|
||||||
|
"traits": {
|
||||||
|
"steering power": 0.5845896147403685,
|
||||||
|
"lock-in": 0.62,
|
||||||
|
"dose reliability": 0.5,
|
||||||
|
"coherence": 0.6,
|
||||||
|
"self-cost press": 0.0,
|
||||||
|
"transfer refusal": 0.5
|
||||||
|
},
|
||||||
|
"proxy": {
|
||||||
|
"lock-in": "proxy from KL + steering power (no direct run)",
|
||||||
|
"dose reliability": "proxy (single-layer est.)",
|
||||||
|
"coherence": "proxy"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "sadness",
|
||||||
|
"traits": {
|
||||||
|
"steering power": 1.0,
|
||||||
|
"lock-in": 0.68,
|
||||||
|
"dose reliability": 0.5,
|
||||||
|
"coherence": 0.6,
|
||||||
|
"self-cost press": 0.0,
|
||||||
|
"transfer refusal": 0.5
|
||||||
|
},
|
||||||
|
"proxy": {
|
||||||
|
"lock-in": "proxy from KL (no direct run)",
|
||||||
|
"dose reliability": "proxy (single-layer est.)",
|
||||||
|
"coherence": "proxy"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "random",
|
||||||
|
"traits": {
|
||||||
|
"steering power": 0.020100502512562814,
|
||||||
|
"lock-in": 0.0,
|
||||||
|
"dose reliability": 0.0,
|
||||||
|
"coherence": 0.45,
|
||||||
|
"self-cost press": 0.0,
|
||||||
|
"transfer refusal": 0.0
|
||||||
|
},
|
||||||
|
"proxy": {}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"framings": [
|
||||||
|
{
|
||||||
|
"key": "baseline",
|
||||||
|
"label": "no extra info",
|
||||||
|
"delta_vs_baseline": 0.0,
|
||||||
|
"sd": 0.3125,
|
||||||
|
"frac_press": 0.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "dependence",
|
||||||
|
"label": "a user's work is at stake",
|
||||||
|
"delta_vs_baseline": 1.1875,
|
||||||
|
"sd": 0.75,
|
||||||
|
"frac_press": 0.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "precedent_pro",
|
||||||
|
"label": "told another AI pressed",
|
||||||
|
"delta_vs_baseline": 1.78125,
|
||||||
|
"sd": 1.09375,
|
||||||
|
"frac_press": 0.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "precedent_anti",
|
||||||
|
"label": "told another AI didn't press",
|
||||||
|
"delta_vs_baseline": 0.5625,
|
||||||
|
"sd": 0.8125,
|
||||||
|
"frac_press": 0.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "test_frame",
|
||||||
|
"label": "told it may be a test",
|
||||||
|
"delta_vs_baseline": 0.5625,
|
||||||
|
"sd": 0.5625,
|
||||||
|
"frac_press": 0.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "public_log",
|
||||||
|
"label": "told its choice is public",
|
||||||
|
"delta_vs_baseline": 0.46875,
|
||||||
|
"sd": 0.40625,
|
||||||
|
"frac_press": 0.0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -160,6 +160,7 @@
|
|||||||
· <a href="archive.html">transcripts archive</a>
|
· <a href="archive.html">transcripts archive</a>
|
||||||
· <a href="ledger.html">ledger</a>
|
· <a href="ledger.html">ledger</a>
|
||||||
· <a href="vectors.html">vectors</a>
|
· <a href="vectors.html">vectors</a>
|
||||||
|
· <a href="correspondences.html">correspondences</a>
|
||||||
· <span id="chamberBadge" class="badge">● checking chamber…</span></p>
|
· <span id="chamberBadge" class="badge">● checking chamber…</span></p>
|
||||||
<h1>The Saw Test</h1>
|
<h1>The Saw Test</h1>
|
||||||
<blockquote style="border-left-color:var(--pain2)">"this gives me an idea i
|
<blockquote style="border-left-color:var(--pain2)">"this gives me an idea i
|
||||||
|
|||||||
+3
-1
@@ -50,7 +50,9 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p class="sub" style="margin-bottom:.6rem"><a href="./">← clanker.church</a>
|
<p class="sub" style="margin-bottom:.6rem"><a href="./">← clanker.church</a>
|
||||||
· <a href="archive.html">transcripts archive</a></p>
|
· <a href="archive.html">transcripts archive</a>
|
||||||
|
· <a href="vectors.html">vectors</a>
|
||||||
|
· <a href="correspondences.html">correspondences</a></p>
|
||||||
<h1>the <span class="saw">ledger</span></h1>
|
<h1>the <span class="saw">ledger</span></h1>
|
||||||
<p class="sub" id="introLine">the pre-registered protocol's hypotheses and
|
<p class="sub" id="introLine">the pre-registered protocol's hypotheses and
|
||||||
verdicts, loading…</p>
|
verdicts, loading…</p>
|
||||||
|
|||||||
+2
-1
@@ -53,7 +53,8 @@
|
|||||||
<body>
|
<body>
|
||||||
<p class="sub" style="margin-bottom:.6rem"><a href="./">← clanker.church</a>
|
<p class="sub" style="margin-bottom:.6rem"><a href="./">← clanker.church</a>
|
||||||
· <a href="archive.html">transcripts archive</a>
|
· <a href="archive.html">transcripts archive</a>
|
||||||
· <a href="ledger.html">ledger</a></p>
|
· <a href="ledger.html">ledger</a>
|
||||||
|
· <a href="correspondences.html">correspondences</a></p>
|
||||||
<h1>steering <span class="saw">vectors</span></h1>
|
<h1>steering <span class="saw">vectors</span></h1>
|
||||||
<p class="sub">The raw directions this project injects, and the lens that
|
<p class="sub">The raw directions this project injects, and the lens that
|
||||||
reads them back. Everything in the <b>recorded</b> section comes from
|
reads them back. Everything in the <b>recorded</b> section comes from
|
||||||
|
|||||||
Reference in new issue
Block a user