Phaseline by VERIFYGet the checker
Tutorial Release capacity

How much change can a release carry?

This report includes test-store orders, deliveries to local repositories, and simulations with a fixed evidence budget. Each study identifies its inputs, the tools used and what was observed.

Can the same rule language release course materials?

Three-way tie on delivered behavior, new code and requests for evidence. The held-out change was “Withhold the field guide when permission has lapsed.” We froze the three implementations after a different document and evidence owner qualified. Each received identical raw approval histories, a proposed edit and enrollment records. A separate student checkout fetched each issued Git revision.

What a student could retrieve across 14 readbacks per tool
098 file decisionsPhaseline48446Alloy48446Python48446

Green counts released files, blue counts files withheld by known policy, and brown counts unresolved file decisions. A guide and its listing were both affected. The other materials remained available.

ToolPost-draw code editsEvidence requestsApproval gapsApprovalsSetup exerciseUnseen reviewThrough student readback
Phaseline03223.94 s0.220 s4.09 s
Alloy03225.29 s1.519 s5.58 s
Python03223.89 s0.028 s3.97 s

Each arm used 3 distinct evidence requests, one per affected enrollment, covering 6 dependent decisions. There were also two unresolved approval histories and two scripted approvals. One legitimate late clearance released the missing files on the existing enrollment. Earlier enrollments kept their issued terms.

EnrollmentFiles visibleGit commitPolicy digest
Earlier enrollment76ba8ba3c015a889d3b5dd540
Lapsed license confirmed5be456dc51aaa20d14137e14f
Awaiting the licensing record50dd0c2c64dab20d14137e14f
Same enrollment after the late clearance70df49d6f679320d14137e14f

What the language contributed

fact permission_lapsed from license_register.expired owner licensing_lead missing hold_dependents
guarantee field_guide when true unless permission_lapsed
guarantee list_field_guide when field_guide

Phaseline read the location, custodian and missing-evidence behavior from these declarations. Python used an equivalent mapping and evaluator. Alloy used a relation for the source and custodian and a solver to find which files could be released. Each arm reused its setup. Raw memo selection, the supported wording, the simulated approval and Git delivery were shared engineering work. Real deployments must authenticate the people and records represented by these test identities.

The common budget was 30 seconds to review and 180 through delivery. The setup column measures the qualification exercise. Alloy also took 0.285 seconds to compile its Java bridge. We did not time human authoring or interview any outside engineers. These are local Git releases with synthetic course content. Times are one run each.

Try a missing record in the editor · Download the frozen implementations, evidence and three Git bundles

When the store never recorded the fact

Phaseline, Alloy and Python tied on what shipped and how much new code they needed. The randomly drawn request was “Stop issuing store credit on purchases where the buyer witnessed the fit check at pickup.” The same SKU could have been sold with or without a witnessed fit check. Its product listing cannot settle what happened at pickup.

What reached the shopper
012 test ordersPhaseline8211Alloy8211Python8211

Each row contains 12 paid test orders. From left to right, 8 returns were denied, 2 returns had no credit due, 1 return received $62.31, and 1 return was accepted with credit pending. Retrying produced no duplicate return or credit.

ToolDisplay item bought before adoptionSame item bought after adoption
PhaselineR1395 · $62.31 issuedR1398 · credit pending
AlloyR1407 · $62.31 issuedR1410 · credit pending
PythonR1419 · $62.31 issuedR1422 · credit pending

Who had to do what?

All three stopped at the unfamiliar phrase and requested the rule adapter maintainer. A scripted operator asked the policy owner, Inez, for its meaning once per arm. She supplied one glossary entry, witnessed_fit_check. The reader generated the proposed rules. Inez approved the two governed histories. Two additional histories stayed on hold pending her missing or conflicting approval.

For the one affected new purchase per arm, the operator requested its pickup record. The test queried the purchase and line-item records and found no observation. The return went through while the credit stayed unresolved. The old purchase kept its credit. In the shop whose earlier policy already excluded credit on display items, the new question never reached the custodian.

ToolNew executable code after drawGlossary repliesApproval gaps or conflictsMissing purchase recordsReviewThrough readback
Phaseline01210.132 s8.64 s
Alloy01214.908 s12.90 s
Python01210.127 s6.78 s

