Refund revision comparison
--------------------------
python3 run.py
Runs the Java and Python references. Requires Java 17+ and Python 3.11+.
python3 run.py --phaseline
Also runs the supported rule interpreter and comparison from VERIFY Platform
commit 5a77fdb1cb5342db5fdf944ad4c568273c46e50f. This option requires
access to that private checkout and its environment. The script checks the
module hash. The benchmark archive does not distribute the private engine.

cases.csv lists the hand-written expected first differing cent, same, or
unknown. rules.json gives the wording. Python and Java use hand-translated
predicates, marking vague wording unknown. They scan a positive USD range
from one cent to $1,000. Phaseline reads the supplied sentences. Its adapter
checks that both are interpreted, then reads the engine's first differing
amount. All three are scored on that same finite domain. No implementation
receives the expected verdict as an argument to its comparison function.

The list refinement exercise is separate. Run verify-lists.py with Python
and Dafny 4.11.0 (on PATH or pass the executable as the first argument).

check-history.py exercises the private versioned comparison on synthetic
approval records. Use the same pinned environment as the private refund run.
The last case must reject a proposal tied to the wrong approved file.
observations.json contains all three measured exercises.

Public replay (no VERIFY checkout)
----------------------------------
With Python 3.11+, Java 17+ and Node.js 22+, run:

    python3 public_replay.py

This runs the original Java and Python references and the same refund-example.mjs
that serves the public wording editor. It scores the original unedited sentences
and prints every answer and mismatch. public-replay.json records the published
replay. The original private Phaseline measurements remain in observations.json.
The public wording editor and the native .phase checker accept different input
formats. Download the latter at https://phaseline.dev/phaseline-checker.zip.
