Repository navigation
Quick-fix batch: 25 issues fixed, #640 in part (input validation, notebooks, data scripts, simulation harness) - #647
Merged
Merged
Conversation
…t up to 16 repeats, Monte Carlo above docs/common/glossary.md is re-rendered from glossary.py (its source). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
…, not an IndexError Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
…the benchmark alike Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
…nite, integers beyond 2**53 as inexact Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
…peat contrasts Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
…raws) and invalid seeds Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
…nertia_radius and non-text block names Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
… their imaginary part Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
…invalid positions explicitly Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
…d of DataFrame truth Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
… so freeze may trust them Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
…ted cells Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
… instead of overwriting a condition Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
…itertuples attributes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
…_id.<name> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
… URL, commands, remote and errors Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
… and any target outside OUT before removing it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
…ding it whole Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
… IDs, track IDs and counts before integer conversion Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
…group, refuse without it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
…ert.py, as it never reads them Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
… refused Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
…odules Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
… of constant values; redraw cancelling directions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
… enumerating 2**n in memory Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
…ntrast Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
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.
The quick-fix batch from the 24 Nov 2026 triage, as one PR (owner rule, 24 Nov 2026: quick fixes go in one large PR). Base:
mainat60874f9(after #645). Each fixed issue has one commit whose title starts with its number, a regression test that fails on60874f9, and a CHANGELOG entry under "Unreleased / Fixed".Fixed (closed by this PR)
Closes #578
Closes #418
Closes #544
Closes #538
Closes #528
Closes #491
Closes #495
Closes #485
Closes #532
Closes #551
Closes #581
Closes #430
Closes #448
Closes #449
Closes #547
Closes #591
Closes #583
Closes #577
Closes #576
Closes #574
Closes #569
Closes #520
Closes #524
Closes #519
Closes #514
glossary.pyis the source;docs/common/glossary.mdis re-rendered from it. Only the wording the issue asks for; the test itself is unchanged.robust_sd(1-D sample of one value, "geometry")returns 0.IndexError_areas.area_problemrefuses areas whose total overflows a float. The estimator reportsnot_applicablewith the reason, and the benchmark refuses the dataset.available(inf)and a STOP; the benchmark accepted[1e308]*4stage_matrix,check_xy). Docs row updated.OverflowError;2**53and2**53+1became the same position without any errorrepeat_effectrefuses a level outside (0, 1) and infinite contrasts (missing values still give no interval).whole_table_testsrequirespermutations >= 1(an integer) and a valid seed.permutations=0gavep_shuffle = 1.0ColumnWeightsrefuses bool and str weights;BlockWeightsrefuses a non-boolinertia_radiusand block names that are not text.Truebecame weight 1.0;"False"turned the radius onattach_feature_tablesrefuses complex columns before any float cast.ZeroDivisionError/ uncheckeddocumentcompares Setups withDataFrame.equalsfor the contrast table.ValueError(truth value of a DataFrame) on the same SetupFrozenDict/FrozenListfreeze their contents when built directly.plan_objects_to_averagerefuses sample keys that hold both control and other cells, and names them.{"KD": "drugB"}: drugA dropped without warningAttributeErrorfor the group column "plate id"as_row/records_to_frameexportoutcome_id.<name>.GIT_ASKPASSand the clone's environment, not the URL. The remote URL is checked, and a failed clone raises with git's message (token masked)..git/configand in the error)reference.pychecks job kinds and names (one plain word, not.or..), refuses duplicates, andrun_jobrefuses a target outside OUT beforermtree.../.. victimaccepted;OUT/../victim__xwas removedhashlib.file_digest).Path.read_bytes()of the whole archiveconvert_tools.whole_numbers: repeats ≥ 1, track IDs and counts ≥ 0, finite and whole, otherwise the converter stops and names the source rows. All stored tables satisfy this.1.8became 1 and5.9became 5 without an errorUnique_IDandFile_nameare marked as not checked byconvert.py(it never reads them; their format is not guessed).experiment_nbis still checked.jcs_effect_fovs.bands_overlap: overlap now requires the two bands to intersect (endpoints included), whichever is higher. The committed pairs CSV is unchanged (400/400 rows agree).colab.runraises when P0 fails, before any other module runs.semi_syntheticrefuses repeats with fewer than 2 fields, a shift of constant values, non-finite or mismatched input; it redraws directions whose two rows cancel. Draws that do not cancel are unchanged.MAX_EXACT_REPEATS).fixed_block.check_weights(finite, at least 2 non-zero, sum 0) is enforced inregime,graph_estimable,Layout.contrast,fit_modelandcontrast.{"A": 1.0}accepted and answered two different questionsPartly fixed (left open)
#640 …): the example notebook pairs the positive control byrepeat_groupand refuses a FOV table without it. I ranreporton the bundled idr0028 example with this Setup: the positive control was assessed, withpair_cols=('repeat_group',). The notebook's default analysis groups (dataset.groups,condition, biological_repeat) are not changed. The workflows already read each folder label as its repeat group, and changing the groups affects optimise, benchmark and the live cells, which I could not run end to end here. MorphoFeature can re-vendor cell 12 once this merges.Skipped
compatibility_layout): needs an owner decision: raise the floor to umap-learn ≥ 0.6, or branch on the version.60874f9would install code older than the notebook). The data come from the same clone. The equivalent fix in morphobricks-preprocessing ([Numba candidate] Replace dense balanced-permutation draw matrices with indexed moment reductions #437) needed a dedicated test harness.Verification (run locally on this branch, Python 3.11)
python -m ruff check src tests data: passed;python -m ruff format --check src tests data: 536 files already formattedmorphocoverage,.workflows,.retrospective): passedpytest -n 0 tests/test_guards.py tests/test_function_guards.py tests/test_function_tools.py: 102 passedpython tools/audit.py --check-against origin/main: baselines only tightenedpytest -n 4 -m 'not network'onbe5ed93: 4779 passed, 2 skipped, 6 xfailed (11 min 36 s). The 2 skips are the suite's own conditional skips.60874f9's source: every issue's regression test fails there (61 failing test cases across 33 test functions). One preservation test,test_nullable_real_columns_are_still_read_485, passes on both, as intended.networktests (the converters' rebuild from the Zenodo sources, 190-381 MB). The Reject fractional repeat IDs and count measurements before integer coercion in lab converters #576/Stream large archive checksums in lab source conversion instead of allocating whole ZIP #577 converter changes were not checked against the downloaded sources; the stored tables' values satisfy the new bounds.Generated by Claude Code