Repository navigation
Conversation
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…n probe Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…he real not-run reason The whole-branch review found that the breakpoint relabelling could hide a missing reference, and three statements that were stronger than the code. - A gap was relabelled when the two parents together matched the query over the whole gap. Averaged that way a short stretch from a source outside the panel is diluted by its well-matching flanks: 150 bp at 15 % divergence beside a breakpoint was relabelled and the report read "high confidence". Each under-threshold window must now be matched, to the threshold, by a single switch between the two parents -- the coverage question itself, with a mosaic in place of one reference. - On a typed panel the provenance and report said barcode "needs typed references"; they now carry the reason the log gives. - A --min-methods gate lowered because a selected caller could not run is logged and recorded with the requested value. - The PHI "not testable" wording stated a condition that was off by one. - The changelog no longer says "no region call changes" without its exceptions. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <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.
Implements plan B of
docs/superpowers/specs/2026-10-01-post-1.2.0-audit-design.md(items B1-B11): outputs that misstated what a run did.Stacked on #74 (plan A,
fix-audit-data-safety). This PR targets that branch; retarget it tomainonce #74 is merged, and merge #74 without deleting its branch first.What changes
breakpoint; it no longer caveats the region or lowers the confidence wording.example_data/divergent.msa.fastanow reports high confidence, as its README says.recombination_methods.tsvand the method table follow--reattribute-donors.--lineage-mapto a missing file is an error in five commands.not run(with the reason), does not count toward--min-methods, and a barcode-only run on such a panel is refused.--alpha; an alignment where the window covers every site pair isnot testable(phi_pisNone,NAin the profile header) instead of "no signal".--top-n 1.seaborndropped; the sibeliaz version probe no longer records an error line; remaining CLI input checks.What does not change, and the exceptions
For a given alignment the callers find the same regions with the same coordinates and p-values. Exceptions:
donor_undercoveredand donor-absent rows where a gap is now abreakpointgap; runs that select barcode on a panel where it cannot run.Checks (this branch, on top of plan A)
ruff,mypy: clean.pytest -m "not requires_binary": 717 passed (also with a CI-like PATH andCOLUMNS=80).requires_binary: 5 passed.validation/run_specificity.py --reps 3: 0/12 runs with a false region at--min-methods 2; 7/12 (8 regions, all HMM) at--min-methods 1; positive control 3/3 detected, 3/3 donor, 55 bp at both. Identical to main.validation/run_validation.py(mafft, minimap2): 6 PASS, 1 FAIL (hcv_clonal_1b, a 12 bp MaxChi-only region, as on main), 1 SKIP (orthopox_example).validation/README.mdis corrected to say so.Not verified -- please read before merging
validation/run_hybrids.pywas not run (it needs network). The breakpoint relabelling can change itspanel_donor_absentscoring: a region whose donor is a close stand-in for an absent lineage (above the coverage threshold) used to be caveated only through its breakpoint gaps and is now uncaveated. On synthetic data this happened in 4 of 12 such cases. Run the harness on main and on this branch before merging.Review
One independent whole-branch review; fixes in
0c9daf2. Its main finding: the first version of the breakpoint rule compared the two parents with the query over the whole gap, which let a short stretch from a source outside the panel (150 bp at 15 % divergence beside a breakpoint) be relabelled. The rule now requires every under-threshold window in the gap to be matched, to the threshold, by a single switch between the region's two parents.Deferred minor findings:
run_benchmark.py/run_coalescent_benchmark.py, window-invariant alignments move from "tested, p = 1" to "untestable", so earlier power/specificity figures are not directly comparable; their docstrings still say "too few informative columns";docs/detection-methods.mddescribes the barcodenot runcase only for an untyped panel;--reattribute-donorsthe region names the clade's first member, which the breakpoint check then uses; a real breakpoint artefact may staydivergent(the conservative direction).🤖 Generated with Claude Code