Repository navigation
feat(examples): add run 1b to the running example - #71
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds run 1b: run 2 without the undercut
d1, so leafe6dischargesexternal_validity,a1completes, and both claims are justified.Changes
examples/running-example/run1b/: program, policy (byte-identical to run 2's), andexample.core.sexp/expected.jsongenerated byscripts/gen-worked-examples.hsrunPaths(paper order run1, run1b, run2),WorkedExamples,DifferentialSpec, andfixtures/ANCHORS.tsv(regenerated byscripts/gen-anchor-manifest.sh) list run 1bRunningExampleSpec:prop_shapechecks three runs (run 1b: labels[in, in], no edges, statuses justified/justified);prop_nlInterpolationcovers every runmeasurements/frozen/running-example.txtregenerated: adds the run 1b report; run 1 and run 2 bytes unchangedVerification
cabal build allpassescabal 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 onmainwithout this change.run1b/example.core.sexp(exit 0 both)Run 1b verdict: