Skip to content

feat(examples): add run 1b to the running example - #71

Merged
EYH0602 merged 1 commit into
mainfrom
feat/running-example-run1b
Nov 12, 2026
Merged

EYH0602 merged 1 commit into
mainfrom
feat/running-example-run1b

Conversation

@EYH0602

@EYH0602 EYH0602 commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

This adds run 1b: run 2 without the undercut d1, so leaf e6 discharges external_validity, a1 completes, and both claims are justified.

Changes

  • examples/running-example/run1b/: program, policy (byte-identical to run 2's), and example.core.sexp / expected.json generated by scripts/gen-worked-examples.hs
  • runPaths (paper order run1, run1b, run2), WorkedExamples, DifferentialSpec, and fixtures/ANCHORS.tsv (regenerated by scripts/gen-anchor-manifest.sh) list run 1b
  • RunningExampleSpec: prop_shape checks three runs (run 1b: labels [in, in], no edges, statuses justified/justified); prop_nlInterpolation covers every run
  • measurements/frozen/running-example.txt regenerated: adds the run 1b report; run 1 and run 2 bytes unchanged
  • README: two sentences on run 1b

Verification

  • cabal build all passes
  • cabal test lara-test: all running-example, worked-example, and differential properties pass. One failure, evidence: immutable output publication rejects existing and racing destinations (withBinaryFile: does not exist), also fails on main without this change.
  • Haskell and Lean drivers agree byte-for-byte on run1b/example.core.sexp (exit 0 both)

Run 1b verdict:

(verdict (replay-id ...) accept (labels (0 in) (1 in)) (edges) (statuses (status (atom improves (con M) (con accuracy) (con D)) justified) (status (atom num_lt (num 0.71) (num 0.74)) justified)))

Run 1b is run 2 without the undercut d1: leaf e6 discharges
external_validity, a1 completes, no attack is declared yet, and both
claims are justified. The paper presents all three runs; the artifact
shipped only run 1 and run 2.

- examples/running-example/run1b: program, policy (byte-identical to
  run 2's), and the generated core anchor and expected verdict
- runPaths, WorkedExamples, DifferentialSpec, and ANCHORS.tsv list run 1b
- RunningExampleSpec checks the three-run shape; the frozen golden adds
  the run 1b report with run 1 and run 2 bytes unchanged
@EYH0602
EYH0602 merged commit 436b88f into main Nov 12, 2026
2 checks passed
@EYH0602
EYH0602 deleted the feat/running-example-run1b branch November 12, 2026 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant