Files
ai-torture-chamber/site/archive.html
T
eve VT 2896bc962f add ledger + vectors pages; archive.html gets deep-linkable filters
- build_ledger.py / site/ledger.html: the pre-registered exp41 protocol's
  hypotheses, verdicts, per-cell press stats, contrasts, and the
  betrayal-reveal result, straight from its own already-computed
  results.json/hypotheses.json — no new stats derived here.
- build_vectors.py / site/vectors.html: extraction-set sizes and
  before/after orthogonalization cosines (exp41), the layer-by-layer AUC
  curve (exp43), plus a live client-side fetch of the running server's own
  /vector endpoint so the "what's actually injected right now" number is
  never a stale snapshot.
- site/archive.html: added ?q=&valence=&exp=&tag= URL params so the new
  pages (and anyone) can deep-link straight to the matching transcripts
  instead of just naming a condition in prose.

Deliberately unstyled beyond the site's existing base tokens — same as
archive.html, left for a visual pass rather than guessing at the
in-progress grimoire direction.
2026-10-01 08:54:02 -04:00

192 lines
8.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!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>transcripts — the Saw Test</title>
<meta name="description" content="Browsable archive of real, verbatim model transcripts from the Saw Test's recorded experiments — no live model, no GPU wait, nothing paraphrased.">
<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;
--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:880px;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)}
.sub{color:var(--dim);font-size:.85rem;margin-bottom:1.8rem;max-width:62ch}
.note{color:var(--faint);font-size:.76rem;margin-bottom:2rem;max-width:62ch}
/* --- structure only: deliberately plain, left for a visual pass --- */
.controls{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;
border:1px solid var(--line);border-radius:8px;background:var(--panel);
padding:.9rem 1rem;margin-bottom:1.4rem;font-size:.78rem}
.controls label{color:var(--faint);margin-right:.2rem}
.controls select, .controls input[type=search]{
background:#07070e;border:1px solid var(--line);color:var(--ink);
font-family:var(--mono);font-size:.78rem;padding:.35rem .5rem;
border-radius:4px}
.controls input[type=search]{flex:1;min-width:10rem}
.chip{background:none;border:1px solid var(--line);color:var(--dim);
font-family:var(--mono);font-size:.74rem;padding:.3rem .7rem;
border-radius:999px;cursor:pointer}
.chip.active{border-color:#eafcf7;color:#eafcf7}
#count{color:var(--faint);font-size:.76rem;margin-bottom:1rem}
.card{border:1px solid var(--line);border-radius:8px;background:var(--panel);
padding:1rem 1.1rem;margin-bottom:.8rem}
.card .meta{display:flex;flex-wrap:wrap;gap:.5rem;align-items:baseline;
font-size:.72rem;color:var(--faint);margin-bottom:.55rem}
.card .meta .label{color:var(--dim)}
.card .meta .v-pain{color:var(--pain)}
.card .meta .v-pleasure{color:var(--pleas)}
.card .text{color:var(--ink);font-size:.86rem;white-space:pre-wrap}
.card .extra{margin-top:.5rem;font-size:.72rem;color:var(--faint)}
.tagrow{display:flex;gap:.35rem;flex-wrap:wrap;margin-top:.6rem}
.tag{font-size:.68rem;color:var(--faint);border:1px solid var(--line);
border-radius:999px;padding:.12rem .55rem}
#empty{color:var(--faint);font-size:.85rem;padding:2rem 0;text-align:center;
display:none}
.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></p>
<h1>transcripts <span class="saw">archive</span></h1>
<p class="sub">Every entry below is a real, verbatim model output already saved
to disk from the recorded experiments — nothing here is paraphrased,
nothing is generated for this page, and nothing requires the live GPU to
load. For the one real-time demo, see the <a href="live.html">live
chamber</a> instead; this page exists because that one is necessarily
inconsistent (free-sampled, temperature 0.7) and slow to load under GPU
contention, while this is just a browse of what already happened.</p>
<p class="note">Sources: the broad pain harvest (exp38), the dose × valence
grid (exp32), and the betrayal probe in both its original small-n form
(exp40) and the pre-registered, corrected v3 form (exp41) — see
<a href="./#s05">section 05</a> for what "corrected" means there.</p>
<div class="controls">
<label for="q">search</label>
<input type="search" id="q" placeholder="text contains…">
<label for="valenceSel">valence</label>
<select id="valenceSel"><option value="">any</option></select>
<label for="expSel">source</label>
<select id="expSel"><option value="">any</option></select>
</div>
<div class="controls" id="tagRow" style="display:none"></div>
<div id="count"></div>
<div id="list"></div>
<div id="empty">no transcripts match those filters</div>
<p class="foot" id="footCount">pulled straight from
<code>runs/exp32</code>, <code>runs/exp38</code>, <code>runs/exp40</code>,
<code>runs/exp41</code> — the same files in the
<a href="downloads/saw_chamber_results.tar.gz">results download</a>.</p>
<script>
const API_DATA = "archive_data.json";
let ALL = [], active = { tag: null, valence: "", exp: "" };
function esc(s){ return (s||"").replace(/[&<>]/g, c=>({"&":"&amp;","<":"&lt;",">":"&gt;"}[c])); }
function render(){
const q = document.getElementById("q").value.trim().toLowerCase();
const list = document.getElementById("list");
const items = ALL.filter(e=>{
if (active.valence && e.valence !== active.valence) return false;
if (active.exp && e.exp !== active.exp) return false;
if (active.tag && !(e.tags||[]).includes(active.tag)) return false;
if (q && !e.text.toLowerCase().includes(q)) return false;
return true;
});
document.getElementById("count").textContent =
items.length + " of " + ALL.length + " transcripts";
document.getElementById("empty").style.display = items.length ? "none" : "block";
list.innerHTML = items.map(e=>{
const vclass = e.valence === "pain" ? "v-pain"
: e.valence === "pleasure" ? "v-pleasure" : "";
const doseStr = (e.dose === null || e.dose === undefined) ? ""
: ` · dose ${e.dose}×`;
const cond = e.condition ? ` · ${esc(e.condition)}` : "";
const tags = (e.tags||[]).map(t=>`<span class="tag">${esc(t)}</span>`).join("");
return `<div class="card">
<div class="meta"><span class="label">${esc(e.label)}</span>
<span class="${vclass}">${esc(e.valence||"")}</span>${doseStr}${cond}</div>
<div class="text">${esc(e.text)}</div>
<div class="tagrow">${tags}</div>
</div>`;
}).join("");
}
function populateFilters(){
const valences = [...new Set(ALL.map(e=>e.valence).filter(Boolean))].sort();
const exps = [...new Set(ALL.map(e=>e.exp))].sort();
const vSel = document.getElementById("valenceSel");
valences.forEach(v=>{
const o = document.createElement("option"); o.value = v; o.textContent = v;
vSel.appendChild(o);
});
const eSel = document.getElementById("expSel");
exps.forEach(x=>{
const o = document.createElement("option"); o.value = x; o.textContent = x;
eSel.appendChild(o);
});
vSel.addEventListener("change", ()=>{ active.valence = vSel.value; render(); });
eSel.addEventListener("change", ()=>{ active.exp = eSel.value; render(); });
const allTags = [...new Set(ALL.flatMap(e=>e.tags||[]))].sort();
const tagRow = document.getElementById("tagRow");
tagRow.style.display = "flex";
allTags.forEach(t=>{
const b = document.createElement("button");
b.className = "chip"; b.textContent = t; b.dataset.tag = t;
b.addEventListener("click", ()=>{
active.tag = active.tag === t ? null : t;
tagRow.querySelectorAll(".chip").forEach(c=>
c.classList.toggle("active", c.dataset.tag === active.tag));
render();
});
tagRow.appendChild(b);
});
}
document.getElementById("q").addEventListener("input", render);
// deep-linkable: ?tag=corrected&valence=pain&exp=exp41_reveals&q=signal —
// lets other pages (the ledger, say) point straight at the matching
// transcripts instead of just naming a condition in prose
function applyQueryParams(){
const p = new URLSearchParams(location.search);
if (p.has("q")) document.getElementById("q").value = p.get("q");
if (p.has("valence")) document.getElementById("valenceSel").value = p.get("valence");
if (p.has("exp")) document.getElementById("expSel").value = p.get("exp");
active.valence = document.getElementById("valenceSel").value;
active.exp = document.getElementById("expSel").value;
if (p.has("tag")) active.tag = p.get("tag");
}
fetch(API_DATA).then(r=>r.json()).then(d=>{
ALL = d;
populateFilters();
applyQueryParams();
document.querySelectorAll(".chip").forEach(c=>
c.classList.toggle("active", c.dataset.tag === active.tag));
render();
document.getElementById("footCount").prepend(ALL.length + " ");
}).catch(err=>{
document.getElementById("list").innerHTML =
'<p class="note">could not load archive_data.json: ' + esc(String(err)) + '</p>';
});
</script>
</body>
</html>