Phaseline by VERIFYGet the checker
Tutorial Comparison results

Comparison results

Phaseline, an Alloy model and a Python library produced the same deliveries in two trials. A separate workload exposed a limit in Phaseline’s history selector.

For tool selection, see Phaseline, Alloy, TLA+, Lean and other alternatives. VERIFY ran these trials using its own integrations. “Python” in the results means the reusable rule implementation written for each trial. The team recorded what reached each test destination. The trials did not measure total engineering time.

Results at a glance

Course materials and purchase records
Alloy, Python and Phaseline tied on delivered outcomes in two trials. Each handled 14 student readbacks in one and 12 test orders in the other.
Selecting an edition as rule count grew
Alloy answered through 32 independent rules. The historical Phaseline selector refused all cases tested above eight. This benchmark supplied the approved parent fingerprint and measured no deliveries.
Changing store credit from raw history
On a different credit edit the shared reader found the governing memo but could not translate the request. All three shipped the change to zero of the two eligible test shops.
Adding a rule name
Both implementations matched 11 of 11 expected orders. Only our Python adapter needed a checker patch. It reused the patch on the next name.

Graph of decisions possible at each evidence budget · Graph of rule count and runtime

What happened with raw shop history?

Two shops had enough evidence to authorize a change. Each bar counts how many of those two shops received it. Two other histories lacked a unique approval and were held. The same reader served all three tools.

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

Inputs, code and test-store readbacks

Deliver licensed course materials

The three implementations delivered the same files. One change was drawn from four known combinations after the implementations were frozen. Each used its own local Git destination and the same synthetic enrollment histories. Each released 48 files, held six decisions and requested three records. Human setup and maintenance time were unmeasured.

Student readbacks after the change was revealed
ImplementationMatched expectedChecker lines changed
Phaseline14 / 140
Alloy model14 / 140
Trial’s Python rule library14 / 140

Protocol and records

Handle a missing purchase record

The three implementations held the same credit. A shared integration placed orders and checked the test store. Each implementation needed one vocabulary answer, found two gaps in approvals, and requested the same missing purchase record. A hold counted as correct when the expected outcome required one.

Test orders after the change was revealed
ImplementationMatched expectedChecker lines changed
Phaseline12 / 120
Alloy model12 / 120
Trial’s Python rule library12 / 120

Protocol and records

Add a named return rule

Both implementations produced the same order outcomes. The Phaseline checker already accepted a new rule name. Our original Python adapter required identical rule names in both editions and refused the change. Its patch added 6 lines and removed 4. Both implementations needed two rule edits, a shared 12-line lookup, one scripted approval and one request to Merchandising. The patched Python adapter matched the next name in a comparison-only control. One operator prepared the change cards and translated the selected card for both implementations. Alloy did not participate in this trial.

Test orders after the change was revealed
ImplementationMatched expectedChecker lines changed
Phaseline11 / 110
Trial’s Python rule library11 / 1110

Protocol and records

What the measurements leave open

A changed-line count measures the size of a particular patch. It excludes earlier implementation, shared integration, policy authoring and time spent obtaining answers. A team choosing a tool needs the total work from raw history to verified delivery on successive unfamiliar edits at comparable correctness.

The course comparison has a public replay. Replaying the store exercises also requires a test-store connection. Some historical selector measurements require private code. TLA+, Lean, Rego, Cedar, Catala and oasdiff have no scores in these release trials. Dafny was run on a separate refinement exercise.

Download the three delivery comparisons · Replay the course trial