Repository navigation
[codex] characterize fixed-affine nonlinear chunk sizes - #2
Merged
Merged
Conversation
Add strict radius-4 characterization inputs and source-state validation. Clone accepted affine lineage into caller-owned roots, materialize one shared fixed-grid preparation per round, and reuse it across chunk conditions without rerunning TRSAA. Add read-only reference and fine-task runners plus unit and integration regression coverage.
Add the exact four-condition fine-SLURM lifecycle for radius-4 fixed-affine characterization. Materialize one shared prepared state, validate approved chunk counts, run conditions sequentially with unique owned resources, preserve atomic task and scheduler evidence on failures, prove queue cleanup, and revalidate the read-only source between conditions.
Add deterministic gradient-NCC residual searches for the approved bright and dim ROIs, blockwise signal-quartile and seam analysis, and geometric Jacobian validity summaries. Validate shift convention, brightness invariance, undefined and boundary cases, canonical seam classification, invalid determinant accounting, and an identity warp through ANTs.
Embed normalized regional gradient crops in analysis evidence and render deterministic residual, overlay, runtime, seam, and Jacobian figures with matching CSV tables. Preserve the approved condition and round ordering, explicit units, colorblind-safe colors, and reproducible SVG and PNG metadata.
Align seam proximity with Cy-ExM assembly order: later overlapping cores overwrite earlier cores, so visible transitions occur at later core starts rather than both starts and ends. Add a regression case that keeps an earlier core end classified as interior when it is outside the true transition band.
Document the controlled CC radius-4 sweep across 1125-, 512-, 256-, and 128-pixel XY nonlinear chunks while retaining one accepted affine state. Report regional gradient-NCC residuals, whole-field signal quartiles, seam/interior behavior, Jacobian validity, SLURM runtime, and the evidence-serialization recovery limitation. Add publication figures and machine-readable tables, link the report from related scientific and execution guides, update documentation guidance and navigation, and enforce completeness through the documentation policy test.
kevin-m-dean
marked this pull request as ready for review
July 25, 2026 11:48
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
completed CC-radius-4 source and reuses one accepted affine state without
rerunning TRSAA.
conditions with deterministic regional gradient-NCC, blockwise signal/seam,
Jacobian, and runtime analysis.
report, and link it from the brightness, CC-radius, and fine-grained execution
documentation.
Scientific outcome
Smaller nonlinear chunks did not reduce the named dim-region residual. All four
conditions reproduced residuals of 7.81, 14.32, and 13.45 pixels for rounds 2–4,
while the bright ROI remained at zero pixels. Whole-field residuals stayed near 11
pixels, and the 128-pixel condition increased runtime, seam exposure, and
deformation-distribution extremes. The report therefore recommends retaining the
1125-pixel XY chunks for this dataset without changing a production default.
Known limitation
The scientific graphs completed and their final artifacts validated, but the
characterization coordinator failed while writing its final summary because
RoundPreparationTaskdoes not provide theto_dict()method called by theevidence serializer. The report records this explicitly. Analysis was recovered
from matching completion records and SLURM accounting. This harness defect should
be corrected before treating its final-summary path as accepted or rerunning the
experiment through that entry point.
Validation
files.
characterization report.
determinants.