Skip to content

[codex] characterize fixed-affine nonlinear chunk sizes - #2

Merged
kevin-m-dean merged 8 commits into
mainfrom
codex/fixed-affine-chunk-characterization
Jul 25, 2026
Merged

kevin-m-dean merged 8 commits into
mainfrom
codex/fixed-affine-chunk-characterization

Conversation

@kevin-m-dean

Copy link
Copy Markdown
Contributor

Summary

  • Add a strict, explicitly selected HPC characterization harness that validates a
    completed CC-radius-4 source and reuses one accepted affine state without
    rerunning TRSAA.
  • Execute and validate 1125-, 512-, 256-, and 128-pixel XY nonlinear chunk
    conditions with deterministic regional gradient-NCC, blockwise signal/seam,
    Jacobian, and runtime analysis.
  • Add reproducible figures and CSV tables, publish the dataset-specific scientific
    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
RoundPreparationTask does not provide the to_dict() method called by the
evidence 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

  • 43 focused unit tests passed.
  • 2 focused integration tests passed.
  • Ruff checks and formatting passed for the characterization and documentation
    files.
  • The Jupyter Book HTML build completed all 11 pages, including the new
    characterization report.
  • All 12 full-volume Jacobian analyses completed with no non-finite or nonpositive
    determinants.

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
kevin-m-dean marked this pull request as ready for review July 25, 2026 11:48
@kevin-m-dean
kevin-m-dean merged commit ed76a5e into main Jul 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant