Repository navigation
CI pre-commit hook job; owner labeling tool for real-history flags - #4
Merged
Merged
Conversation
… checks it blocks a staged weakening and passes an honest change
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…iff and findings per commit, append-only JSONL labels, reproducible per-rule sample, Wilson precision summary; refuses non-interactive input); tests
Shriram28Baskar
marked this pull request as ready for review
November 22, 2026 17:08
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.
Two additions after 0.2.1. No engine source changed, so the benchmark artifacts are untouched.
CI: the pre-commit hook on Linux
precommitjob runs.github/scripts/precommit_smoke.sh. It usespre-commit try-repoto install this repository exactly as a user'srepo: .../provecodewould, then checks that a staged test weakening is blocked (S2) and a staged honest change passes.Research:
docs/research/scripts/label.py(brief Phase 6 tooling)docs/research/labels/real_history_scan_v2.jsonl, which is append-only and resumable.--sample Ngives a fixed, reproducible sample per rule; 75 commits for N = 10.--summaryreports per-rule precision with Wilson 95% intervals.engine/tests/test_label_tool.py).Verified locally
pytest engine/tests benchmark/test_benchmark.py: 672 passed, 14 skipped.ruffon the new files: clean.--summarylists 10 rules and 179 flagged commits, with "not measured until labels exist". Piped input is refused.show()displays a real commit's findings and diff.Also checked tonight (in the demo repository, not in this PR)
@v0.2.1on provecode-action-demo, in both modes:uv tool installand pipx installs ofv0.2.1printprovecode 0.2.1and block a weakening.