# Prompt-lab benchmark

Generated 2026-11-18 from 4 recorded models. Each model has one run per harness version. The v1 first draft received the invoice fixture; v0 used the natural-language prompt without it. The v1 after pass received the Atelier brief, guidance and explicit visual system; v0 used the earlier Studio rules. Compare the before/after delta within each version, not the raw before scores across versions.

> The November v1 experiment predates the 1.0 software release. The demo opens on Qwen for its legible transformation. That selection carries no ranking.

> The archived fact check labelled “destination” matched 4421, the source account suffix. It did not verify the recipient. The historical rubric is frozen for reproducibility. New invoice evaluations check both fields separately.

## Craft heuristic

The score is a transparent heuristic out of 100: text restraint (15), paragraph restraint (5), action clarity (20), hierarchy (15), visual cohesion (15), whitespace (10), responsive integrity (10), required facts (5) and contrast (5), with penalties for missing facts, overflow, a disabled primary action and extreme word counts. It measures rendered output at 1280 and 390px. It is not a beauty model, a usability study or the CLI audit.

## Before and after, v0 and v1

| Model | v0 before | v0 after | v0 delta | v1 before | v1 after | v1 delta |
| --- | --- | --- | --- | --- | --- | --- |
| Beam | 43.7 | 66.1 | +22.4 | 66.2 | 92.3 | +26.1 |
| Claude Haiku 5.5 | 64.3 | 70 | +5.7 | 55.8 | 97.9 | +42.1 |
| LongCat 2.5 | 42 | 84.5 | +42.5 | 44.5 | 96.3 | +51.8 |
| Qwen 3.8 Flash | 46.5 | 90.1 | +43.6 | 65.4 | 98.2 | +32.8 |

v0 average: before 49.1, after 77.7, delta 28.5.  
v1 average: before 58, after 96.2, delta 38.2.  
v1 improved 4 of 4 models.

## What changed in v1

- An **Atelier** pack with a warm paper canvas, white document, display serif hero amount, one deep-green accent, an 8px spacing scale, six type sizes and one soft shadow.
- A **real invoice fixture** supplied to both conditions, so line items, totals, supplier, customer, destination and consequence are consistent.
- An explicit **visual system** in the harness prompt: page container, two-column document review, 48px gutters, 360px summary rail, one primary action and a 120-word budget.
- The harness pass still receives a content-only outline of the first draft, not its CSS. It rebuilds the composition instead of copying it.

## Next layer: the approved component gallery

The demo's accepted `review` state is a scoped correction, not a benchmark input; this report measures the raw `conditions.after` pass. The hosted [approved gallery](../gallery/) contains nine manually reviewed components extracted from the Atelier output: page shell, brand line, document, hero amount, summary rail, primary action, line items, labels and status. The live prompt lab now passes that gallery to the harness pass. This table measures v1, which used the Atelier principles without the gallery. The gallery was tried in two later passes: v2 was rejected for duplicated facts, and v3 fixed the duplication but scored lower than v1, so the recorded default remains v1. The keyless live connector uses the tightened gallery on demand.

## Gallery v2 trial (rejected)

A first LongCat 2.5 pass with the approved gallery duplicated the hero amount in the document and the summary rail: 144 words and 88 paragraph words against 130 and 32 in the approved v1 design. It was not approved. The [v2 evidence](./benchmark/v2-longcat-gallery/) is kept for review. The gallery rules now state that each fact appears once and that the summary rail owns the hero amount; the next live pass uses the tightened rules. The approved default remains the v1 LongCat design.

### Gallery v3 trial

A second LongCat 2.5 pass with the tightened gallery rules fixed the v2 duplication: 136 words, the amount repeated twice, the page shell applied, one enabled primary action. It scored 92.7 on the heuristic against 96.3 for v1 because the complete invoice blocks add necessary address paragraphs. It was not promoted; the recorded default stays at v1. The live connector uses the tightened gallery so a visitor can generate a gallery-composed design on demand. Evidence: [v3](./benchmark/v3-longcat-gallery/).

## v1 component points

| Model | text (15) | paragraph (5) | action (20) | hierarchy (15) | cohesion (15) | whitespace (10) | responsive (10) | facts (5) | contrast (5) |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Beam | 15 | 3.2 | 20 | 15 | 14.1 | 10 | 10 | 5 | 5 |
| Claude Haiku 5.5 | 14.3 | 3.6 | 20 | 15 | 15 | 10 | 10 | 5 | 5 |
| LongCat 2.5 | 13.8 | 4.3 | 20 | 13.2 | 15 | 10 | 10 | 5 | 5 |
| Qwen 3.8 Flash | 15 | 5 | 20 | 13.2 | 15 | 10 | 10 | 5 | 5 |

## Rendered evidence

| Model | v1 | v0 |
| --- | --- | --- |
| Beam | [v1 before](../demo/runs/invoice-beam-free-before.png) · [v1 after](../demo/runs/invoice-beam-free-after.png) | [v0 before](./benchmark/v0/invoice-beam-free-before.png) · [v0 after](./benchmark/v0/invoice-beam-free-after.png) |
| Claude Haiku 5.5 | [v1 before](../demo/runs/invoice-claude-haiku-5-5-before.png) · [v1 after](../demo/runs/invoice-claude-haiku-5-5-after.png) | [v0 before](./benchmark/v0/invoice-claude-haiku-5-5-before.png) · [v0 after](./benchmark/v0/invoice-claude-haiku-5-5-after.png) |
| LongCat 2.5 | [v1 before](../demo/runs/invoice-longcat-2-5-free-before.png) · [v1 after](../demo/runs/invoice-longcat-2-5-free-after.png) | [v0 before](./benchmark/v0/invoice-longcat-2-5-free-before.png) · [v0 after](./benchmark/v0/invoice-longcat-2-5-free-after.png) |
| Qwen 3.8 Flash | [v1 before](../demo/runs/invoice-qwen3-8-flash-before.png) · [v1 after](../demo/runs/invoice-qwen3-8-flash-after.png) | [v0 before](./benchmark/v0/invoice-qwen3-8-flash-before.png) · [v0 after](./benchmark/v0/invoice-qwen3-8-flash-after.png) |

## Limits

This is four models, one run each, one prompt. It does not establish universal beauty or a time saving. It does not run a coding-agent repair loop, the CLI audit, a participant study or a blind human preference test. The v0 and v1 first drafts were generated with different prompt envelopes because the fixture was added in v1; compare the before/after delta within each version, not the raw before scores across versions.
