Add CI workflow to run pytest on push/PR to main#2
Open
camlloyd wants to merge 1 commit into
Open
Conversation
Single test job across Python 3.11/3.12 running the existing tests/ suite via pip + requirements.txt. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
manuelcorpas
added a commit
that referenced
this pull request
Jun 30, 2026
Deterministically re-scores the enriched-arm code sets the model actually submitted, holding all non-PM2 codes at their submitted calibrated strength and varying ONLY PM2 (supporting vs moderate) within one convention. Baseline insufficiency 17/24 (Sonnet) and 18/24 (GPT-5.2) exactly match the paper's enriched numbers, confirming faithfulness. RESULT: under the clean frame, PM2->moderate recovers 2 pathogenic and regresses ZERO benign in BOTH models (17->15, 18->16). The paper's 'direction-coupled' benign regression (17->22) does NOT reproduce. Verified mechanism: the original re-prompted calibration arm induced the model to apply PM2 to benign variants (27/60 -> 59/60 reps); that instruction-induced over-application, not strength arithmetic, caused the regression. The reviewer was right: 'direction-coupled, cannot be globally optimised' is not supported; the corrected finding is that the residual is partly recoverable and the apparent coupling was a prompt- fragility artefact. 3 tests; suite green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Summary
.github/workflows/ci.yml: a singletestjob that runs the existingtests/suite viapytestacross Python 3.11 and 3.12 on push/PR tomain.Note
jsonschema>=4.18) merges, sincemain'srequirements.txtis currently missingjsonschema, causing 15 test failures withModuleNotFoundError: No module named 'jsonschema'. Verified locally withact.Test plan
testjob passes onmainafter Pin jsonschema>=4.18 in requirements.txt #1 is merged