Files
teamchong c6a0d61f00 eval(gist-recall): A/B imaged vs text history — 98/98 both arms, 0 confabulation
- 3 tiers: facts-at-depth w/ distractors (50), hard near-miss distractors
  on 45k-char sessions (30), 3x-mutated state tracking (18); 16 unanswerable
  confabulation guards. claude-fable-5, real production renderer, exact-match
  grading, no LLM grader.
- text 98/98, image 98/98, 0 wrong, 0 confabulated UNKNOWNs in either arm
- README benchmark table + FINDINGS dated update; PNGs gitignored,
  probes/results.jsonl committed as receipts
2026-06-10 18:54:03 -04:00

10 lines
536 B
JavaScript

import { renderTextToPngsWithCharLimit, DENSE_CONTENT_COLS, DENSE_CONTENT_CHARS_PER_IMAGE, DENSE_RENDER_STYLE } from '../../dist/core/render.js';
import { readFileSync, writeFileSync } from 'node:fs';
let pages=0;
for (let s=0; s<6; s++){
const t=readFileSync(`work3/s${s}.txt`,'utf8');
const imgs=await renderTextToPngsWithCharLimit(t, DENSE_CONTENT_COLS, DENSE_CONTENT_CHARS_PER_IMAGE, DENSE_RENDER_STYLE);
imgs.forEach((im,i)=>writeFileSync(`work3/s${s}_p${i}.png`, im.png)); pages+=imgs.length;
}
console.log('pages', pages);