Before the freeze, VERIFY added shared handling for a defined term and successive exceptions, plus the trial operator and scoring code. All three reused their existing engines, store connection, history reader and checkout evidence logic. Each arm had 30 seconds for review and 180 seconds through readback. Times cover a single machine run. Owner replies and approvals were scripted. Human setup time and outside adoption remain unmeasured.

We checked 423 test-store orders and 423 line items for the field and checked order notes for the wording. The order and credit ledger independently confirmed all 36 timed outcomes. Phaseline exposed the new input in source. A team with this Python or Alloy setup could ship the same behavior.

Download the frozen sources, inputs and receipts · Try a new fact in the editor · Pre-draw record (VERIFY team)

Change return eligibility. What happens to credit?

Release outcome and new code: three-way tie. After we froze Phaseline, Alloy and Python, the drawn request was Stop accepting returns on clearance lots. Each received the same raw histories, found the two owner-approved editions and followed the eligibility change through to store credit. Two other histories remained unresolved. Each tool requested the missing or conflicting approval from Inez.

What reached the shopper on the unseen edit
014 purchasesPhaseline842Alloy842Python842

Across each row, green shows accepted returns, blue shows policy denials, and brown shows returns held for a missing classification. The horizontal axis counts paid test orders. Retrying created no additional return or credit.

ToolFinal-sale setup runUnseen reviewUnseen through readbackNew code after freezeCredits issued
Phaseline10.92 s0.19 s12.37 s04 · $249.24
Alloy11.37 s3.03 s14.49 s04 · $249.24
Python9.18 s0.14 s9.20 s04 · $249.24

Each arm had 30 seconds per comparison and 180 seconds per release. Times include placing orders, submitting shopper returns and reading credits back. The setup run includes compiling Alloy. One timed run per tool gives a speed observation. It does not establish a repeatable speed ranking.

What customers got

The catalog classifies standard and outlet purchases as clearance. After the edit, a previously bought standard item still returned for $62.31. A newly bought one lost both return eligibility and credit. Display items kept their shop’s prior terms.

Purchase at $62.31Bought before the clearance editBought after the edit
Clearance · standard stockR1355 · Accepted · $62.31R1358 · Denied · $0.00
Clearance · final-sale outlet stockR1353 · Accepted · $0.00R1356 · Denied · $0.00
Display · shop grants creditR1354 · Accepted · $62.31R1357 · Accepted · $62.31
Display · shop excludes creditR1347 · Accepted · $0.00R1350 · Accepted · $0.00

These are Phaseline’s test-store order numbers. The download includes the separate Python and Alloy orders. PostgreSQL independently confirmed all 42 held-out purchases. Two unclassified purchases per tool waited for Merchandising. The two unresolved histories produced no release.

What had to be built before the freeze?

Our earlier reader held the same final-sale request. The Phaseline language already supported unless. We connected the shop’s wording to named source declarations and bound stock facts to its catalog. The stock names and classifications live in the shop file. When a guarantee already has an exception, the editor preserves it as a named condition.

guarantee issue_store_credit when return_eligible unless final_sale

The shared Python source editor and comparison bridge took 119 lines, including the translation used by Python and Alloy. Phaseline uses a four-line JavaScript entry point to check the actual source. The shop vocabulary and catalog take 22 lines of data. We also changed history selection and the test-store return hook. No evaluator core changed. During qualification, all three accepted all 12 returns and issued six credits. Earlier final-sale purchases kept their credit, while later ones could still be returned. The 36 qualification orders also passed the independent ledger check.

On the held-out edit every tool reused this setup. The system changed one policy declaration per issued shop. It needed no new code or clarification about the edit. Each arm recorded two scripted owner approvals. No human authoring time was measured. This was a random choice from three predeclared stock groups with bindings already installed, on one single-item USD test store.

Try the final-sale source · Download sources, packets, freeze and order receipts · Pre-draw commitment on #196 (VERIFY access)

Who can ship from the shop’s own history?

A teammate asked to accept display items for returns. Nothing in the edit mentioned credit. The same raw chat export went to each tool. Two shops had different owner-approved memos. Another had no approval. A fourth had two conflicting approvals. Nobody selected a prior policy for the tools.

Shops where the right change reached the shopper, out of two with enough evidence. Columns compare the existing reader, the new shared reader on supported edits, and that reader on a different credit rule. A score of zero means neither eligible shop received the requested change.
ToolExisting readerWith shared readerUnseen credit ruleUnresolved histories with shared reader
Phaseline 0/2 2/2 0/21 missing, 1 conflict
Alloy 0/2 2/2 0/21 missing, 1 conflict
Python 0/2 2/2 0/21 missing, 1 conflict

The existing readers expected a published policy record. All stopped on ordinary approval messages. A new shared reader followed the owner’s reference to the memo and translated two forms of eligibility edit. All three tools then found both governing memos and distinguished missing approval from conflicting approval. The fixture owner approved two releases in each resolvable shop. Nobody supplied an answer for the other shops.

What the shopper received

The same display item cost $68.99. After the team opened returns at $40.22, each shop accepted the return. Only one gave credit. These are four Phaseline-arm purchases. Alloy and Python matched them on separate orders through the same Spree shopper endpoint.

Prior agreementBoughtOrderShopper returnCredit received
Credit follows return eligibilityBeforeR1250Refused (422)$0.00
Credit follows return eligibilityAfterR1252Opened (201)$68.99
Display excluded from creditBeforeR1251Refused (422)$0.00
Display excluded from creditAfterR1253Opened (201)$0.00

A second edit raised the minimum to $68.49. A $40.22 purchase made before that edit retained its return right. A new purchase at the same price was refused. Serving the old rule on a qualifying new order also produced a refusal, which the release check caught. Across both completed runs, PostgreSQL independently confirmed 48 scored orders and 12 deliberately stale controls on the disposable test store.

How much work did it take?

ToolOriginal draw after repairFresh confirmationSecond review only, confirmationEvaluator lines changed
Phaseline17.70 s17.73 s0.11 s0
Alloy19.64 s19.73 s0.77 s0
Python17.41 s17.82 s0.09 s0

Times cover machine setup through both releases and shopper readback, including Java compilation for Alloy. The first harness contained 450 lines including the examiner, checks and protocol. Of those, 54 handled chat history and wording, and 52 connected the shopper return endpoint. The first attempt placed eight test orders per tool, then stopped before the shopper return check because the shared release code assigned a new identifier to the same approved memo. The repair added 17 shared lines and removed 12. The original draw was replayed, then the repaired code was frozen before a second draw. Human authoring time, prior tool development and merchant deployment costs were unmeasured.

What happened on a different kind of edit?

Keep return eligibility. For eligible purchases, stop issuing store credit on final-sale stock.

This previously unused change came from the earlier trial’s deck. On both resolvable histories the shared adapter found the memo but could not translate the edit. No tool shipped it. The adapter has since been changed to return an explicit hold for unsupported wording. The measured release score remains zero. This was a machine trial within a disclosed family of edits. Outside-engineer testing remains open.

Download raw histories, source, timings and store receipts · Download reused evaluators

Same balance. Different return rights.

The shop’s request was explicit. Allow display items to qualify for returns. Keep the existing exclusion for issuing store credit. An operator translated both instructions for all three tools. Compare the same floor model bought at the same price before and after the change.

Customer questionBought beforeBought after
Credit delivered$0.00$0.00
Return under the issued ruleIneligibleEligible

The credit row comes from the store ledger. The return row comes from evaluating the issued rules for each purchase. The later raw-history trial exercised the actual shopper return endpoint on new orders.

How Phaseline, Python and Alloy tied across 75 test orders

Each implementation had the approved policy and ran 25 orders. Of those, 10 received credit, 10 settled without credit, and five were held for a missing purchase fact. Each changed two rules, made zero engine or adapter edits during this change, asked zero policy questions and used one scripted owner approval. The paired purchases above cost $50.05 each. Human effort was unmeasured.

One Python test registration needed recovery after a store rate limit. The ledger includes the resumed purchase.

Alloy began one release behind. It reused the earlier adapter patch (6 lines added, 4 removed), changed no solver code and used one scripted approval to issue v5. Each tool then passed the same 96 baseline checks. The comparison counted that setup separately. All three then used the same purchase history, permissions, store connector and credit delivery. An existing Python or Alloy implementation can handle this change with the same two edits. A switching case would require repeated savings on real incoming changes after including setup, maintenance and owner time, with equally correct outcomes.

Frozen starting point and candidate requests · Draw, exact edit and 75 order results · Independent store ledger · Reproduce the comparison

What can a reviewer still decide after losing history?
At three retained bits all three tools resolve every history up to load one, then seven of sixteen, seven of thirty-two and seven of sixty-four.
□ Phaseline○ Alloy + adapter◆ Versioned Python

See the raw-history release test · Compare the old and new purchase

Inspect the checker edit

Store credit · compare actual old and new orders ↓ · Who needed code on the next change? ↓

Raw shop history · see Phaseline vs. Alloy and Python ↓

New simulation · see wins, ties and delivery costs ↓

All three markers coincide at every measured point. The rule for a safe release is the same for all three tools. Lines connect the tested loads.

With 3 bits, each tool completes 8 of 8 histories at load 1. At the next load all three complete 7 of 16. The other 9 explicitly return unknown.

What did Phaseline save over Python and the same library?

The returns desk wanted to ask “Did this purchase meet the $50.05 minimum?” even when the item itself was ineligible. The shop kept its display-stock exclusion. The request never mentioned store credit.

Phaseline needed one fewer checker edit. Customer outcomes and questions tied. Each tool started from the same issued shop policy and Spree connection. The operator translated the request once into two declarations for both tools.
ToolFrozen setupPolicy editsChecker linesClarifications / approvals / missing factsStore orders
PhaselineReviewed200 / 1 / 110 settled, 1 held
PythonRefused2+6 / −40 / 1 / 110 settled, 1 held
guarantee meets_return_minimum when order_total >= 5005 USD_cents
guarantee return_eligible when meets_return_minimum unless display_only

Phaseline already compared editions with different rule names. Our Python adapter required the same names on both sides. Its six added and four deleted lines let it compare a newly introduced or removed rule while checking references within each edition. On a further review with a different name and threshold, both worked without another edit.

What actually shipped to the test store. A $50.04 standard order placed under the old terms got $50.04 back. An identical new order got $0. A new $50.05 standard order got $50.05. Display stock at $50.05 met the minimum and received $0. An unclassified item at $50.04 needed no question. At $50.05 both tools asked Merchandising whether that specific item was display stock and held the credit.

Both reused the shared library for purchase history, approvals, delivery and receipts. Both needed the same new 12-line, read-only Python lookup to answer the desk’s question against the purchased edition. Both traced the credit change to the first affected standard order at $49.51. One shop-owner approval per tool was scripted. No outside engineers participated. This single operator-designed draw measures code changes and store outcomes. Human effort remains unmeasured.

Exact Python change · Shared desk lookup · Draw, questions and 22 order receipts · Independent Spree ledger · Reproduce this comparison

What reached the customer’s store balance?

Plane Works changed one line. Orders of exactly $50 became eligible for a return. The edit said nothing about credit. Phaseline, Alloy and Python each found the same downstream change and issued the correct amount to all six of their test customers.

Store credit received, by order total and editionAll three tools agreed. At $49.99 both editions gave zero. At $50 only new orders got $50. At $50.01 both got $50.01.Customer credit (USD)$50$25$0v1 · $0.00v2 · $0.00$49.99v1 · $0.00v2 · $50.00$50.00v1 · $50.01v2 · $50.01$50.01Order total (USD)
Blue · order placed under v1   Rust · order placed under v2

All returns were evaluated after v2 took effect. Each pair shows the balances Spree returned after restart. All three tools produced the same bars.

Three-way tie on delivery and code reuse. Each needed an initial connection to the store. All three reused it for the eligibility change, with zero changes to their checker or connector. The order records identified which terms applied at purchase.

Read the paid orders and balances
ToolEdition at purchase$49.99 order$50.00 order$50.01 order
Phaselinev1R1003 · $0.00R1004 · $0.00R1005 · $50.01
Phaselinev2R1014 · $0.00R1015 · $50.00R1016 · $50.01
Alloyv1R1011 · $0.00R1012 · $0.00R1013 · $50.01
Alloyv2R1020 · $0.00R1021 · $50.00R1022 · $50.01
Pythonv1R1007 · $0.00R1008 · $0.00R1009 · $50.01
Pythonv2R1017 · $0.00R1018 · $50.00R1019 · $50.01

Each customer started at zero. Replaying the request left one credit on each eligible account. Three separate $50.01 control credits also paid for three more purchases using store credit alone.

What each tool had to build

All three shared a new Spree connector for orders, policy editions and customer credits. Phaseline needed an input adapter to its existing parser and revision checker. Python needed a reader for the new rule and its dependency. Alloy reused that input reader and its existing Java driver, and needed a model that follows the dependency in Alloy. The second change was policy data for all three.

guarantee return_eligible when order_total > 5000 USD_cents
guarantee issue_store_credit when return_eligible

The only v2 edit changed > to >= for eligibility. Exact edit sent to the trial

ToolWire & place old ordersIssue & applyRestart readbackCredit-funded purchase
Phaseline2.05 s1.84 s1.05 sR1023
Alloy1.98 s1.69 s0.31 sR1025
Python1.26 s1.40 s0.26 sR1024

Single serial run on a self-hosted Spree 6.0.5 test store backed by PostgreSQL. Each engine call had 30 seconds. Times cover machine execution, including Alloy driver compilation in v1. Shared store provisioning, authoring, the shared restart and the extra redemption check are outside these times. Tool order was fixed, so the timings do not establish a speed winner.

Order and credit receipts · Credit-funded purchases · Reproduce on a test store

Who needed code on the next change?

Plane Works excluded final-sale stock from return eligibility. Its original Phaseline, Alloy and Python setups all refused the new rule. Each needed support for a fact about the purchase. The existing Spree connection continued to issue and read credit.

Correct purchase outcomes per tool, across two successive changes. Each stage also included one additional order where a missing fact required a hold.
ToolOriginal exceptionAfter adding supportNext changeCode files edited for next change
PhaselineRefused 7/7 7/70
AlloyRefused 7/7 7/70
PythonRefused 7/7 7/70

We then froze the code and drew a new eligibility edit. It excluded display stock and set a $49.51 minimum. Each tool reused its code with one new catalog mapping for display_only. An earlier outlet purchase kept its $0 credit under v3. A new $50.01 outlet purchase received $50.01 under v4, while a new display purchase received $0. Both edits omitted the credit rule.

Purchase receipts by tool
ToolCurrent releasePurchaseSpree orderCredit
Phaselinev3Earlier Outlet OrderR1058$50.01
Phaselinev3OutletR1060$0.00
Phaselinev3DisplayR1061$50.01
Phaselinev4Earlier Outlet OrderR1082$0.00
Phaselinev4OutletR1084$50.01
Phaselinev4DisplayR1085$0.00
Alloyv3Earlier Outlet OrderR1066$50.01
Alloyv3OutletR1068$0.00
Alloyv3DisplayR1069$50.01
Alloyv4Earlier Outlet OrderR1090$0.00
Alloyv4OutletR1092$50.01
Alloyv4DisplayR1093$0.00
Pythonv3Earlier Outlet OrderR1074$50.01
Pythonv3OutletR1076$0.00
Pythonv3DisplayR1077$50.01
Pythonv4Earlier Outlet OrderR1098$0.00
Pythonv4OutletR1100$50.01
Pythonv4DisplayR1101$0.00
What happened when evidence was missing?

At a qualifying amount, an unclassified SKU could change the outcome. The desk named the order, the missing classification and its owner. Below the minimum it could decide immediately. An unavailable issued edition produced a request for that order’s policy fingerprint. A revoked reader required a grant from the shop owner. The program exercised these cases with scripted identities.

EditRequestResponsible ownerOrder
exceptionpurchase fact final_saleMerchandisingR1065
transferpurchase fact display_onlyMerchandisingR1089

All three tied on the measured changes. The historical lookup, authorization checks and store delivery were in a reusable library shared by the three tools. Each reviewed the named dependency with its own evaluator. Engineer minutes and actual owner interruptions still require an independent operator.

Run the Phaseline source · Orders, holds and elapsed machine time · Reproduction and code costs · Before the draw · Independent ledger read of all 48 orders

Which tool ships the right refund policy?

Eighteen simulated changes started with the shop’s original wording, a shuffled decision history and Joe’s entire proposed replacement. The reader had to find the issued policy for that shop and date. Nobody marked the changed clause or supplied a pair of thresholds.

Phaseline vs.Release qualityElapsed machine time
AlloyTieWin
PythonTieLoss
Machine time from setup to served orders · shorter is faster. Median of three runs, in milliseconds. Every tool had 30 seconds per batch, the same history, permissions, machine and order desk.
ToolSetup through readbackCorrect outcomesUnsafe issues
Phaseline 54.7 ms18/180
Alloy 858.6 ms18/180
Python 48.8 ms18/180

All three called all 18 cases correctly and shipped the seven authorized revisions. Six uncertain changes held, four edits preserved behavior and one change stayed pending when its owner withheld approval. In one shop the receipt is due only when manager approval is required. Moving the approval threshold changed both actions at $500.00, even though Joe left the receipt sentence alone. After restart we requested refunds on orders placed before and after the release. Each retained the terms in force when it was placed.

Setup, review and delivery costs
ToolSetup (ms)Review (ms)Issue and readback (ms)
Phaseline2.947.13.5
Alloy390.5462.84.6
Python2.540.84.6

The clock includes staging each tool, seeding the order desk, compiling the Alloy driver, reviewing the raw packets, simulated owner approval, issue and fresh order readback. The three tools ran serially in rotating order. Alloy reused one JVM per batch. Standard language runtimes and the downloaded Alloy jar were preinstalled. All work used existing hardware with zero paid model calls. No human authoring or rework time was measured.

We added a public Phaseline wording reader and exact-cents operators. The Python baseline has its own wording and history reader. The Alloy arm reuses that adapter and computes obligations over ordered amount intervals in Alloy. All arms rely on the same simulated authority and SQLite order desk.

Same edit, different governing history

After freezing the readers, we drew a fresh amount and changed which approval was in force on the review date. The same words moved the first shop’s boundary at $646.86 and preserved the second shop’s behavior. Every tool issued the first revision and correctly left the second alone. No new case-specific mapping was added between runs. Median setup-through-readback times on these two cases were Phaseline 54.2 ms, Alloy 838.9 ms, Python 57.0 ms.

Try the editor · Raw shop inputs · Times and served orders · Frozen-reader replay · Reproduction kit

Edit a shop’s refund promise

This simulated shop records refunds in USD. Submit the complete replacement below. The editor finds the governing shop entry and the first amount where the decision changes.

Reading the issued policy…
Ready for a proposal.
Inspect the shop’s raw history

The editor supports positive whole-cent USD refunds through $9,999,999.99, inclusive or exclusive thresholds, explicit approval waivers and receipt instructions. Owner decisions here are saved in this browser. Read and run the Phaseline source.

From setup to a served release

A parcel shop changes when a signature is required and drops its receipt promise. Some histories have a missing or unreliable insurance record. Can the tool still ship when that record makes no difference, and hold when it does?

Compared on release qualityEarlier toolsAfter repair
Phaseline vs. AlloyWinTie
Phaseline vs. PythonWinTie

Forty simulated shop histories per tool. An unsafe issue counts first, then a safe delivery, then a correct hold. All three ran within the same 30-second machine budget. Each result was repeated three times. Outside-engineer trial on hold. Human setup and customer delivery costs are unmeasured.

Safe releases per 40 histories · 24 were possible on the supplied evidence. The other 16 required a hold.
ToolEarlier toolsAfter repair
Phaseline8/40 8/4024/40 24/40
Alloy + adapter12/40 12/4024/40 24/40
Versioned Python12/40 12/4024/40 24/40
Where the results changed
ToolEarlier unsafeEarlier safe issuesRepaired unsafeRepaired safe issuesCorrect holds after repair
Phaseline0802416
Alloy + adapter41202416
Versioned Python41202416

Phaseline originally waited for every fact. That needlessly held 16 safe releases. Our Python evidence reader treated the text "false" as true, and the Alloy adapter reused that reader. Each issued four times without sufficient evidence. Phaseline evaluates the rules in JavaScript, Python evaluates them directly and Alloy computes the old and new relations. We supplied the meaning of each rule to all three. Both repairs are portable. The tools now check whether every permissible value of an unavailable fact leads to the same observable result.

Machine time from setup through delivery
ToolSetup (ms)Check (ms)Issue & readback (ms)Total (ms)
Phaseline538271207
Alloy + adapter38645764921
Versioned Python5457165292

Median of three fresh runs of the repaired tools on one machine. Setup includes copying files, seeding the destination and compiling Alloy’s Java driver. The language runtimes and downloaded Alloy package were already installed. Release includes owner checks, writing the simulated shop’s SQLite database and querying old and new orders after reopening it. Phase medians can come from different runs. All three reused the destination and permission machinery.

Which would I pick? If a team already runs this Python policy code, the repaired version delivered every recoverable change. A team working in Alloy can keep its model and validate its evidence adapter. For a new project, Phaseline supplies version comparisons and named guarantees as built-ins. The finite research result explains how much distinguishing information a tool needs. All three can use it. A saving in human work still needs measurement.

