Repository navigation
feat(dataset): add formal-verification proof-step dataset mining - #321
Merged
Merged
Conversation
…of-steps # Conflicts: # CHANGELOG.md
…of-steps # Conflicts: # CHANGELOG.md
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.
Summary
Adds formal-verification proof-step dataset mining (
coding.sh dataset mine <name> --proof-steps) so teams can harvest real-world proof struggles into versioned eval datasets across all 7 supported languages (lean,rocq,dafny,verus,isabelle,tla,tlc):datasets/proof-mine.ts):outcome: "solved"): Failing (red) proof check → proof-file edit(s) → clean passing (green) proof check, capturing structured{ kind: "proof-step", lang, file, command, error, goalSnippet }and{ resolved: true, winningDiff?, winningCheck, attempts }while rejecting transitions that introduce net new escape hatches or bypass flags.outcome: "stuck"): Repeated or unresolved failing proof checks at session end, giving eval suites benchmarks of real hard proof goals.createRedactor()before clipping and deduplicated via sharedCaseDeduperacross incremental runs.dataset mine):--proof-steps,--proof-lang <LANG>(repeatable/comma list), and--proof-outcome solved|stuck|all(defaultall), rejecting invalid values or either filter without--proof-stepswith exit 2.docs/reference/cli.mdand updatesdocs/guides/evals.mdandCHANGELOG.md.Verification
tsc --noEmit: 0 errors insrc/and dataset/CLI teststest/datasets/*.test.ts(including 11 new unit + E2E CLI tests inproof-mine.test.ts),dataset-curate,help, and docs reference tests: 121 pass, 0 fail (fails-without verified)node scripts/lint/slop.mjs --strict-allowlist&node scripts/changelog/add.mjs --check: cleanapps/site/test/*.test.mjs: 161 pass, 0 fail