SUPPLEMENTARY CODE 1 — BRAIN STRUCTURE AND FUNCTION v1.8
27 October 2026

This journal adaptation adds figure presentation. Its final supplementary
audit also corrects S900 CSV newline handling and two synthesis provenance
hash fields. Scientific analysis scripts, model specifications and numerical
results are unchanged. All original AOMIC files and run_all.py remain
byte-identical to v1.7. The complete workflow and both bootstraps were rerun
successfully during the final audit. See FINAL_AUDIT_2026-10-27.txt/.json for
the exact changes and verification scope.

The added Figures_BSF_v1_8 builders create Fig1, Fig2, Fig3 and FigS1 as vector
PDF, 600 dpi LZW TIFF and PNG. Fig2 omits its repeated bottom family-dependence
sentence while retaining its discovery-description label. Fig3 uses lowercase
panel letters. Data, model definitions, points, coefficients, intervals and
displayed p values are unchanged. The original Figures/ directory is retained
for exact reproduction of the preceding scientific release.

Verify all distributed files before use:
  python verify_package.py

Install the original requirements and the additional TIFF-export dependency:
  python -m pip install -r requirements.txt
  python -m pip install -r Figures_BSF_v1_8/requirements_extra.txt

Regenerate Fig1, Fig2 and FigS1 directly from bundled aggregate results:
  python Figures_BSF_v1_8/build_figures_1_2_s1.py \
    --hcp-dlbs-summary HCP_DLBS/results/rerun_metadata.json \
    --aomic-results AOMIC/results/locked_replication_results.json \
    --output-dir /path/to/BSF_figures

Fig3 needs participant residuals generated by an authorized local analysis.
They are not distributed. After running the unchanged run_all.py pipeline,
replace /path/to/new_run below with its output directory:
  python Figures_BSF_v1_8/build_figure3.py \
    --hcp-dlbs-residuals /path/to/new_run/HCP_DLBS_extensions/PRIVATE_partial_regression_residuals.csv \
    --aomic-residuals /path/to/new_run/AOMIC_extensions/private/AOMIC_partial_regression_residuals.csv \
    --hcp-dlbs-results /path/to/new_run/HCP_DLBS_extensions/extension_results.json \
    --aomic-results /path/to/new_run/AOMIC_extensions/AOMIC_extensions_results.json \
    --output-dir /path/to/BSF_figures \
    --caption-dir /path/to/BSF_figure_validation

The Fig3 builder retains the same CLI arguments and scientific checks as its
predecessor. It verifies all 2,445 plotted observations and equality of each
cohort's partial-regression slope to the corresponding coefficient. Full HCP
remains descriptive, with no confidence interval or participant-independence
band. No pooled estimate is drawn.

Figure3_validation and figure_format_validation document the completed
presentation checks. The latter contains checksums for the separate figure
deliverables; those rendered figures are supplied alongside the manuscript,
not duplicated in this code archive. The archive's SHA256SUMS.txt verifies the
files actually contained here. Byte_Identity_v1_7.json records preservation
of the earlier scientific files, including every original AOMIC file.

Use approximately 174 mm final width for Fig1, Fig3 and FigS1, and approximately
164 mm for Fig2. At those widths the smallest labels remain at least 8 pt.
The embedded PDF fonts and the 600 dpi TIFF/PNG pixels were checked.

Public-data boundaries are unchanged: no HCP/DLBS individual-level sources,
private residuals, workbooks, or full official S900 raw CSV are included. The
original minimal public CC0 AOMIC dataset remains included exactly as before.