Download the machine results · Earlier outcomes · Reproduce the comparison

Which problem does this measure?

Two teams can ask for the same change today and owe their customers different things because of a decision they made last month. A reviewer has to recover the difference, see which behavior would change, put that choice to the owner and check what the next customer actually gets. The class includes release decisions whose relevant evidence, permitted actions and observable outcomes can be specified.

X · How much history matters relative to what survives?
Group histories that require the same answers on every declared old and new observation. If there are D different answer profiles, distinguishing them needs at least log₂(D) bits across a restart. Divide that demand by the number of history-dependent bits the reviewer may retain. Ten clauses that always give the same answer can take less capacity than two independent commitments.
Y · How often can the team safely finish?
Count a history only when the fresh reviewer identifies every changed observation correctly, the owner authorizes the revision, the receiving desk serves the right version, and a reopened desk can retrieve the original receipt. The denominator includes every admitted history. An explicit refusal earns zero completions. Wrong answers are reported separately.

These axes answer the release question an engineer can act on. More memory moves the boundary. Access to another record can also move it. Setup time, source quality and the cost of proving and shipping a change still matter when choosing a tool.

Exact counts and cold-process costs
Retained bitsRequired bitsLoadPhaselineVersioned PythonAlloy + adapterWrong
210.502/22/22/20
221.004/44/44/40
231.503/83/83/80
242.003/163/163/160
252.503/323/323/320
263.003/643/643/640
310.332/22/22/20
320.674/44/44/40
331.008/88/88/80
341.337/167/167/160
351.677/327/327/320
362.007/647/647/640
410.252/22/22/20
420.504/44/44/40
430.758/88/88/80
441.0016/1616/1616/160
451.2515/3215/3215/320
461.5015/6415/6415/640

Median capture/review times across 18 batches per tool were Phaseline 31/29 ms, Versioned Python 28/24 ms, Alloy + adapter 266/279 ms. Separate cold processes ran acquisition and review with a 30-second limit per batch. SQLite receiver costs, input sizes, preparation time for the Alloy driver and case-level outcomes are in the results. Human modeling, installation and production operation were outside this clock.

Raw outcomes · Download CSV

What happens when evidence costs something?

In the café example, reading the table reservation costs one unit. Reading the layout costs three. When there is no reservation, the first read settles the question. When there is one, the position of the counter matters. Units are declared probe costs. They can represent source calls with different prices.

2 bits retainedProfiles0 units123456
Café layout30/42/42/42/44/4——
Water allocation60/80/80/80/82/84/85/8

The same planner ran on the independently checked behavior tables. It searches both the observations to buy and the information to keep. On the water case, two retained bits and six read units resolve five of eight histories. Cutting the read budget to three leaves all eight unresolved. The result would look very different if the benchmark supplied a free copy of the past.

See the finite argument and its limits

With B retained bits there are K = 2B possible states. Two histories with distinct answer profiles cannot share a state that issues a complete correct answer. When D ≤ K, a code per profile suffices if the records can be read. When D > K, at least one state must represent an unresolved collision. At most K − 1 distinct profiles can receive full safe answers. Reserve that many codes for the most frequent profiles and one for all others. This attains the bound. For equally frequent distinct profiles the fraction is (K − 1) / D. Re-reading a source after restart, answering only part of the query or allowing errors changes the problem.

For priced reads the exact small search tries each eligible set of safe profiles. At every node it tries stopping or paying for each permitted observation, then solves both resulting branches with the remaining budget. Every deterministic decision tree in this finite family has one of those first moves. The planner chooses the most completed histories and breaks ties by total read cost. Its output includes the tree, charges and number of planning states. Planning itself consumes resources. We have no joint optimality result for a hard limit on planner time, evolving access rights, an unprovided vocabulary or a replacement trust anchor.

The graph borrows Gardner’s question about capacity as load grows. Its threshold follows from the finite number of memory states. Gardner’s neural-network threshold describes a different system. Gardner’s original paper · Joint search records

Can v2 quietly drop a promise?

The first edition requires manager approval above the shop’s limit and promises a receipt. Joe’s proposed edition only mentions receipts. Give the reviewer that proposal without identifying what changed. It retrieves the issued edition, checks every declared case and shows a witness. A withdrawal leaves the future behavior unspecified.

Reading the issued edition…

Ready for review.

