Repository navigation
Releases
v1.0.0
Numbers at this tag
Every figure here is read from the attached numbers.json by tools/release_notes.py and formatted by analysis/render_docs.py, the formatter the README and the paper use.
Experiment exp1
control |
lanes_v1 |
|
|---|---|---|
| Tasks analysed | 76 | 69 |
| Solves | 34 | 28 |
| Solve rate | 44.7% | 40.6% |
| Mean cost per task | $0.0784 | $0.0340 |
| Cost per solved task | $0.1753 | $0.0837 |
Differences, lanes_v1 minus control: cost per solved task −52.2%, mean cost per task −56.7%, solve rate −4.2 pp (posterior interval −19.8 pp to +11.8 pp).
Posterior probability that the solve-rate drop is within m = 20.0%: 97.7%. Flagsmith's chance to beat control on task_cost: 100.0%. Decision by the pre-registered rule (tag prereg-exp1): ship lanes_v1.
Experiment exp2
control |
lanes_v2 |
|
|---|---|---|
| Tasks analysed | 67 | 77 |
| Solves | 42 | 39 |
| Solve rate | 62.7% | 50.6% |
| Mean cost per task | $0.0414 | $0.0350 |
| Cost per solved task | $0.0660 | $0.0691 |
Differences, lanes_v2 minus control: cost per solved task +4.8%, mean cost per task −15.4%, solve rate −12.0 pp (posterior interval −27.3 pp to +4.3 pp).
Posterior probability that the solve-rate drop is within m = 20.0%: 84.8%. Flagsmith's chance to beat control on task_cost: 72.6%. Decision by the pre-registered rule (tag prereg-exp2): ship control.
Experiment exp3
control |
lanes_v1 |
|
|---|---|---|
| Tasks analysed | 61 | 60 |
| Solves | 33 | 31 |
| Solve rate | 54.1% | 51.7% |
| Mean cost per task | $0.0678 | $0.0312 |
| Cost per solved task | $0.1253 | $0.0605 |
Differences, lanes_v1 minus control: cost per solved task −51.7%, mean cost per task −53.9%, solve rate −2.4 pp (posterior interval −19.7 pp to +15.1 pp).
Posterior probability that the solve-rate drop is within m = 20.0%: 97.7%. Flagsmith's chance to beat control on task_cost: 100.0%. Decision by the pre-registered rule (tag prereg-exp3): ship lanes_v1.
Rollout on the same flag
13 tasks at a mean cost of $0.0369 and a solve rate of 53.8%.
Replication: exp1 and exp3 pooled (secondary)
Replicated: True. 266 tasks: cost per solved task −52.5% (bootstrap interval −65.9% to −33.2%), solve rate −3.2 pp (posterior interval −14.9 pp to +8.8 pp). Pooled figures decide nothing.
Integrity
Merkle root over 146 task_done records of exp1: 7ed364648c7513ef22280eaed97a2ab77e92d91b8f88f5bbfab08d747a989929. 146 of 146 recorded arms match Flagsmith's engine offline. 56 environment snapshots, 1 distinct.
Total model spend: $23.34. numbers.json was generated at 2026-11-29T05:34:11+00:00 from commit 0135d30c4a45.
Changes
Added
- Experiment 3's run records, transcripts, environment snapshots, raw Flagsmith results and analysis: the registered replication of experiment 1 on unused tasks. The registered rule shipped
lanes_v1again, andanalysis/decide.pyended the Flagsmith experiment with that rollout (D31). - Pooled estimates across experiments 1 and 3, labelled secondary as the registration said (
replicationinnumbers.json), and the chartanalysis/charts/replication.png. - Experiment 3 in the README, the paper (a new section 8), the deck, the submission text, the site and the film.
- Example 10 recorded a second time with a person approving:
APPROVER=<name> run.shstops at the approval step, andapprove.shshows the proposal at the person's own terminal and records the session (examples/10-approval-rollout/output-person/). - A routing-only hash of every environment snapshot (
routing_config_distinct_hashes), so a change to an unrelated flag no longer reads as a change to the experiment (D32). - The kit's decision code checked on Flagsmith's saved experiment 3 results, against the decision that was applied.
make exp3andmake site-deploy; experiment 3 and the pooled block in the release notes.
Changed
- The
lanes_v1policy is again the flag's own value, with the variant weights at 0, so the environment-level reading and the routing badge match what every identity receives (D31). - The README's command list no longer folds the rest of the page on GitHub; the replication's scope (older tasks only), the ledger hash rule, the self-hosted cold start and the Track 02 approval record are stated more exactly.
- The site reads its Flagsmith flags again after a build had dropped the API address, and the waitlist offers the write-up of all three experiments.
Assets
| File | SHA-256 |
|---|---|
fork-in-the-bill-deck.pdf |
8ee726f7d547f1b000f762047358bd535fd93f8240ed0747d3d63f15e0748aba |
fork-in-the-bill-paper.pdf |
89269678738036274c7aec1de0d3d881674e6bc6c586f04493858983842f5f54 |
numbers.json |
5b7b698819c21a5cb99b6019cd4909decd9f0dcfcab49e3bb6346d0b592883a2 |
results.md |
bfa4c8211ac10c4878451f6e359fb38dda03d0fd9d2c31cb358a9a2b2cb89961 |
run-data-parquet.zip |
047624b9aef93c76cb32ea3c9f5bf0f4521ccfc0100f522b462c281e51bafe68 |
SHA256SUMS lists the same digests. Each asset also has a build provenance attestation signed by the release workflow. With the assets downloaded into one directory:
sha256sum -c SHA256SUMS
gh attestation verify fork-in-the-bill-deck.pdf --repo Prashant-thakur77/fork-in-the-bill
gh attestation verify fork-in-the-bill-paper.pdf --repo Prashant-thakur77/fork-in-the-bill
gh attestation verify numbers.json --repo Prashant-thakur77/fork-in-the-bill
gh attestation verify results.md --repo Prashant-thakur77/fork-in-the-bill
gh attestation verify run-data-parquet.zip --repo Prashant-thakur77/fork-in-the-billCheck it yourself
git clone --branch v1.0.0 https://github.com/Prashant-thakur77/fork-in-the-bill
cd fork-in-the-bill
uv sync --locked
make verify # hash chains, Merkle roots, every arm recomputed with Flagsmith's engine
make analyse # numbers.json rebuilt from the committed run logs, then the consistency gatedocs/reproduce.md has the expected output of each command.
v0.4.0
Numbers at this tag
Every figure here is read from the attached numbers.json by tools/release_notes.py and formatted by analysis/render_docs.py, the formatter the README and the paper use.
Experiment exp1
control |
lanes_v1 |
|
|---|---|---|
| Tasks analysed | 76 | 69 |
| Solves | 34 | 28 |
| Solve rate | 44.7% | 40.6% |
| Mean cost per task | $0.0784 | $0.0340 |
| Cost per solved task | $0.1753 | $0.0837 |
Differences, lanes_v1 minus control: cost per solved task −52.2%, mean cost per task −56.7%, solve rate −4.2 pp (posterior interval −19.8 pp to +11.8 pp).
Posterior probability that the solve-rate drop is within m = 20.0%: 97.7%. Flagsmith's chance to beat control on task_cost: 100.0%. Decision by the pre-registered rule (tag prereg-exp1): ship lanes_v1.
Experiment exp2
control |
lanes_v2 |
|
|---|---|---|
| Tasks analysed | 67 | 77 |
| Solves | 42 | 39 |
| Solve rate | 62.7% | 50.6% |
| Mean cost per task | $0.0414 | $0.0350 |
| Cost per solved task | $0.0660 | $0.0691 |
Differences, lanes_v2 minus control: cost per solved task +4.8%, mean cost per task −15.4%, solve rate −12.0 pp (posterior interval −27.3 pp to +4.3 pp).
Posterior probability that the solve-rate drop is within m = 20.0%: 84.8%. Flagsmith's chance to beat control on task_cost: 72.6%. Decision by the pre-registered rule (tag prereg-exp2): ship control.
Rollout on the same flag
13 tasks at a mean cost of $0.0369 and a solve rate of 53.8%.
Integrity
Merkle root over 146 task_done records of exp1: 7ed364648c7513ef22280eaed97a2ab77e92d91b8f88f5bbfab08d747a989929. 146 of 146 recorded arms match Flagsmith's engine offline. 56 environment snapshots, 1 distinct.
Total model spend: $17.33. numbers.json was generated at 2026-11-28T21:18:00+00:00 from commit 4a4d97193592.
Changes
Added
-
Track 03:
selfhost/quickstart.sh, a one-command experimentation starter for self-hosted Flagsmith (a sample app on a flag, a pre-registered experiment on simulated visitors, a local results dashboard fed by Flagsmith's results and webhook,--decide,--down, an export script and a smoke test), documented with a verified cold start indocs/self-hosted-starter.md. -
Track 04:
skills/flagsmith-preregistered-rollout/, an Agent Skill that takes an agent through a whole Flagsmith job with the CLI, from a pre-registered experiment to the winner rolled out and the flag cleaned up, with dry-run plans, production confirmation, change-request refusal and a one-command rollback, plus a recorded demo and token counts (skillinnumbers.json). -
Experiment 3's registration (
prereg/experiment-3.md, tagprereg-exp3): a replication of experiment 1 on 183 unused tasks, and theexp3pool. -
The site reads two Flagsmith flags live (
site_notice,agent_routing) through cached Worker routes, pushes changes from the webhook, serves a routing badge, and adds a savings calculator, a figure-provenance switch and a four-track overview. -
forkbill-mcp0.2.0: five tools that end an experiment with a person in the middle.register_decision_rulerecords a rule file's SHA-256 while the experiment is stillcreated;get_experiment_resultssummarises Flagsmith's results per metric;evaluate_decision_ruleapplies the registered rule (and refuses any other file);propose_rolloutwrites the exact End Experiment request and sends nothing;apply_rolloutsends it only with a valid approval for that exact proposal, then reads the experiment and the flag back. A person approves withforkbill-mcp approve <proposal-id>at a terminal (HMAC-signed, expiring, single use; refused when stdin is not a TTY) or, optionally, with a/approve <proposal-id>comment by an allowed GitHub login. Every step goes into a hash-chained audit log;forkbill-mcp verify-logchecks it. The README states what the approval step prevents and what it does not. -
forkbill0.2.0:Ledger,verifyLedgerandcanonicalJson, the repository's ledger format in TypeScript, byte for byte compatible withintegrity/ledger.pyand tested in both directions;parseDecisionRule,summarizeResultsandevaluateDecisionRulefor a written decision rule on Flagsmith's results. -
examples/10-approval-rollout: the whole flow against a self-hosted Flagsmith with simulated traffic, driven over stdio by a scripted client, with the terminal approval recorded. -
Experiment 2's run records, transcripts, analysis and result: the draft-review worker role (
lanes_v2) lost to the rolled-outlanes_v1by the registered rule, a negative result published in full. -
analysis/decide.py: applies the registered decision rule in Flagsmith (End Experiment with the rule's rollout decision) after checking the registration hash and the experiment's status, and records the call in the run ledger. -
Four secondary analyses, added after experiment 1 had ended and been decided (D29). None was registered and none changes a decision; each runs for experiment 2 as soon as
runs/exp2is committed.- Always-valid p-values (
analysis/always_valid.py): a mixture sequential probability ratio test replayed in the order tasks finished, for mean cost and for solve rate, with its mixing scale fixed from the pilot runs alone. Chartanalysis/charts/<exp>-always-valid.png. - Every arm on one cost-accuracy plane (
analysis/frontier.py): the pilot arms, both arms of each experiment and the rollout batch, with bootstrap intervals on both axes and the Pareto frontier marked. Chartanalysis/charts/frontier.png. - Merkle inclusion proofs (
inclusion_proofandverify_inclusioninintegrity/merkle.py), a command that prints and checks one record's proof (python -m integrity.prove), and every record's proof as JSON inanalysis/out/proofs/for the site. - A specification curve (
analysis/multiverse.py) over task set, repeated attempt, cost statistic, solve-rate prior and cost outliers. Chartanalysis/charts/<exp>-specification-curve.png.
- Always-valid p-values (
-
numbers.jsonkeys for those analyses (<exp>.secondary,frontier,integrity.proofs), plus per-arm worker and planner cost (delegate_cost_mean,main_cost_mean), list prices for the two models (pricing), cost per 1,000 solved tasks (projection) and counts of the work done (scale), all documented indocs/interfaces.md. -
A results section for each new analysis in
analysis/results.md, a robustness subsection in the paper, and a README section that maps each source indocs/references.mdto the code that implements it. -
The
p3number format for p-values, inanalysis/render_docs.pyand the board's formatter.
Assets
| File | SHA-256 |
|---|---|
fork-in-the-bill-deck.pdf |
27eb6e38cc1eeefe44570135c197385c097c77a459311fcc66945a4417507a1f |
fork-in-the-bill-paper.pdf |
073ae327ce9d1a15ae4a549418fc833173dd7f3af10f56e7c5471c62520f467f |
numbers.json |
cc7551f917ecdd32d11ac303ff1d769e21bec0c91ec57a8c07fad42c01dd040a |
results.md |
c657c3215619749916335ef74730e437bf2b41b4cee55a36bd4bb63f1d766758 |
run-data-parquet.zip |
94b4fbec331dfc7a1e107ea80fbe15766429ec76a3637744b09327f38f04e94f |
SHA256SUMS lists the same digests. Each asset also has a build provenance attestation signed by the release workflow. With the assets downloaded into one directory:
sha256sum -c SHA256SUMS
gh attestation verify fork-in-the-bill-deck.pdf --repo Prashant-thakur77/fork-in-the-bill
gh attestation verify fork-in-the-bill-paper.pdf --repo Prashant-thakur77/fork-in-the-bill
gh attestation verify numbers.json --repo Prashant-thakur77/fork-in-the-bill
gh attestation verify results.md --repo Prashant-thakur77/fork-in-the-bill
gh attestation verify run-data-parquet.zip --repo Prashant-thakur77/fork-in-the-billCheck it yourself
git clone --branch v0.4.0 https://github.com/Prashant-thakur77/fork-in-the-bill
cd fork-in-the-bill
uv sync --locked
make verify # hash chains, Merkle roots, every arm recomputed with Flagsmith's engine
make analyse # numbers.json rebuilt from the committed run logs, then the consistency gatedocs/reproduce.md has the expected output of each command.
v0.3.0
Numbers at this tag
Every figure here is read from the attached numbers.json by tools/release_notes.py and formatted by analysis/render_docs.py, the formatter the README and the paper use.
Experiment exp1
control |
lanes_v1 |
|
|---|---|---|
| Tasks analysed | 76 | 69 |
| Solves | 34 | 28 |
| Solve rate | 44.7% | 40.6% |
| Mean cost per task | $0.0784 | $0.0340 |
| Cost per solved task | $0.1753 | $0.0837 |
Differences, lanes_v1 minus control: cost per solved task −52.2%, mean cost per task −56.7%, solve rate −4.2 pp (posterior interval −19.8 pp to +11.8 pp).
Posterior probability that the solve-rate drop is within m = 20.0%: 97.7%. Flagsmith's chance to beat control on task_cost: 100.0%. Decision by the pre-registered rule (tag prereg-exp1): ship lanes_v1.
Rollout on the same flag
13 tasks at a mean cost of $0.0369 and a solve rate of 53.8%.
Integrity
Merkle root over 146 task_done records of exp1: 7ed364648c7513ef22280eaed97a2ab77e92d91b8f88f5bbfab08d747a989929. 146 of 146 recorded arms match Flagsmith's engine offline. 56 environment snapshots, 1 distinct.
Total model spend: $11.87. numbers.json was generated at 2026-11-27T13:27:09+00:00 from commit 86909966e917.
Changes
Added
- npm packages published:
forkbill0.1.0 (the TypeScript kit) andforkbill-mcp0.1.0 (the MCP server). examples/: nine runnable examples, each run against a self-hosted Flagsmith with its real output committed (quickstarts in Python and TypeScript, a full experiment, an MCP session, OpenFeature, the kill switch, offline verification, the CI check and a comparison of evaluation modes).- The planner transcript and graded patch of every task attempt in experiment 1 and the rollout (
runs/<exp>/transcripts/), four of them rendered inexamples/transcripts/bytools/render_transcript.py. docs/references.md, a checked list of the sources for the methods used, linked from the README and the paper.- Site: the decided result on the home page with the fresh-tier caveat, a live board for the running experiment with a batch switcher, pages for experiment 2, the rollout, the paper, questions, a use-it guide and an in-browser ledger check, a full-screen menu, an updates sign-up, and Flagsmith dashboard screenshots.
- README: the result, Flagsmith's role and the verification commands on the first screen, a table for judges, and a section on what the experiment showed about running Flagsmith experiments.
- TypeScript kit: the bucketing code, offline re-derivation of assignments, a strict failure mode and a shared event sender.
forkbill-mcp, an MCP server with tests. The TypeScript kit package is renamedforkbill, and both build in one npm workspace underkit/.- Release workflow (
.github/workflows/release.yml). On av*tag it re-runs the consistency gate, the registration hash check and the ledger and assignment verification, re-derivesnumbers.jsonfrom the run logs and compares it with the committed file, builds the PDFs and the Parquet export, writesSHA256SUMS, attests build provenance for every asset and publishes the release. A manual dry run builds everything and publishes nothing. - Release notes generated from
numbers.jsonbytools/release_notes.py, using the formatter that fills the README and the paper. tools/compare_numbers.py, which compares a re-derivednumbers.jsonwith the committed one, value by value.- A composite action,
.github/actions/verify-run, that verifies the ledger and the assignments of a run directory and writes the Merkle root to the job summary. CI and the release workflow use it, and another repository can call it on its own run directory. - A devcontainer with Python, uv and Node 22, so the verification and the analysis run in a codespace without keys.
docs/reproduce.md, a walk from clone to verified ledgers and re-derived numbers, with the output to expect.CONTRIBUTING.md,SECURITY.md,CODE_OF_CONDUCT.md,CITATION.cff, issue forms for bugs and replication reports, and a pull request template..editorconfigand.gitattributes. Run logs and lockfiles are marked as generated, and text files check out with LF so the registration hashes hold on every platform.- CI checks that relative links in the Markdown files resolve (
tools/check_links.py) and thatprereg/HASHES.txtverifies.
Fixed
make setupnow installs the optional extras, somake checkpasses straight after it. Without them the type checker could not resolve the OpenFeature imports.docs/interfaces.mdlists the run directory as the runner writes it: snapshots are inenv/, andmeta.jsonhasforce_policy.- The secret scan allows the public client-side key inside committed environment snapshots, and nothing else there (
.gitleaks.toml, D28). - The self-hosted bootstrap generates any missing secret when its settings file already exists, and the demo counts stored events from the events table.
- The analysis finds the power tables when it writes to another directory.
- The README's End Experiment command uses the form the API accepts.
Removed
- The manual kit demo workflow, which the examples replace.
Assets
| File | SHA-256 |
|---|---|
fork-in-the-bill-deck.pdf |
41b9283d551c340ff4cf6f6d78817d39e34ddbfab76aa9a10c64627a529b2aa3 |
fork-in-the-bill-paper.pdf |
096565bf9469444cec96e30577509220e195fb14352410cd3465273bf42ee3f9 |
numbers.json |
cadaa452fcba9962ed7357bd849c98c325d3f2558b1854645158ff6cbf390aa9 |
results.md |
74bfbc4a140fe76b4e0f5953bdfee0de2188bb2a966601d6e4ffba6a868a89b2 |
run-data-parquet.zip |
4537d210e7cdd9b08e601e71f0898315ee26d17515bfcf41b1f4a6c1e6fcb8fb |
SHA256SUMS lists the same digests. Each asset also has a build provenance attestation signed by the release workflow. With the assets downloaded into one directory:
sha256sum -c SHA256SUMS
gh attestation verify fork-in-the-bill-deck.pdf --repo Prashant-thakur77/fork-in-the-bill
gh attestation verify fork-in-the-bill-paper.pdf --repo Prashant-thakur77/fork-in-the-bill
gh attestation verify numbers.json --repo Prashant-thakur77/fork-in-the-bill
gh attestation verify results.md --repo Prashant-thakur77/fork-in-the-bill
gh attestation verify run-data-parquet.zip --repo Prashant-thakur77/fork-in-the-billCheck it yourself
git clone --branch v0.3.0 https://github.com/Prashant-thakur77/fork-in-the-bill
cd fork-in-the-bill
uv sync --locked
make verify # hash chains, Merkle roots, every arm recomputed with Flagsmith's engine
make analyse # numbers.json rebuilt from the committed run logs, then the consistency gatedocs/reproduce.md has the expected output of each command.
v0.2.0: rollout, results by tier, experiment 2 registered
The same-flag rollout is done, experiment 2 is registered and running, and the results are now reported by tier.
What changed since v0.1.0
- Rollout on the same flag. Flagsmith experiment 822 was ended with
lanes_v1as the rollout decision. A fresh batch then ran on the flag with no code change: 13 tasks, $0.0369 per task, 53.8% solved. - Results by tier (the secondary analysis the amendment promised). On fresh tasks alone the solve rate was 37.5% for
lanes_v1against 50.0% forcontrol(−12.5 pp), and the probability that the drop is within the margin is 78.9%, under the 90.0% bar that the full pool clears. Cost per solved task still changed by −40.9% there. The registered decision uses both tiers together and stands; the README and paper state the caveat next to the result. - Experiment 2 (
lanes_v2: the small model drafts the patch, the frontier model reviews) is pre-registered (tagprereg-exp2), created in Flagsmith and running against the rolled-out winner. - Flagsmith dashboard screenshots in the README; power figures read at the registered size; CUPED secondary analysis now runs on the pooled pilot.
Assets
fork-in-the-bill-paper.pdf,fork-in-the-bill-deck.pdfnumbers.json(every published figure) andresults.mdrun-data-parquet.zip: per-task and per-call data for experiment 1, the rollout, the pilot and thelanes_v2dry runSHA256SUMS
Check it yourself
make verify # hash-chained ledgers, Merkle roots, every arm re-derived with Flagsmith's engine
make analyse # rebuild numbers.json from the committed run logs and check every document against it
v0.1.0: Experiment 1 results
Experiment 1 is complete, decided and rolled out.
With the planner on Claude Sonnet 5.5 and the worker lane moved to Claude Haiku 5.5 (lanes_v1), cost per solved task went from $0.1753 to $0.0837 (−52.2%) on 76 control and 69 lanes_v1 real SWE-bench-Live tasks. Solve rate: 44.7% against 40.6% (−4.2 pp, posterior interval −19.8 pp to +11.8 pp). All three pre-registered conditions held, and Flagsmith experiment 822 was ended with lanes_v1 as the rollout decision.
In this release
fork-in-the-bill-paper.pdf: the write-up (method, pre-registration, integrity, results, limits)fork-in-the-bill-deck.pdf: a 12-slide summarynumbers.json: every published figure, produced bymake analyseexp1-run-data-parquet.zip: per-task and per-call run data for experiment 1 and the pilot
Check it yourself
make verify # hash-chained ledgers, Merkle roots, every arm re-derived with Flagsmith's engine
make analyse # rebuild numbers.json from the committed run logs and check every document against it
Next: the same-flag rollout batch and experiment 2 (a draft-and-review worker role).