Skip to content

Link "reciprocal" in the rarity definition - #205

Merged
d-morrison merged 2 commits into
mainfrom
claude/project-thread-vmjwu4
Nov 25, 2026
Merged

d-morrison merged 2 commits into
mainfrom
claude/project-thread-vmjwu4

Conversation

@d-morrison

Copy link
Copy Markdown
Contributor

Requested by Ezra · project thread

Link-only change to _subfiles/_def-rarity.qmd (entropy page, #def-rarity):

  • "reciprocal" now links to mcs #def-reciprocal.
  • On the same line, check-term-links (diff-scoped) flagged the existing partial link [probability] mass; it now links the whole phrase "probability mass" to pds #def-pmf, as pds itself does.

Not changed: Ezra also asked to link "weighted geometric mean" in #thm-perplexity-geometric-mean. No lab notes repo (ids, mcs, mds, pds, sds, rme, lds, wai) defines a geometric mean or weighted geometric mean (grep for geometric mean across their .qmd files finds only this theorem), so that phrase stays unlinked rather than pointing at an invented target. mds has #def-harmonic-mean, the natural neighbour for a new definition.


Generated by Claude Code

Ezra asked to hyperlink the term on the entropy page. The reciprocal is
defined in mcs (number-systems.html#def-reciprocal). No definition of a
weighted geometric mean exists in any lab notes repo, so that phrase
stays unlinked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VDkNzoCYLV4H1eN1LDUJq2
check-term-links flags the partial link once the line is in the diff.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VDkNzoCYLV4H1eN1LDUJq2
Copilot AI balanced review requested due to automatic review settings November 25, 2026 09:12

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


Both new link targets exist.

Review

The PR changes one file, _subfiles/_def-rarity.qmd:6. It links "reciprocal" to mcs/number-systems.html#def-reciprocal. It also retargets "probability mass" from the generic #def-probability anchor to pds/random-variables.html#def-pmf.

  • Link targets: I fetched both pages from the published sites. The def-reciprocal and def-pmf anchors both exist. The mcs site is already used throughout this repo.
  • Rules checked: The edit adds no math. The sentence still ends at the colon before the equation, so the line-break and forward-reference rules don't apply.
  • Scope: The change is tightly scoped and meets the prerequisite-linking rule (5).

I found no issues.

Verdict

Ready for merge

Structured Review Data (JSON)
{
  "schema_version": "1.1",
  "reviewer": "claude",
  "commit_sha": "80b1d5c89d203cf031004849feca5d536ff6c140",
  "verdict": "CLEAN",
  "findings": [],
  "detailed_assessment": "Checked the changed line in _subfiles/_def-rarity.qmd; both new link anchors (def-reciprocal, def-pmf) resolve on the published sites.",
  "holistic_assessment": "The change is a small, well-scoped prerequisite-linking improvement with no regression, math, or scope concerns."
}

Reviewed commit: 80b1d5c

@github-actions

Copy link
Copy Markdown

💰 Cost: $0.1877 (review) — run

@github-actions

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

Built to branch gh-pages at 2026-11-25 09:22 UTC.

Copy link
Copy Markdown
Contributor Author

Annotation dispositions for head 80b1d5c:

  • build / build: notice "SUBMODULES_TOKEN is empty; cloning submodules anonymously". False positive for this PR: the only submodule, latex-macros, is public, and the build passed.
  • review / claude-review: notice "Skipping element-level diff highlighting: 506 old / 507 new candidate elements exceed the 500-element cap". Informational only; the review completed with a CLEAN verdict.

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


Generated by Claude Code

@d-morrison
d-morrison merged commit 45a6d68 into main Nov 25, 2026
28 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