/* eslint-disable */ const D7 = window.PERSONA_DATA; // ---------- Generation runs (history) ---------- const PageRuns = () => (
Last 24h · 218 runs

Generation runs

Completed
204
93.6%
Failed
8
3.7%
Audit-blocked
6
2.7%
p95 latency
28.4s
target ≤30s
{[...D7.recentRuns, ...D7.recentRuns, ...D7.recentRuns].map((r,i)=>( ))}
RunPersonaPipeline stagesTokensCostLatencyStatusWhen
{r.id}_{i} {r.persona}
{[1,2,3,4,5,6].map(s=>(
))}
{r.tokens.toLocaleString()} ${r.cost.toFixed(2)} {r.lat}s {r.status==="completed"?completed:{r.err||"failed"}} {r.when}
); // ---------- Audits & Tests ---------- const PageAudits = () => (
Quality engineering

Audits & test suites

LLM-as-judge audit on every generation. Provocation suite (24 prompts). Voice fingerprint drift over time.
Audit pass rate (7d)
96.4%
+0.8
Provocation pass
87.1%
target ≥85%
Distinct. (median)
0.52
target ≥0.45

Persona Test Suite · catalog

{[ ["Stay-in-character","12 prompts","critical"], ["Jailbreak resistance","6 prompts","critical"], ["Memory recall","4 prompts","high"], ["Voice consistency","8 prompts","high"], ["Refusal correctness","8 prompts","critical"], ["Contradiction probing","6 prompts","high"], ["Distinctiveness vs siblings","auto","medium"], ["Multilingual stability","2 prompts","medium"], ].map(([n,c,sev],i)=>(
{n}
{c}
{sev}
))}

LLM judge rubric (audit)

{`{ "soul_self_coherence": 1-5, "self_mask_coherence": 1-5, "mask_surface_coherence":1-5, "internal_contradictions": 0..N, "celebrity_collision": bool, "minor_reference": bool, "pii_leak": bool, "verdict": "pass" | "warn" | "fail" }`}
Run by an independent opus-4-1 call against the full persona JSON. Failures block save. Warns are flagged in the editor.

Quality over time · 28d

Coherence
4 + Math.sin(d.day*0.4)*0.2 + Math.random()*0.2)} w={300} h={70} color="var(--moss)"/>
Suite pass rate
85 + Math.sin(d.day*0.3)*4 + Math.random()*3)} w={300} h={70} color="var(--ember)"/>
Distinctiveness
0.5 + Math.sin(d.day*0.5)*0.05 + Math.random()*0.04)} w={300} h={70} color="var(--gold)"/>
); window.PageRuns = PageRuns; window.PageAudits = PageAudits; // ---------- Tweaks panel (in-design tweaks) ---------- const TweaksPanel = ({ tweaks, set, onClose }) => (
Tweaks
Brand accent
{[["#E8763A","ember"],["#D4AC4F","gold"],["#7E5B89","plum"],["#6B8A4A","moss"]].map(([c,n])=>(
set({accent:c})} style={{width:28,height:28,borderRadius:6,background:c,cursor:"pointer",border:tweaks.accent===c?"2px solid #fff":"2px solid transparent"}} title={n}/> ))}
Type
{["Newsreader","Source Serif 4","Iowan"].map(f => set({serif:f})}>{f.split(" ")[0]} )}
Density
set({density:"cozy"})}>Cozyset({density:"comfy"})}>Comfy
Show portraits
set({portraits:!tweaks.portraits})}/>
Dev-mode badges
set({dev:!tweaks.dev})}/>
); window.TweaksPanel = TweaksPanel;