Repository navigation
docs: turn the README into a landing page - #279
Merged
Merged
Conversation
goldbarth
added a commit
that referenced
this pull request
Sep 30, 2026
…easured costs (#298) Follows #292, which made `preview` free and shows the calls and prompt characters `generate` would send. - **Why:** reading a run's cost lived in `docs/run-metrics.md`, the measured costs in chartula-evals and in pieces of `providers.md`, and nothing said how to size a run before paying for it. `docs/costs-and-checks.md` is the one home for all of it: the run summary, both checks, whether the thorough check earns its tokens, estimating cost, comparing run records, and a dated summary of the model comparison. - **Before a run:** the page opens with the size `preview` shows, and turns its prompt characters into a token estimate (characters / 4, doubled with the thorough check). The divisor rests on the bound in `CallValidity.cs`, and the page checks it against a real case: 90,489 characters of prompt for ServiceDeskLite `v1.9.0`, against 21,293 rephrasing tokens in the run of 2026-09-25. - **Every example is from a real run, not written by hand:** the full summary, the retried and the unreadable check, and the check turned off are copied from the `chartula.log` files of the ServiceDeskLite sweep in chartula-evals (preview.3; the summary code for that case is unchanged since then). The `preview` output was run on 2026-09-30 with `main` on the same range. The two `jq` commands ran against three run records of that sweep. Paths anonymized to `/work/my-repo`. - **The `lower bound` line** has no real run to quote, since no provider in the sweep left usage unreported. The page gives its wording from `RunReportFormatter.cs` in the table instead of inventing an output block. - **Measurements, dated and sourced:** cost, duration and flags per model and thinking level, render × check, the thorough check off, `title-only` and the local models, from `sweeps/servicedesklite-v1.9.0-evaluation.md` and `-stats/report.md`, with the evaluation's own limits (three runs per cell, one release, a flag count says nothing about text quality) and links to the report and the charts. No prices: the page gives the formula and links the price lists. The Anthropic comparison runs are named as pending. - **Single source:** `run-metrics.md` is deleted and every link to it points to the new page (README, `chartula.example.yaml`, `cli.md`, `configuration.md`, `run-record.md`, `what-goes-into-a-release.md`, `architecture.md`). `providers.md` keeps its model notes and recommendations in two sentences and links here for the figures; the local-model details and the 62%/4× figures moved here. The one remaining figure there (about 11,000 tokens per call) links its source. - **Recommendations** are stated as of 2026-09-25 and only as far as the data carries them: keep the thorough check on (it was the only check that caught anything), start with `thinking: disabled`, check with the steadier model, render with the cheaper one if your own reading holds up. - **README:** the index row for Run metrics becomes Costs and checks under "Understanding the output". The README cost table was already gone since #279. - **Left for later steps:** the troubleshooting parts carried over from `run-metrics.md` (slow run, unreadable check, cut prompt) stay here until `troubleshooting.md` takes them; `run-record.md` keeps its purpose section until it becomes schema only. **Verified:** - Every figure was compared against `cells.csv` and the evaluation text; each number in the page traces to one of them or to a run log. - Every relative link and anchor in all Markdown files of the repository resolves (script, with a negative test for a missing file and a missing anchor). The four chartula-evals links point to files that exist on its `main`. - No code, comment or message changed. Tests: none, documentation only. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01BQ1Z71j4Q2W1CwGYjF55No --- _Generated by [Claude Code](https://claude.ai/code/session_01BQ1Z71j4Q2W1CwGYjF55No)_ Co-authored-by: Claude <[email protected]>
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follows #269, #270, #271, #273, #274, #275 and #276, which gave every topic the README carried a page of its own.
v3.2.0, what it promises and what it does not, the status, a quick start, one line per provider, the known limitations, and the documentation index.cd,preview,generate. One sentence each on what a reader trips over first:previewcosts whatgeneratecosts,chartula-runs/belongs in.gitignore, and a first tag asks where the release starts. The token line saysgenerateneeds it to create the draft, rather than suggesting a small public release can do without.qwen3:8bexample goes with the credentials table, sincedocs/providers.mdrecommends no local model.Verified: every topic the README drops is reachable from the index (install, CLI options and outputs, CI, credentials, configuration,
thinking, run metrics). Every relative link and anchor in the repository resolves, and nothing links to a README anchor that no longer exists.Tests: no test changed; documentation only.