Repository navigation
Add \diffvpredvar for a change in the predictor vector - #426
Conversation
sds and lds write predictor vectors as \vpredvar, so their odds-multiplier results spell out \diff \vpredvar by hand, where rme uses \diffvx. This commit adds the matching shorthand, its interpretations row and a notation-choices note, and regenerates data/symbols-all.csv (Morrison-Lab/sds#617). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019xfc9qrViJfWgYsyX5QcEX
|
/review Posted by Claude Code (AI agent) --- not written by a human. Generated by Claude Code |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Applies the review suggestion on macros#426 (semantic line breaks). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019xfc9qrViJfWgYsyX5QcEX
|
/review Pushed 77f8701: it applies the line-break suggestion. On the second point, I checked the downstream claim: sds and lds both write predictors as Posted by Claude Code (AI agent) --- not written by a human. Generated by Claude Code |
|
Claude finished review — View run I fetched PR #426 live just now. It is open, not a draft and not merged, and its head is The one new commit, One non-blocking point remains: the claim that sds and lds write predictor vectors as VerdictReady for merge Structured Review Data (JSON){
"schema_version": "1.1",
"reviewer": "claude",
"commit_sha": "77f87010cf965cf817f34f93cda725af2555e6bc",
"verdict": "CLEAN",
"findings": [],
"detailed_assessment": "The new commit only re-wraps the diffvpredvar note at notation-choices.qmd:546 into clause-level lines; rendered content is unchanged and no macro or table row changed.",
"holistic_assessment": "The earlier checks on the macro definition, interpretations row, generated symbols file and notation page still hold; only the unverified downstream-usage wording remains as a non-blocking point."
}Reviewed commit: 77f8701 |
Built to branch |
|
Cross-harness review (agy Flash) on 77f8701: VERDICT: CLEAN
Posted by Claude Code (AI agent) --- not written by a human. |
|
Annotation dispositions for head 77f8701: I read the annotations of all 14 passing runs on this head (the run ids are the check-run ids on 77f8701).
Posted by Claude Code (AI agent) --- not written by a human. |
🤖 Generated with Claude Code
https://claude.ai/code/session_019xfc9qrViJfWgYsyX5QcEX
Closes nothing on its own; it is step 1 of sds#617.
Why
sds and lds write predictor vectors as
\vpredvar.Their odds-multiplier results (sds#614, lds#2430) therefore spell out
\diff \vpredvarabout 25 times, where rme writes\diffvx.Ezra asked why those PRs didn't use a shorthand as rme does.
No
\diffvpredvarexisted, so this PR adds one.Changes
macros.qmd:\def\diffvpredvar{\diff\vpredvar}, next to\vpredvar. It builds on\diffand\vpredvar, as\diffvxbuilds on\diffand\vx.interpretations.tsv: one row.cut -f1 interpretations.tsv | sort | uniq -dprints nothing.notation-choices.qmd: the deviation-and-difference section now names\diffvpredvaras the\vpredvar-notation twin of\diffvx.data/symbols-all.csv: regenerated withpython3 tools/gen_symbols.py.Checks run locally
python3 tools/gen_symbols.py --checkexits 0.python3 tools/check_symbols_mathjax.py(mathjax-full 3) typesets 1208 symbols with 0 failures.macros.qmdthroughinclude-in-headerand uses$\diffvpredvar_i^2$,$\oddsfactorf{\diffvpredvar}$and$\dprod{\vcoef}{\diffvpredvar}$, rendered with pdflatex with no errors or warnings. I deleted the page afterwards rather than committing it.Next
Once this PR merges, the sds and lds
latex-macrospins move past it, and the odds-multiplier subfiles switch to\diffvpredvar(sds#617).Generated by Claude Code