Two paid runs in, the binder-page generator had accepted exactly eleven pages across twenty cards. Same generator, same judge, same pages. When a pipeline accepts nothing and then almost nothing, suspicion should fall on the bar. The bar turned out to be the cheapest thing to fix, once I stopped asking the judge what it would accept and read the verdicts it had already written.
Binderdex is my Pokémon card collection and price app. Its binder ideas are a public gallery of AI-generated, themed 3x3 binder pages. Each page has one centre card, called the seed, and eight support cards picked to fit the theme. A judge model scores every finished page from 0 to 100, and I want five accepted pages for each seed.
The previous entry covered how these pages get made and the colour gate that filters ideas. This one is about the acceptance loop on the other side of the render, which needed three fixes before it worked.
Three bugs, one of them fatal
The first production run rejected every page, and the failures hid each other. The retry logic compared the judge's named clashes against catalog card names that carry a trailing space, like "Chi-Yu ex ". So the retry excluded nothing and quietly rebuilt the same page: 78 of 80 retries came back identical. The colour gate, which scores a page idea's colours before anything renders, had a fixed tolerance that also let a fire-orange cluster slide past a sage page. Both were real bugs and both are fixed. Names are trimmed on both sides, and the tolerance scales with the anchor's chroma instead of one hardcoded value. Neither explained why the run accepted nothing.
The model that writes page ideas learned something the hard way too. It used to propose "collection" pages built around relationships: an evolution line (a Pokémon and its evolutions), or one species across illustrators. Every such page scored between 8 and 28. The support cards are retrieved by look, and a relationship you can't see can't be assembled into a page.
Then the fatal one, the acceptance bar itself. I had set it at 80 on a 0 to 100 rubric whose instructions tell the judge to act like a ruthless curator. Read closely, that judge writes a stepped scale: 38, 48, 58, 62, 72, with a ceiling of 78. It never goes higher. A bar of 80 wasn't strict. It was unreachable. When I laid the scored pages out and looked at them, the 58s were good binder pages, while the 38s and 48s carried real clashes. The bar the judge's own output supported was 58.
Re-deciding for free
Every judgement was already stored in the run's saved results, so changing the bar didn't mean judging anything again. A new pass walks the stored verdicts and flips each page's status under the new threshold, best score first, with zero model calls:
// re-decide every page from stored judgements. no model calls.
function reaccept(manifest, bar) {
for (const page of manifest.pages) {
const verdict = page.verdicts.at(-1);
page.status = verdict && verdict.score >= bar ? "accepted" : "rejected";
}
return manifest.pages
.filter((p) => p.status === "accepted")
.sort((a, b) => b.verdicts.at(-1).score - a.verdicts.at(-1).score);
}
Re-running the same manifest at 58 turned 11 accepted pages into 63, with five cards at the target of five or more pages. Relaxing the support-overlap limit, which caps how many support cards two pages of one seed may share, from 2 to 3 brought it to 73. No new spend and no new judgements. The answers had been on disk since the first API call.
The merge step grew the same instinct. Batches union across runs, and the same idea keeps its better-judged page. A merge-only mode loads a finished batch without launching new parallel batches. A top-up run adds pages to seeds that ran short. Three top-ups later, Delta Reign, one of the Pokémon sets I generate for, sits at 120 pages with 19 of 20 cards at five or more.
Two failures on the way in
The first run also died at the door. The workflow handed the generator the wrong URL for the embedding endpoint, and the 404s were recorded as per-page rejections. The run looked healthy and spent two writer rounds per card while producing nothing. The generator now probes the endpoint once before spending a cent. One top-up also died at startup because nanoid ids can begin with a dash, which makes --seed <value> parse as a flag. Every CLI option that takes an id now uses the equals form, --seed=<value>.
Put the bar where the good pages start
Don't tune an acceptance bar by feel, and don't ask the judge for its maximum. Store the verdicts, read the distribution, and put the bar where the good pages start. The judgement is the expensive part. The decision should be free.