Repository navigation
Add the check-double-inequalities caller - #652
Merged
Merged
Conversation
psw's "Avoiding double inequalities" rule had no check, so an agent wrote a double inequality on Morrison-Lab/pds#492 and Ezra had to ask why. Morrison-Lab/gha#2189 adds a diff-scoped check for the rule; this is the sds caller (wiring: Morrison-Lab/gha#2190). Only added lines count, so existing pages never block. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VDkNznE36g4P7VESu7Nbbj
Contributor
|
Claude finished review — View run This PR adds one thin caller workflow,
VerdictReady for merge Structured Review Data (JSON){
"schema_version": "1.1",
"reviewer": "claude",
"commit_sha": "f60543cd258fabd18a9db8db9c03f1d77e1d7a15",
"verdict": "CLEAN",
"findings": [],
"detailed_assessment": "The new check-double-inequalities.yml caller passes whole-tree and paths-ignore, both declared by the reusable gha workflow, and pins v3 like every other caller.",
"holistic_assessment": "The change is a scoped single-file CI addition with least-privilege permissions and no content, math, or build-artifact impact; validation was by inspection only."
}Reviewed commit: f60543c |
Contributor
Contributor
Author
|
Annotation dispositions for head f60543c:
Posted by Claude Code (AI agent) --- not written by a human. Generated by Claude Code |
Contributor
Built to branch |
Contributor
Author
|
Annotation dispositions for head f60543c:
Posted by Claude Code (AI agent) --- not written by a human. Generated by Claude Code |
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 PR adds a thin caller for
check-double-inequalities, the check added in Morrison-Lab/gha#2189. The check enforces psw's Avoiding double inequalities rule: writep \in [0, 1], not0 \le p \le 1.Why: on Morrison-Lab/pds#492, Ezra asked "why did you write a double inequality? isn't there a psw rule against that?". Nothing enforced the rule.
workflow_dispatch) scans the whole tree.<!-- check-double-inequalities: allow: <reason> -->.Generated by Claude Code