Skip to content

Add the check-double-inequalities caller - #204

Merged
d-morrison merged 1 commit into
mainfrom
claude/check-double-inequalities
Nov 24, 2026
Merged

d-morrison merged 1 commit into
mainfrom
claude/check-double-inequalities

Conversation

@d-morrison

Copy link
Copy Markdown
Contributor

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: write p \in [0, 1], not 0 \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.

  • The check is diff-scoped, so existing pages never block it. A manual run (workflow_dispatch) scans the whole tree.
  • The check blocks. A line can opt out with <!-- check-double-inequalities: allow: <reason> -->.
  • This is infra only: one workflow file. The wiring issue is Morrison-Lab/gha#2190.

Generated by Claude Code

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
ids 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
Copilot AI balanced review requested due to automatic review settings November 24, 2026 16:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions

Copy link
Copy Markdown

Claude finished review — View run


I fetched PR #204 live. It is open, not a draft and not merged, and its head is still e251eddd26a19f71c0422e29e2e3985841e7c6d9. That is the commit I reviewed, so the earlier review stands.

Verdict

Ready for merge. I found no blocking issues. The one suggestion, a possible paths-ignore for _extensions/, is optional.

Structured Review Data (JSON)
{
  "schema_version": "1.1",
  "reviewer": "claude",
  "commit_sha": "e251eddd26a19f71c0422e29e2e3985841e7c6d9",
  "verdict": "CLEAN",
  "findings": [],
  "detailed_assessment": "The added caller workflow check-double-inequalities.yml references an existing reusable workflow at v3, passes a supported whole-tree input, and uses matching read-only permissions; only an optional paths-ignore suggestion for _extensions remains.",
  "holistic_assessment": "The change is a single scoped CI wiring addition consistent with the sibling check workflows, touching no content, math, or build artifacts, so regression risk is low."
}

Reviewed commit: e251edd

@github-actions

Copy link
Copy Markdown

💰 Cost: $0.2370 (review) — run

Copy link
Copy Markdown
Contributor Author

Annotation dispositions for head e251edd:

  • SUBMODULES_TOKEN is empty; cloning submodules anonymously (review / claude-review): false positive. This is a notice-level message, and the only submodule, latex-macros, is public, so the anonymous clone succeeded.
  • PR edits workflow files; restored .github/workflows/ from the default branch (review / claude-review): false positive. This is a notice that the gha#598 safety path ran as designed for a PR that adds a workflow. The review completed with a CLEAN verdict.

Posted by Claude Code (AI agent) --- not written by a human.


Generated by Claude Code

@github-actions

Copy link
Copy Markdown
PR Preview Action v1.8.2
🚀 Preview available at: https://Morrison-Lab.github.io/ids/pr-preview/pr-204/

Built to branch gh-pages at 2026-11-24 16:27 UTC.

@d-morrison
d-morrison merged commit 24df25b into main Nov 24, 2026
29 checks passed
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.

3 participants