How Chartula is measured.
Chartula turns the pull requests of a release into changelogs for several audiences. An LLM does the rephrasing, which means every run costs money and every prompt change alters the output in ways no unit test catches.
This repository holds the part that answers whether a change was an improvement: the cases Chartula is run against, what those runs cost, and how the resulting text is judged.
Chartula is a changelog tool. Its users need a changelog, not an evaluation harness, so the harness does not belong in that repository.
What does belong in Chartula is the measurement of a single run, which already exists as the run metrics summary. Everything that compares runs against each other lives here.
Can a cheaper model still write a changelog worth shipping?
Cost per run is measured. Six runs against the same release, four models, every figure confirmed against the invoice.
Quality has a written criterion and something that applies it at scale. What it says so far is that the question is still premature: no customer rendering, on any model, goes out without a person editing it. The format this repository specifies is in Chartula now - the structure of every rendering is decided in code, and the prompts carry the rules for the words (goldbarth/chartula#96) - so what holds an entry back is the entry itself, not the shape around it.
The criterion. One rubric per audience, all built to the same meta-rule.
rubric/customer.md - three levels and nine axes.
rubric/technical.md - three levels and eight axes, two of them - imperative mood and self-describing - handed to it by Common Changelog rather than decided here.
rubric/product.md - three levels and seven axes, on a two-slot entry rather than the other two's four, because nobody is asked to act on a product rendering.
Each axis states the one question it answers, the questions it leaves to a neighbour, a procedure and an explicit fail condition.
rubric/how-a-rubric-is-built.md is the meta-rule all three have to obey.
docs/output-format.md owns form, so a rubric judges conformance to it rather than restating it.
The cases. test-runs/ - renderings of the same release, plus the release's facts.
Six of them compare models and reasoning settings; the rest are turns of the production loop, one per change to Chartula.
The verdicts. labels/customer/ and labels/technical/ - entries scored per axis with the passage each verdict points at, and a friction log of everything the rubric did not decide on its own.
Customer has three runs labelled by hand, with three more held out on purpose until a judge is trusted.
Technical has one, opus-5-out, 30 entries, not shippable.
Product has none: renderings exist since 2026-09-16, but none has been labelled.
Rows for a production turn are left unscored on purpose: the judge scores those, and a person reads a sample of them back in a spot check.
Two measurements. Separation asks whether a model can tell the axes apart at all, against constructed cases where one axis is broken in each. Agreement asks whether it reaches the verdicts a person reached, on the labelled entries. Both run one axis on one subject at a time, from a single prompt that never sees a human verdict.
docs/pipeline.md is the entry point.
It exists because building the instrument and measuring with it ran at the same time, and each kept invalidating the other.
Its one rule is that the two loops are never open at once, with a freeze between them, and every stage has a budget fixed before it is entered and a condition that ends it.
docs/targets.md holds the figures those stages are measured against, and what each one stood at when it was last measured.
docs/measurements.md is the record of every turn since the freeze: what was changed, what moved, and what the movement turned out to be worth.
Nothing leaves that file, including findings that have since been fixed, because the point of an entry is that the failure happened.
docs/commands.md lists every script, what it is for and what it needs.
python3 judge/status.py opens with the four facts that decide how a count may be read: whether the criterion is frozen, what a movement has to beat to mean anything, when the next spot check is due, and which axes gate nothing.
judge/how-the-loop-works.md holds the day-to-day loop and the staleness invariant:
a human label and a judge verdict are comparable only if both were made against the same version of that axis.
As of 2026-09-21, spot checks as of 2026-10-07. Three audiences, three different stages of the same pipeline.
Customer. The criterion is written: nine axes, v1.0.0 tagged and frozen, with a B2 fix already in the tree and waiting on a separation run before it becomes v2.0.0. Three of the nine axes measure well enough to gate on; the other six are recorded as out, with the reason, rather than left in a queue, and a count from those is a direction rather than a figure. Three spot checks have read a sample of the judge's verdicts back against a person: 50 of 50, 46 of 49 and 44 of 50 agreed. The third found the judge letting through one kind of sentence on C3, so since 2026-10-07 the instrument loop is open again, for C3 only, until its text is rewritten and its 53 entries are labelled again.
The production loop is running and the work is in Chartula.
Every change measured since the freeze is in docs/measurements.md.
The clearest is what a reader can meet: it was decided from the type of a commit, so the changelog carried entries about the tool's own file formats, and deciding it from a label instead took the coverage axis to zero.
The last of the four document axes went with it, which is the first rendering where none of them fails.
No customer rendering ships whole yet. The newest judged one, from 2026-09-15, sends 12 of its 19 entries out unedited, against 11 of 24 before it. The failure that held most entries back - the entry says what changed and never what the reader gets from it - fell from 10 entries to 4, when the outcome of a fix reached the prompt.
Two figures are known that were not before, and both cost turns to learn. A movement of one on any axis happens without changing anything, so it is not a result. And one rendering is not a measurement: the same prompt has produced 19, 24 and 25 entries, and a short rendering fails fewer entries on every axis at once, which is enough to look like an improvement.
Technical. The criterion is written: eight axes, none of them tagged yet.
One run is labelled, opus-5-out, 30 entries, not shippable; it predates the structure in code.
Since goldbarth/chartula#96 the release heading, the groups and the reference at the end of every entry are written by Chartula rather than the model, and on 2026-09-16 they held on claude-sonnet-5 and on a local qwen3:14b alike.
Nothing rendered since has been labelled, and separation and agreement have not run against this rubric yet.
Product. The criterion is written: seven axes, and stage 1 of the pipeline is as far as it has gone.
Renderings exist since 2026-09-16, 38 entries each on claude-sonnet-5 and qwen3:14b, but none is labelled, so there is no labelled corpus and no realistic case in the rubric yet, only constructed minimal pairs.
The calibration builder and the separation harness both reach it now; the separation run itself has not been spent.
Findings that belong in Chartula are filed there as issues and collected in docs/for-chartula.md.
MIT, see LICENSE.