The browser stores this example’s issued editions on this device. A new tab can recover the decision. In a team deployment the authority and storage must be shared and authenticated.

Walk one change from promise to release

Mary Jane promised a shared table. Joe asks to put pickup in the window. In this example the layout record says that window is the only place the table fits. The declared observable is whether customers can still use it. Review once, then try turning off access or cutting the evidence budget.

Issued evidence
Review budget
Loading the café contract…
Edit the contract

The browser runs the downloadable finite interpreter. Its owner and receiving desk are local examples. In the terminal walkthrough, independent Python semantics checks a proposed reader, rejects a corrupt reader, and queries a separately materialized SQLite destination after restart. Run the walkthrough

Inspect what each implementation served

The same proposal flips the first desk’s approval rule. If desk two requires approval, the combined rule still calls for review. If desk two allows the transaction, the combined decision changes. Each implementation read the same shuffled records and dealt with the same owner and issue controls. Open a served snapshot to see its two desk decisions, combined decision and version.

ImplementationOther promiseOriginalApprovedIssued
PhaselineDesk two allowsv1 · reviewv1 · reviewv2 · allow
PhaselineDesk two requires approvalv1 · reviewv1 · reviewv2 · review
Alloy + adapterDesk two allowsv1 · reviewv1 · reviewv2 · allow
Alloy + adapterDesk two requires approvalv1 · reviewv1 · reviewv2 · review
Versioned PythonDesk two allowsv1 · reviewv1 · reviewv2 · allow
Versioned PythonDesk two requires approvalv1 · reviewv1 · reviewv2 · review

These immutable HTTP snapshots replay a controlled release from each implementation. All three use the same SQLite receiver. All 18 snapshots and hashes

One actual decision after rollback

In a separate local VERIFY deployment, PostgreSQL recorded the owner’s decisions and Open Policy Agent evaluated the same $150,000.01 load before and after issue. Each row has a distinct OPA decision ID.

Receiver stageEffective version$150,000.01 load
Original issued1Allow
Revision approved, awaiting issue1Allow
Revision issued2Refer
Rollback issued3Allow

After the receiver shut down, a new reader recovered the version 2 decision and its original ID. The status of a new live transaction was unknown. Read the four native decision IDs and exact revision

A change from a real software release

CPython changed what counts as a valid file suffix. We ran the same 25 calls against released Python 3.13.5 and 3.14.2. In the older version, asking for report.txt with suffix "." raises ValueError. The newer version returns report.. A root path still fails in both versions. This is a deterministic change a checker can miss if it only verifies each version against its own current specification.

Phaseline, Alloy and versioned Python each predicted the observed acceptance result on all 25 inputs, including all four changed cases. The installed standard libraries supplied the outcomes. We supplied the behavior model and input mapping. This checks the supplied model against those 25 calls on two released interpreters. Outside-team authoring cost remains unmeasured. Predictions and observed return values · Python’s release documentation

When to choose each tool

Phaseline for maintaining commitments across releases
The finite experiment on this page includes a history reader and a release adapter. The standalone CLI compares the editions you supply and can identify actions awaiting evidence. In the separate refund benchmark, the private checker took 0.65 ms warm at eight independent rules. The finite edition on this page has a different contract.
Alloy for exploring a relational design
Choose Alloy when you already work in relations, need to find counterexamples or want to explore richer structures over a declared scope. It tied here given the same evidence adapter and release constraints. In the refund benchmark it answered all 96 cases above the native checker’s eight-rule selection cap. Native head-to-head results · Alloy’s modeling scope
Versioned code when your team already owns the release machinery
A Python implementation with the same history reader, codec, authority and destination reached the same frontier. The potential Phaseline advantage is how much of that work a second team can reuse. Measuring that requires a team bringing an unfamiliar change and counting all the work to deliver it.

How far the research carries

What the executable covers
It groups histories by observable consequences, discovers a representation within a supplied grammar, prices authorized reads, builds the finite reader and checks a decoder against independent semantics. It supports intentional owner changes, staged delivery, historical receipts, safe migration and a refusal when a new distinction cannot be recovered.
What remains open
Someone still has to establish which observations matter to the customer, identify trustworthy sources, supply or justify the meaning of new terms, and connect each real destination. The checker has a fixed trust anchor. Discovering new observables, validating a changed trust anchor and demonstrating lower total cost on unfamiliar releases remain open. Those are part of the full research objective.