Evidence · fMRIPrep

fMRIPrep’s confound estimation

The confounds fMRIPrep computes for every BOLD run: its desc-confounds_timeseries.tsv and the JSON beside it, with CompCor, DVARS, framewise displacement, the motion parameters and their expansion, the tissue signals, the spike and cosine regressors. LARMORX’s port is a replica of fMRIPrep 25.2.7’s confounds workflow, nipype 1.12.0’s confounds module and niworkflows 1.15.4’s steps, with the arithmetic of numpy, SciPy, pandas, nitime and nipy under them. In reproduce it gives the originals’ outputs bit for bit in each of the 88 cases of its five records, and run as fMRIPrep ran it, it writes fMRIPrep’s own confounds files of 36 runs column by column. Its default, fix, corrects the originals’ defects or refuses them with a clear error, each with the original’s result on request.

Ports
  • replica larmorx Apache-2.0: crate larmorx-confounds; lx.confounds, lx.niworkflows, larmorx nipype run and larmorprepx's confounds workflow, translated from fMRIPrep 25.2.7, nipype 1.12.0 and niworkflows 1.15.4 (fMRIPrep 25.2.6's own releases on request); from the next release
Status
replica experimental
Records
fMRIPrep's and niworkflows' steps and the workflow · nipype's confounds module and command line, with its full comparison · numpy's and SciPy's linear algebra and FFTs, with its full comparison
Reference
nipypecli run · API pages confounds, nipype-run, niworkflows-helpers

What is compared

After head-motion correction, fMRIPrep estimates, for every BOLD run, the time series that a later analysis may regress out: the confounds. Its init_bold_confs_wf (fMRIPrep 25.2.7) computes them with nipype’s and niworkflows’ interfaces and writes them as one table with a JSON that describes each column:

  • The motion parameters from the head-motion matrices (FSL’s convention), their derivatives and squares, the root mean square deviation, and framewise displacement (nipype’s FramewiseDisplacement);
  • DVARS, raw, standardised and voxel-wise (nipype’s ComputeDVARS);
  • CompCor: the anatomical components of the white matter, the CSF and both (aCompCor, on masks resampled from the anatomical tissue maps with a Gaussian kernel), the temporal components of the most variable voxels (tCompCor) and the components of the brain’s edge (crownCompCor), with the cosine regressors of the high-pass filter;
  • the tissue signals: the global, white-matter and CSF means, and their expansion;
  • the outlier regressors: one column per volume whose framewise displacement or standardised DVARS passes its threshold.

The replica runs beside the originals, run in-process: nipype 1.12.0, niworkflows 1.15.4 and fMRIPrep 25.2.7’s interfaces with numpy, SciPy, pandas and nitime. fMRIPrep’s own files are those of its runs, with fMRIPrep 25.2.6 and its image’s releases (numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3).

bash
larmorx nipype run nipype.algorithms.confounds ComputeDVARS bold.nii.gz brainmask.nii.gz --save_all
python
import larmorx as lx

# nipype's DVARS: standardised, raw and voxel-wise
dvars = lx.confounds.compute_dvars("bold.nii.gz", "brainmask.nii.gz", n_threads=8)
# nipype's framewise displacement from FSL's motion parameters
fd = lx.confounds.framewise_displacement("motion_params.txt", "FSL", out_dir="work")

The API pages describe every function and option, and larmorprepx’s whole confounds workflow of a BOLD run (bold_confounds). How to read what follows: how to read the evidence.

Its port

fMRIPrep, nipype, niworkflows, numpy, SciPy, pandas, nitime and nipy are permissive (Apache-2.0, BSD-3-Clause), so the replica is in larmorx itself. Their Python is the specification, with the arithmetic of the library releases they call.

  • The workflow is a plain Python function (larmorx.pipelines.larmorprepx.confounds.bold_confounds), with no nipype and no graph engine. Each node writes its files into the folder nipype would give it, so a run can be compared with fMRIPrep’s node folders file by file.
  • The numeric routines run in Rust (larmorx-confounds): numpy’s and SciPy’s linear algebra (OpenBLAS’ kernels, LAPACK’s SVD and least-squares paths), SciPy’s FFTs, numpy’s reductions and percentiles, and pandas’ reading and writing of tables, each in the order of the original’s code, so n_threads never changes a bit.
  • The programs underneath run through LARMORX’s own replicas: ANTs’ antsApplyTransforms for the masks’ resampling (lx.ants).
  • nipype’s own command line for these interfaces, nipypecli run, is larmorx nipype run.

A clean room of these steps is planned after FreeSurfer (roadmap).

The verdicts at a glance

The replica is a translation of the originals’ source, so the question is whether it gives their bytes.

Agreement, the replica against the originals: fMRIPrep 25.2.7, nipype 1.12.0, niworkflows 1.15.4, numpy, SciPy and pandas (standard comparison, 88 cases of the record), by category and verdict
the confounds table and its JSON3
the motion model's columns3
the motion parameters and framewise displacement3
the CompCor masks3
the whole workflow2
random testing10
DVARS6
CompCor8
nipype's other interfaces5
nipype's command line1
OpenBLAS' kernels2
LAPACK2
numpy's and SciPy's SVD7
LAPACK's divide-and-conquer SVD7
LAPACK's least squares7
LAPACK's SVD7
numpy's reductions6
SciPy's FFTs6

Select a segment to list its cases below.

The records run the originals in-process as the reference, in three Python environments:

  • the newest library releases (numpy 2.5.4 with OpenBLAS 0.3.34, SciPy 1.18.1, pandas 3.0.6), LARMORX’s reference;
  • the releases the other comparisons share (numpy 2.3.5, SciPy 1.15.3);
  • fMRIPrep 25.2.6’s image (numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3).

They compare the replica with them in reproduce (upstream_defects="reproduce"): every array, file, table cell, header, warning, message and exit status, bit for bit. The 88 cases of the five records pass, with 4,181 checks. Each case is one of the comparison’s check scripts (or one of its sections) run as a process of its own, one check per line it prints.

The replica’s records against the originals: fMRIPrep 25.2.7, nipype 1.12.0, niworkflows 1.15.4, numpy, SciPy and pandas (every case passes)

RecordSuiteTierCasesPassChecksFrom commit
confounds-fmriprepconfounds-fmriprepstandard16169909a106cf16763
confounds-nipypeconfounds-nipypestandard252558834272ae120de
confounds-nipype-fullconfounds-nipypefull3390b7420b224553
confounds-linalgconfounds-linalgstandard32321,6739a106cf16763
confounds-linalg-fullconfounds-linalgfull1212840e54c3fb52532

Each record runs the investigation’s check scripts (validation/investigations/confounds) as separate processes in the environment each case names, from a clean commit: e1 numpy 2.5.4 / OpenBLAS 0.3.34 with OPENBLAS_L2_SIZE=512, SciPy 1.18.1, pandas 3.0.6 (and e1-zen, this machine’s GEMM_Q 512); e2 numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3; e3 fMRIPrep 25.2.6’s image (numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3). One check per summary line a script prints, its final line and its exit status; the negative controls pass when the releases are told apart. The full tiers: fMRIPrep’s 108 real CompCor nodes in every environment, the linear algebra’s every size class.

fMRIPrep’s own confounds files

The replica’s workflow ran each of the 36 confounds workflows of fMRIPrep 25.2.6’s runs end to end, from the workflow’s own inputs, as fMRIPrep ran it (reproduce, fMRIPrep 25.2.6’s releases). Each desc-confounds_timeseries.tsv is compared with fMRIPrep’s file cell by cell as text, the columns matched by name: their order is that of niworkflows’ set, which changes from one process to the next (PIPE-43), so it is never reproduced. Each JSON is compared byte for byte.

The only cells that differ are in the motion chain, where SciPy’s rotation calls the C library’s atan2 and the replica computes a correctly rounded one (decision D4: the C library’s code is not translated). Run again with fMRIPrep’s own motion table, every cell is fMRIPrep’s. The table also gives what the newest releases change (the originals’ own step, no verdict) and what fix changes.

fMRIPrep’s own confounds files, column by column: every one of the 36 confounds workflows of fMRIPrep 25.2.6’s runs

Workflow (fMRIPrep's run / BOLD run)BOLD seriesColumnsCells≠ fMRIPrep's file≠ with its motion tableJSON byte for byteThe step: cells changedfix: cells changedfix: columns negated
the 36 files25 files identical column by column, 11 once glibc’s atan2 (D4) is taken from fMRIPrep’s own motion table; the step adds 2 motion-outlier columns and removes 4––1,862,69993–36 of 36263,181218,47460
ds000005-sub-01-noreconall/bold_task_mixedgamblestask_run_01_wf8 cells of the motion chain (framewise_displacement, rot_y, rot_y_derivative1, rot_y_derivative1_power2, rot_y_power2): glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The JSON byte for byte.64 × 64 × 34 × 24022253,28080yes6,4356,3670
ds000005-sub-01-noreconall/bold_task_mixedgamblestask_run_02_wf64 × 64 × 34 × 24021150,6400–yes8,6549,16612
ds000005-sub-01-noreconall/bold_task_mixedgamblestask_run_03_wf16 cells of the motion chain (framewise_displacement, rot_y, rot_y_derivative1, rot_y_derivative1_power2, rot_y_power2): glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The JSON byte for byte.64 × 64 × 34 × 24021852,320160yes15,46615,06836
ds000210-sub-02-noreconall/bold_task_cuedSGT_run_01_echo_1_wf64 × 64 × 33 × 26015740,8200–yes8,0286,9360
ds000210-sub-02-noreconall/bold_task_rest_run_01_echo_1_wf72 × 72 × 46 × 20421143,0440–yes5,6695,6040
ds000228-sub-pixar008-noreconall/bold_task_pixar_wf64 × 64 × 32 × 16816728,0560–yes6,0354,8650
ds000228-sub-pixar008-noreconall-syn/bold_task_pixar_wf64 × 64 × 32 × 16816627,8880–yes5,0284,8940
ds000256-sub-CTS203-noreconall/bold_task_restbaseline_wf64 × 64 × 32 × 16411018,0400–yes6,5534,2140
ds000256-sub-CTS203-noreconall/bold_task_restfixationfixed_wfThe step adds 2 column(s) (motion_outlier69, motion_outlier70) and removes 0 (): FD crosses its threshold at other volumes with fMRIPrep 25.2.7’s motion parameters.64 × 64 × 32 × 16415224,9280–yes6,6763,9560
ds000256-sub-CTS203-noreconall/bold_task_restfixationnofeedback_wf5 cells of the motion chain (framewise_displacement, rot_y, rot_y_derivative1): glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The JSON byte for byte. The step adds 0 column(s) () and removes 1 (motion_outlier91): FD crosses its threshold at other volumes with fMRIPrep 25.2.7’s motion parameters.64 × 64 × 32 × 16417729,02850yes4,4153,9840
ds000258-sub-21262-noreconall/bold_task_rest_echo_1_wf8 cells of the motion chain (framewise_displacement, rot_y, rot_y_derivative1, rot_y_derivative1_power2, rot_y_power2): glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The JSON byte for byte. The step adds 0 column(s) () and removes 1 (motion_outlier28): FD crosses its threshold at other volumes with fMRIPrep 25.2.7’s motion parameters.64 × 64 × 30 × 23917842,54280yes6,2306,7720
ds002422-sub-02-noreconall/bold_task_arithm_run_01_wf8 cells of the motion chain (framewise_displacement, rot_y, rot_y_derivative1, rot_y_derivative1_power2, rot_y_power2): glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The JSON byte for byte. The step adds 0 column(s) () and removes 1 (motion_outlier27): FD crosses its threshold at other volumes with fMRIPrep 25.2.7’s motion parameters.64 × 64 × 24 × 21025353,13080yes6,5085,3010
ds002422-sub-02-noreconall/bold_task_arithm_run_02_wf64 × 64 × 24 × 21022647,4600–yes7,5495,3470
ds002422-sub-02-noreconall/bold_task_rest_wfThe step adds 0 column(s) () and removes 1 (motion_outlier22): FD crosses its threshold at other volumes with fMRIPrep 25.2.7’s motion parameters.64 × 64 × 36 × 20019739,4000–yes11,0226,1321
ds002603-sub-01-noreconall/bold_task_wm_acq_Mb4Mm3Tr550_wf8 cells of the motion chain (framewise_displacement, rot_y, rot_y_derivative1, rot_y_derivative1_power2, rot_y_power2): glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The JSON byte for byte.80 × 80 × 36 × 588332195,21680yes16,40116,5920
ds002603-sub-01-noreconall/bold_task_wm_acq_SeqMm3Tr2000_wf80 × 80 × 36 × 16016225,9200–yes3,9874,5711
ds002603-sub-01-noreconall-epi/bold_task_wm_acq_Mb4Mm3Tr550_wf8 cells of the motion chain (framewise_displacement, rot_y, rot_y_derivative1, rot_y_derivative1_power2, rot_y_power2): glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The JSON byte for byte.80 × 80 × 36 × 588327192,27680yes25,21916,5560
ds002603-sub-01-noreconall-epi/bold_task_wm_acq_SeqMm3Tr2000_wf80 × 80 × 36 × 16016125,7600–yes3,9884,3930
ds003592-sub-280-noreconall/bold_ses_1_task_rest_echo_1_wf64 × 64 × 43 × 20013226,4000–yes6,9877,31510
ds004884-sub-M2079-noreconall/bold_ses_217_task_naming40_acq_epfid2_dir_AP_run_2_wf64 × 64 × 33 × 601026,1200–yes1,8471,6710
ds004884-sub-M2079-noreconall/bold_ses_217_task_rest_acq_epfidp2p2_dir_AP_run_9_wf64 × 64 × 34 × 19621642,3360–yes5,0735,4790
ds004884-sub-M2079-noreconall-syn/bold_ses_217_task_naming40_acq_epfid2_dir_AP_run_2_wf64 × 64 × 33 × 601016,0600–yes2,1471,6320
ds004884-sub-M2079-noreconall-syn/bold_ses_217_task_rest_acq_epfidp2p2_dir_AP_run_9_wf64 × 64 × 34 × 19621441,9440–yes6,0495,4560
ds004958-sub-fsm64ps-noreconall/bold_task_rest_wf8 cells of the motion chain (framewise_displacement, rot_y, rot_y_derivative1, rot_y_derivative1_power2, rot_y_power2): glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The JSON byte for byte.104 × 104 × 72 × 600456273,60080yes19,18816,4720
ds004958-sub-fsm64ps-noreconall-pepolar/bold_task_rest_wf8 cells of the motion chain (framewise_displacement, rot_y, rot_y_derivative1, rot_y_derivative1_power2, rot_y_power2): glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The JSON byte for byte.104 × 104 × 72 × 600452271,20080yes15,60216,8600
ds005003-sub-RS001-noreconall/bold_ses_1_task_motor_wf8 cells of the motion chain (framewise_displacement, rot_y, rot_y_derivative1, rot_y_derivative1_power2, rot_y_power2): glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The JSON byte for byte.64 × 64 × 36 × 801169,28080yes2,0562,0930
ds005003-sub-RS001-noreconall/bold_ses_1_task_rest_wf64 × 64 × 36 × 801139,0400–yes1,9852,1800
ds005003-sub-RS001-noreconall-syn/bold_ses_1_task_motor_wf8 cells of the motion chain (framewise_displacement, rot_y, rot_y_derivative1, rot_y_derivative1_power2, rot_y_power2): glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The JSON byte for byte.64 × 64 × 36 × 801179,36080yes2,1352,0950
ds005003-sub-RS001-noreconall-syn/bold_ses_1_task_rest_wf64 × 64 × 36 × 801118,8800–yes1,9062,1740
ds005040-sub-002-noreconall/bold_task_clip_run_1_wf64 × 64 × 40 × 631237,7490–yes1,5371,8280
ds005454-sub-16-noreconall/bold_task_rest_wf160 × 160 × 96 × 28033593,8000–yes30,5158,2400
ds005752-sub-ON01016-noreconall/bold_ses_01_task_rest_dir_forward_wf64 × 64 × 48 × 20014228,4000–yes4,9515,8250
ds005752-sub-ON01016-noreconall/bold_ses_01_task_rest_dir_reverse_wf64 × 64 × 48 × 10636300–yes2372710
ds005752-sub-ON01016-noreconall-direct/bold_ses_01_task_rest_dir_forward_wf64 × 64 × 48 × 20014028,0000–yes4,9475,9960
ds005752-sub-ON01016-noreconall-direct/bold_ses_01_task_rest_dir_reverse_wf64 × 64 × 48 × 10636300–yes2372940
ds006736-sub-004-noreconall/bold_task_freeRecall_wf74 × 64 × 58 × 691389,5220–yes1,9191,8750

The cache entry confounds/workflows (confounds_run.py): each workflow run end to end by the replica’s bold_confounds from its own inputs (its nodes’ pickled inputs), in reproduce with fMRIPrep 25.2.6’s releases (fMRIPrep 25.2.6, niworkflows 1.15.2, numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3), its desc-confounds_timeseries.tsv compared with the run’s own file cell by cell as text, the columns matched by name (their order is niworkflows’ set order, which changes from process to process: PIPE-43, never reproduced). Where a cell differs, the run is made again with fMRIPrep’s own motion table in place of the replica’s (glibc’s atan2, D4). The step: the replica in reproduce with the newest releases (fMRIPrep 25.2.7, niworkflows 1.15.4, numpy 2.5.4, SciPy 1.18.1, pandas 3.0.6) against fMRIPrep 25.2.6’s: the originals’ own step (each node of it the newest originals’ bit for bit: the records). fix, the default: the replica’s corrections (newest releases) against reproduce; a column negated: GLIBC-07’s cosine (expected).

Every column of the 36 files, by name (numbered columns by family)

ColumnFilesColumnsCells≠ fMRIPrep's fileThe step: changedfix: changedfix: negated
rot_xfMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 9e-14 of the column’s largest value).36367,43107,2697,1530
rot_x_derivative1fMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 1.9e-13 of the column’s largest value).36367,43107,2727,3170
rot_x_derivative1_power2fMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 7.5e-13 of the column’s largest value).36367,43107,2777,3020
rot_x_power2fMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 7.2e-13 of the column’s largest value).36367,43107,2697,2650
rot_yfMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 1.8e-13 of the column’s largest value).36367,431127,3676,5640
rot_y_derivative1fMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 4.6e-13 of the column’s largest value).36367,431247,3297,0520
rot_y_derivative1_power2fMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 6.5e-13 of the column’s largest value).36367,431227,3127,0630
rot_y_power2fMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 3.3e-13 of the column’s largest value).36367,431117,3086,8560
rot_zfMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 1.8e-13 of the column’s largest value).36367,43107,4106,9790
rot_z_derivative1fMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 5.9e-13 of the column’s largest value).36367,43107,3547,2130
rot_z_derivative1_power2fMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 9.3e-13 of the column’s largest value).36367,43107,3547,2090
rot_z_power2fMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 4.2e-13 of the column’s largest value).36367,43107,3657,1150
trans_xfMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 4.1e-15 of the column’s largest value).36367,43107,4095,9500
trans_x_derivative1fMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 1.3e-14 of the column’s largest value).36367,43107,3727,1000
trans_x_derivative1_power2fMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 3.4e-13 of the column’s largest value).36367,43107,3746,8860
trans_x_power2fMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 1.6e-13 of the column’s largest value).36367,43107,4096,8950
trans_yfMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 1.8e-15 of the column’s largest value).36367,43107,4315,6690
trans_y_derivative1fMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 5.3e-15 of the column’s largest value).36367,43107,3826,8760
trans_y_derivative1_power2fMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 1.7e-13 of the column’s largest value).36367,43107,3787,1290
trans_y_power2fMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 6.5e-14 of the column’s largest value).36367,43107,4317,0360
trans_zfMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 1.4e-15 of the column’s largest value).36367,43107,4314,5260
trans_z_derivative1fMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 4e-15 of the column’s largest value).36367,43107,3886,9310
trans_z_derivative1_power2fMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 3e-14 of the column’s largest value).36367,43107,3816,9090
trans_z_power2fMRIPrep’s FSLMotionParams (the head-motion matrices) and niworkflows’ expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: fMRIPrep 25.2.7’s FSLMotionParams (the centre of gravity of the reference minus its minimum, the matrix not transposed, the angles negated: confounds-motion.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 2e-14 of the column’s largest value).36367,43107,4315,8950
framewise_displacementfMRIPrep’s FramewiseDisplacement, FSLRMSDeviation and niworkflows’ spikes. reproduce: glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The step: follows the motion parameters of fMRIPrep 25.2.7 (FD, the RMS deviation’s inputs, the spikes). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 8.5e-14 of the column’s largest value).36367,431247,3847,3500
motion_outlierXXfMRIPrep’s FramewiseDisplacement, FSLRMSDeviation and niworkflows’ spikes. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: follows the motion parameters of fMRIPrep 25.2.7 (FD, the RMS deviation’s inputs, the spikes). The step adds 2 such columns and removes 4 over the 36 files (FD crosses its threshold at other volumes).3154095,679018800
rmsdfMRIPrep’s FramewiseDisplacement, FSLRMSDeviation and niworkflows’ spikes. reproduce: fMRIPrep’s cells, as text, in every file that has the column. fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 9.5e-16 of the column’s largest value).36367,431006,1910
dvarsnipype’s ComputeDVARS. reproduce: fMRIPrep’s cells, as text, in every file that has the column. fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 1.8e-16 of the column’s largest value).36367,43100450
std_dvarsnipype’s ComputeDVARS. reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: SciPy 1.18’s FFT (ducc0 for pocketfft) and numpy 2.5’s sums (confounds-dvars.md). fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 1.9e-16 of the column’s largest value).36367,4310312920
a_comp_cor_XXnipype’s ACompCor and TCompCor (niworkflows’ robust wrappers). reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: numpy 2.5.4’s SVD under LAPACK 3.12.1 (DGESDD’s reflectors: the components’ last digits, and the sign of a vector whose sign the SVD leaves free: confounds-blas.md). fix, the default: GLIBC-07: the default’s cosine basis takes the correctly rounded cos (LARMORX’s rule of correctly rounded maths; reproduce glibc’s cos), whose last bits decide the sign of an SVD vector (arbitrary in itself) and the 10th decimal of a few values; a column and its negative remove the same signal, so a model gives the same cleaned data (confounds-compcor.md) (37 columns negated, 32 by one unit in the 10th decimal).361,478513,328014,8258,80037
c_comp_cor_XXnipype’s ACompCor and TCompCor (niworkflows’ robust wrappers). reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: numpy 2.5.4’s SVD under LAPACK 3.12.1 (DGESDD’s reflectors: the components’ last digits, and the sign of a vector whose sign the SVD leaves free: confounds-blas.md). fix, the default: GLIBC-07: the default’s cosine basis takes the correctly rounded cos (LARMORX’s rule of correctly rounded maths; reproduce glibc’s cos), whose last bits decide the sign of an SVD vector (arbitrary in itself) and the 10th decimal of a few values; a column and its negative remove the same signal, so a model gives the same cleaned data (confounds-compcor.md) (12 columns negated, 1 by one unit in the 10th decimal).36600172,53305,5082,88112
edge_comp_XXnipype’s ACompCor and TCompCor (niworkflows’ robust wrappers). reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: numpy 2.5.4’s SVD under LAPACK 3.12.1 (DGESDD’s reflectors: the components’ last digits, and the sign of a vector whose sign the SVD leaves free: confounds-blas.md). fix, the default: GLIBC-07: the default’s cosine basis takes the correctly rounded cos (LARMORX’s rule of correctly rounded maths; reproduce glibc’s cos), whose last bits decide the sign of an SVD vector (arbitrary in itself) and the 10th decimal of a few values; a column and its negative remove the same signal, so a model gives the same cleaned data (confounds-compcor.md) (11 columns negated, 4 by one unit in the 10th decimal).36834178,044013,9032,16411
t_comp_cor_XXnipype’s ACompCor and TCompCor (niworkflows’ robust wrappers). reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: numpy 2.5.4’s SVD under LAPACK 3.12.1 (DGESDD’s reflectors: the components’ last digits, and the sign of a vector whose sign the SVD leaves free: confounds-blas.md).3614939,09301,10900
w_comp_cor_XXnipype’s ACompCor and TCompCor (niworkflows’ robust wrappers). reproduce: fMRIPrep’s cells, as text, in every file that has the column. The step: numpy 2.5.4’s SVD under LAPACK 3.12.1 (DGESDD’s reflectors: the components’ last digits, and the sign of a vector whose sign the SVD leaves free: confounds-blas.md). fix, the default: GLIBC-07: the default’s cosine basis takes the correctly rounded cos (LARMORX’s rule of correctly rounded maths; reproduce glibc’s cos), whose last bits decide the sign of an SVD vector (arbitrary in itself) and the 10th decimal of a few values; a column and its negative remove the same signal, so a model gives the same cleaned data (confounds-compcor.md) (0 columns negated, 16 by one unit in the 10th decimal).361,453505,275043,530170
cosineXXtCompCor’s pre-filter file (the cosine basis, the dummy scans). reproduce: fMRIPrep’s cells, as text, in every file that has the column.3317440,2090000
non_steady_state_outlierXXtCompCor’s pre-filter file (the cosine basis, the dummy scans). reproduce: fMRIPrep’s cells, as text, in every file that has the column.16236,4360000
csfniworkflows’ SignalExtraction and its expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 3.4e-16 of the column’s largest value).36367,431001,0090
csf_derivative1niworkflows’ SignalExtraction and its expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 3.5e-14 of the column’s largest value).36367,431002,7750
csf_derivative1_power2niworkflows’ SignalExtraction and its expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 4.2e-14 of the column’s largest value).36367,431002,9680
csf_power2niworkflows’ SignalExtraction and its expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 9.3e-16 of the column’s largest value).36367,431002,2130
csf_wmniworkflows’ SignalExtraction and its expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 4.8e-16 of the column’s largest value).36367,431001,0090
global_signalniworkflows’ SignalExtraction and its expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 3.3e-16 of the column’s largest value).36367,431006100
global_signal_derivative1niworkflows’ SignalExtraction and its expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 1.1e-13 of the column’s largest value).36367,431002,7130
global_signal_derivative1_power2niworkflows’ SignalExtraction and its expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 1.1e-13 of the column’s largest value).36367,431003,1900
global_signal_power2niworkflows’ SignalExtraction and its expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 7.6e-16 of the column’s largest value).36367,431001,4070
tcompcorniworkflows’ SignalExtraction and its expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 3.7e-16 of the column’s largest value).36367,431001,0850
white_matterniworkflows’ SignalExtraction and its expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 4.8e-16 of the column’s largest value).36367,431009200
white_matter_derivative1niworkflows’ SignalExtraction and its expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 1e-13 of the column’s largest value).36367,431003,0010
white_matter_derivative1_power2niworkflows’ SignalExtraction and its expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 9.6e-14 of the column’s largest value).36367,431003,3660
white_matter_power2niworkflows’ SignalExtraction and its expansion. reproduce: fMRIPrep’s cells, as text, in every file that has the column. fix, the default: PD-01, rule A: fix reads the intermediate tables’ numbers correctly rounded where pandas’ parser is not (its last bit; confounds-pandas.md), so a value computed from them can move by its last bits (at most 7.9e-16 of the column’s largest value).36367,431001,5780

The same runs as the table above, summed by column. The verdict is the port’s (reproduce with fMRIPrep 25.2.6’s releases against fMRIPrep’s own files); the step is the originals’ own change from fMRIPrep 25.2.6’s releases to the newest (a yardstick, no verdict); the default’s changes are the corrections by default named with each run (PD-01 and GLIBC-07 in the tables; PIPE-41 adds the five signals’ entries to each JSON). Negated: the confounds files keep the retained components only; over the CompCor nodes’ own components files (every component, 108 files; the default against reproduce, both with the newest releases: the findings count the same with fMRIPrep 25.2.6’s releases, whose LAPACK leaves other signs free) the default changes 18 files, negates 60 columns in 5 of them and moves 53 columns by one unit in the 10th decimal (GLIBC-07: docs/findings/confounds-compcor.md).

Every node file of the 36 workflows (reproduce, fMRIPrep 25.2.6’s releases) against fMRIPrep’s node folders

CheckFilesEqualDiffer
node files = fMRIPrep’s (others)9709700
aCompCor mask values (Gaussian, glibc exp/log): header and thresholds equal2182180
motion_params differs only in rot_* (D4)12120
tcc_metadata_fmt = fMRIPrep’s36360
acc_metadata_fmt = fMRIPrep’s36360
crowncc_metadata_fmt = fMRIPrep’s36360
merge_confound_metadata2 = fMRIPrep’s36360
node files = fMRIPrep’s (motion chain)74740
node files = fMRIPrep’s (motion chain, by column name)50500
The replica files fMRIPrep’s nipype deletedacc_msk_bin 108, acompcor 36, crowncompcor 36––
aCompCor mask voxels with other values (glibc exp/log)acc_msk_bin 2, acc_msk_brain 4,714, acc_msk_tfm 5,298––
motion chain cells changed (D4 atan2)concat 36, fdisp 24, model_expansion 96, motion_params 15, spike_regressors 93––

check_workflow.py’s compare_nodes and compare_dicts on each run: every file the replica writes against the file of the same name in fMRIPrep’s node folder (decompressed; the motion chain’s tables cell by cell by column name). The aCompCor masks after -n Gaussian hold other values where vnl’s erf goes through glibc’s exp and log in fMRIPrep’s ANTs and correctly rounded ones in the replica’s ANTs port (the Gaussian example below: ANTs 2.6.5 with CORE-MATH gives the replica’s bytes); no voxel crosses the masks’ 0.5 and 0.99, so aCompCor reads the same masks. nipype deletes the files of outputs nothing reads; the replica keeps them.

Four runs of fMRIPrep

Each example shows one confounds workflow of fMRIPrep’s runs: the CompCor masks over the BOLD reference (fMRIPrep’s files, the replica in reproduce and in fix), the confounds’ time series, and every column of its table with its verdict. The mask shown is chosen above the viewer.

ds000005: an adult, 3 T, single-band

Worked example

fMRIPrep's confounds of a real BOLD run: an adult, 3 T, single-band

What this shows: In reproduce, with fMRIPrep 25.2.6’s releases, the replica writes every CompCor mask of fMRIPrep’s run, voxel for voxel and header for header, and its confounds table holds every column of fMRIPrep’s file, cell for cell, but 8 cells of the motion chain, where glibc’s atan2 rounds an angle otherwise than the replica’s correctly rounded one (with fMRIPrep’s own motion table, none differs); its JSON byte for byte. In fix, its default, with the newest releases, the masks are the same bytes, at 1 and 8 threads alike; the table below says, column by column, what the newest releases and the corrections change.

fMRIPrep 25.2.6’s confounds workflow (bold_task_mixedgamblestask_run_01_wf of OpenNeuro ds000005 (Tom et al., 2007), snapshot 00001 sub-01) run end to end by the replica from the workflow’s own inputs: in reproduce with fMRIPrep 25.2.6’s releases, compared with the run’s own files (its CompCor masks drawn over the BOLD reference, and its confounds table column by column), with the newest releases (the originals’ own step) and in fix, its default (the corrections), at 8 threads and, in fix, at 1.

Data
OpenNeuro ds000005 (Tom et al., 2007), snapshot 00001, sub-01 (PDDL-1.0); shown inside fMRIPrep’s BOLD mask, dilated by three voxels
Workflow
fMRIPrep 25.2.6, bold_task_mixedgamblestask_run_01_wf/bold_confounds_wf (and ds_confounds): 64 × 64 × 34 voxels of 3.12 × 3.12 × 4 mm, 240 volumes (float32), TR 2.0 s, 1 dummy scan(s)
Confounds file
sub-01_task-mixedgamblestask_run-01_desc-confounds_timeseries.tsv: 222 columns, 53,280 cells; the replica’s file has fMRIPrep’s name (yes) and another column order (PIPE-43); its JSON byte for byte
Verdict of the file
divergence: 8 cells of the motion chain (framewise_displacement, rot_y, rot_y_derivative1, rot_y_derivative1_power2, rot_y_power2): glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The JSON byte for byte.
Programs
The replica 0.1.0rc1 (bold_confounds, experimental) at commit 5fbdd0f07f6f, in numpy 2.5.4 (OpenBLAS 0.3.34, LAPACK 3.12.1, OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6, nipype 1.12.0, niworkflows 1.15.4, nitime 0.12.1, nibabel 5.4.2 (oracles/python-sdcflows-2.17), fMRIPrep 25.2.7 from its tag; fMRIPrep’s files from its run (fMRIPrep 25.2.6 in its image (niworkflows 1.15.2, nipype 1.10, numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3): the runs’ own files)
Notices
e3: GLIBC-07 reproduce 3, PD-01 reproduce 8, PIPE-41 reproduce 1, PIPE-43 fix 1; sp: GLIBC-07 reproduce 3, PD-01 reproduce 8, PIPE-41 reproduce 1, PIPE-43 fix 1; new: GLIBC-07 reproduce 3, PD-01 reproduce 8, PIPE-41 reproduce 1, PIPE-43 fix 1; fix: GLIBC-07 fix 3, PD-01 fix 8, PIPE-41 fix 1, PIPE-43 fix 1; fix-1: GLIBC-07 fix 3, PD-01 fix 8, PIPE-41 fix 1, PIPE-43 fix 1
Grid
64 × 64 × 34 voxels of 3.12 × 3.12 × 4 mm; shown: 57 × 59 × 34 around the brain
Inputds000005 sub-01 BOLD referencethe head-motion reference fMRIPrep computed (bold_fit_wf), float32
fMRIPrep's outputfMRIPrep's outputfMRIPrep 25.2.6's own files: the run's node folders (fMRIPrep 25.2.6 in its image)
Replicareplicalarmorx, Apache-2.0 · 8 threads, reproduce, fMRIPrep 25.2.6's releases · against fMRIPrep's output
Replicareplicalarmorx, Apache-2.0 · 8 threads, fix (the default), the newest releases

Bit-identical139,264 of 139,264 voxels equal

the replica against fMRIPrep's outputreplica, reproduce − fMRIPrep's output

Bit-identical139,264 of 139,264 voxels equal

the replica against itself: fix and reproducereplica: fix − reproduce

Axial slice 15 of 34; the masks drawn over the BOLD reference. The interactive viewer needs JavaScript; the metrics below are complete without it.

The confounds over the 240 volumes, the replica against fMRIPrep’s output: fMRIPrep 25.2.6’s run
  • fMRIPrep's output (fMRIPrep 25.2.6's run)
  • replica, reproduce
  • replica, fix (the default)
Framewise displacement (mm)0.1810.0126Standardised DVARS1.140.948DVARS2520.8RMS deviation (mm)0.1210.0121Global signal527521CSF signal657632White-matter signal556549Translation x (mm)0.0188−0.0567Rotation y (rad)0.000195−0.00161aCompCor (CSF + WM), first component0.17−0.182aCompCor (CSF), first component0.17−0.182aCompCor (WM), first component0.173−0.179tCompCor, first component0.153−0.193crownCompCor, first component0.226−0.17replica, reproduce − fMRIPrep's output, the columns that differ (D4: glibc's atan2)1.5e−14−3e−16

Each panel one column of the confounds table (n/a cells, the first volume of FD and DVARS, left out). The file holds 222 columns; 0 motion-outlier columns (one per volume over the FD or standardised-DVARS threshold). The lines of fMRIPrep’s file and of the replica in reproduce coincide; the table below counts every cell.

This file’s every column (numbered columns by family): the replica against fMRIPrep’s file, the originals’ step, the default

ColumnColumnsCells≠ fMRIPrep'slargest |Δ|The step: changedlargest |Δ|fix: changedlargest |Δ|
rot_xfix, the default: PD-01’s correctly rounded reading (≤ 6.5e-14 of the column’s largest value).12400–1608.7e−72329.93e−17
rot_x_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 1.9e-13 of the column’s largest value).12400–1743.66e−72371.89e−16
rot_x_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 1.5e-13 of the column’s largest value).12400–1794.95e−102371.43e−19
rot_x_power2fix, the default: PD-01’s correctly rounded reading (≤ 1.2e-13 of the column’s largest value).12400–1602.14e−92352.66e−19
rot_yreproduce: rot_y: glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. fix, the default: PD-01’s correctly rounded reading (≤ 6.2e-14 of the column’s largest value).124013e−162039.28e−72109.99e−17
rot_y_derivative1reproduce: rot_y_derivative1: glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. fix, the default: PD-01’s correctly rounded reading (≤ 3.7e-13 of the column’s largest value).124023e−162117.98e−72151.85e−16
rot_y_derivative1_power2reproduce: rot_y_derivative1_power2: glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. fix, the default: PD-01’s correctly rounded reading (≤ 2.2e-13 of the column’s largest value).124021.29e−192072.38e−102165.47e−20
rot_y_power2reproduce: rot_y_power2: glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. fix, the default: PD-01’s correctly rounded reading (≤ 1.2e-13 of the column’s largest value).124013.29e−191872.14e−92143.03e−19
rot_zfix, the default: PD-01’s correctly rounded reading (≤ 1.3e-13 of the column’s largest value).12400–2381.91e−61809.89e−17
rot_z_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 5.9e-13 of the column’s largest value).12400–2311.14e−61951.67e−16
rot_z_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 6.5e-13 of the column’s largest value).12400–2294.95e−101975.3e−20
rot_z_power2fix, the default: PD-01’s correctly rounded reading (≤ 2.2e-13 of the column’s largest value).12400–2152.14e−91911.25e−19
trans_xfix, the default: PD-01’s correctly rounded reading (≤ 1.7e-15 of the column’s largest value).12400–2280.00021679.89e−17
trans_x_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 1.3e-14 of the column’s largest value).12400–2340.000342062.41e−16
trans_x_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 2.8e-13 of the column’s largest value).12400–2344.73e−62129.91e−17
trans_x_power2fix, the default: PD-01’s correctly rounded reading (≤ 3.2e-14 of the column’s largest value).12400–2281.46e−52051.04e−16
trans_yfix, the default: PD-01’s correctly rounded reading (≤ 8.8e-16 of the column’s largest value).12400–2400.0002592189.71e−17
trans_y_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 2.4e-15 of the column’s largest value).12400–2390.0004812241.87e−16
trans_y_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 1.7e-14 of the column’s largest value).12400–2394.66e−52361.1e−16
trans_y_power2fix, the default: PD-01’s correctly rounded reading (≤ 8.9e-15 of the column’s largest value).12400–2405.07e−52391.09e−16
trans_zfix, the default: PD-01’s correctly rounded reading (≤ 4.2e-16 of the column’s largest value).12400–2400.0002121919.71e−17
trans_z_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 1.7e-15 of the column’s largest value).12400–2390.0002742281.8e−16
trans_z_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 9.5e-15 of the column’s largest value).12400–2392.31e−52231.08e−16
trans_z_power2fix, the default: PD-01’s correctly rounded reading (≤ 2.3e-15 of the column’s largest value).12400–2408.38e−52371.25e−16
framewise_displacementreproduce: framewise_displacement: glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. fix, the default: PD-01’s correctly rounded reading (≤ 6e-14 of the column’s largest value).124021.5e−142390.0005852391.09e−14
rmsdfix, the default: PD-01’s correctly rounded reading (≤ 8e-16 of the column’s largest value).12400–0–2189.71e−17
dvars12400–0–0–
std_dvarsfix, the default: PD-01’s correctly rounded reading (≤ 1.9e-16 of the column’s largest value).12400–0–42.22e−16
a_comp_cor_XXfix, the default: 0 columns negated, 2 by one unit in the 10th decimal (GLIBC-07, expected).5613,4400–41e−1021e−10
c_comp_cor_XX296,9600–7170.4490–
edge_comp_XX245,7600–0–0–
t_comp_cor_XX81,9200–2390.4120–
w_comp_cor_XXfix, the default: 0 columns negated, 2 by one unit in the 10th decimal (GLIBC-07, expected).5613,4400–21e−1031e−10
cosineXX61,4400–0–0–
non_steady_state_outlierXX12400–0–0–
csf12400–0–0–
csf_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 2.5e-17 of the column’s largest value).12400–0–744.44e−16
csf_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 1.1e-17 of the column’s largest value).12400–0–863.55e−15
csf_power2fix, the default: PD-01’s correctly rounded reading (≤ 1.4e-16 of the column’s largest value).12400–0–595.82e−11
csf_wm12400–0–0–
global_signal12400–0–0–
global_signal_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 9.3e-17 of the column’s largest value).12400–0–932.22e−16
global_signal_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 7.8e-17 of the column’s largest value).12400–0–1384.44e−16
global_signal_power2fix, the default: PD-01’s correctly rounded reading (≤ 2.1e-16 of the column’s largest value).12400–0–125.82e−11
tcompcorfix, the default: PD-01’s correctly rounded reading (≤ 1.2e-16 of the column’s largest value).12400–0–495.68e−14
white_matter12400–0–0–
white_matter_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 9.8e-17 of the column’s largest value).12400–0–872.22e−16
white_matter_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 1.7e-16 of the column’s largest value).12400–0–1468.88e−16
white_matter_power2fix, the default: PD-01’s correctly rounded reading (≤ 1.9e-16 of the column’s largest value).12400–0–125.82e−11

Cells compared as text (the 10 decimals pandas and numpy write), the columns by name. ≠ fMRIPrep’s: the replica in reproduce with fMRIPrep 25.2.6’s releases against the run’s own file; the step: reproduce with the newest releases against fMRIPrep 25.2.6’s (the originals’ own change, no verdict); the default: the replica’s corrections against reproduce, both with the newest releases.

Every comparison, computed in float64 over every voxel of the outputs

Comparison (A − B), verdict and reasonOutputmax |Δ|Values that differRMS of Δmax |Δ| ÷ range1 − NCC
The replica against fMRIPrep's output
replica, reproduce − fMRIPrep's outputBit-identicalEvery mask fMRIPrep’s run wrote, voxel for voxel and header for header (the masks’ values above 0.99 kept, as fMRIPrep’s Binarize keeps them).every outputidentical: 0 of 139,264 values differ
replica, fix − fMRIPrep's outputBit-identicalIn fix, its default (the newest releases, the corrections), the replica gives the same masks: no correction reaches them on this run.every outputidentical: 0 of 139,264 values differ
The replica against itself: thread counts, fix and reproduce
replica: fix − reproduceBit-identicalNo correction by default changes a mask here: fix and reproduce give the same bytes.every outputidentical: 0 of 139,264 values differ
replica, fix: 1 thread − 8 threadsBit-identicalThe replica’s result does not depend on its thread count: the same bytes at 1 and 8 threads (every file of the run, the confounds table included).every outputidentical: 0 of 139,264 values differ

Δ is A − B over every voxel of the masks’ files (float64 masks: the probabilities above 0.99 kept, as fMRIPrep’s Binarize writes them; uint8 for tCompCor’s and the crown). The confounds table is compared cell by cell as text in the table below. The records’ threshold: in reproduce, every array, file, table cell, header, warning, message and exit status bit-identical to the originals’ (or fMRIPrep’s own files).

Provenance of this example
  • Data: OpenNeuro ds000005 (Tom et al., 2007), snapshot 00001, sub-01, PDDL-1.0
  • Inputs: fMRIPrep’s confounds workflow ds000005-sub-01-noreconall/bold_task_mixedgamblestask_run_01_wf (sha256 47ee409dbe6815c5…)
  • Runs: figures cache entry confounds/workflows, computed 2026-11-13T08:32:56+00:00 with larmorx 5fbdd0f07f6f; numpy 2.5.4 (OpenBLAS 0.3.34, LAPACK 3.12.1, OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6, nipype 1.12.0, niworkflows 1.15.4, nitime 0.12.1, nibabel 5.4.2 (oracles/python-sdcflows-2.17), fMRIPrep 25.2.7 from its tag; fMRIPrep 25.2.6 in its image (niworkflows 1.15.2, nipype 1.10, numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3): the runs’ own files; every command, its environment, threads and exit status are in its RUN_INFO.json
  • Workflow: ds000005-sub-01-noreconall/work/fmriprep_25_2_wf/sub_01_wf/bold_task_mixedgamblestask_run_01_wf/bold_confounds_wf

Every number above is in confounds.json, exported by python -m larmorx_validation evidence confounds.

ds000256: a child’s run with strong head motion

Worked example

fMRIPrep's confounds of a real BOLD run: a 7.5-year-old's rest run with strong head motion, 3 T

What this shows: In reproduce, with fMRIPrep 25.2.6’s releases, the replica writes every CompCor mask of fMRIPrep’s run, voxel for voxel and header for header, and its confounds table holds every column of fMRIPrep’s file, cell for cell, but 5 cells of the motion chain, where glibc’s atan2 rounds an angle otherwise than the replica’s correctly rounded one (with fMRIPrep’s own motion table, none differs); its JSON byte for byte. In fix, its default, with the newest releases, the masks are the same bytes, at 1 and 8 threads alike; the table below says, column by column, what the newest releases and the corrections change.

fMRIPrep 25.2.6’s confounds workflow (bold_task_restfixationnofeedback_wf of OpenNeuro ds000256 (Greene et al., 2018) sub-CTS203) run end to end by the replica from the workflow’s own inputs: in reproduce with fMRIPrep 25.2.6’s releases, compared with the run’s own files (its CompCor masks drawn over the BOLD reference, and its confounds table column by column), with the newest releases (the originals’ own step) and in fix, its default (the corrections), at 8 threads and, in fix, at 1.

Data
OpenNeuro ds000256 (Greene et al., 2018), sub-CTS203 (PDDL-1.0); shown inside fMRIPrep’s BOLD mask, dilated by three voxels
Workflow
fMRIPrep 25.2.6, bold_task_restfixationnofeedback_wf/bold_confounds_wf (and ds_confounds): 64 × 64 × 32 voxels of 4 × 4 × 4 mm, 164 volumes (float32), TR 2.5 s, 0 dummy scan(s)
Confounds file
sub-CTS203_task-restfixationnofeedback_desc-confounds_timeseries.tsv: 177 columns, 29,028 cells; the replica’s file has fMRIPrep’s name (yes) and another column order (PIPE-43); its JSON byte for byte
Verdict of the file
divergence: 5 cells of the motion chain (framewise_displacement, rot_y, rot_y_derivative1): glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The JSON byte for byte.
Programs
The replica 0.1.0rc1 (bold_confounds, experimental) at commit 5fbdd0f07f6f, in numpy 2.5.4 (OpenBLAS 0.3.34, LAPACK 3.12.1, OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6, nipype 1.12.0, niworkflows 1.15.4, nitime 0.12.1, nibabel 5.4.2 (oracles/python-sdcflows-2.17), fMRIPrep 25.2.7 from its tag; fMRIPrep’s files from its run (fMRIPrep 25.2.6 in its image (niworkflows 1.15.2, nipype 1.10, numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3): the runs’ own files)
Notices
e3: GLIBC-07 reproduce 3, PD-01 reproduce 9, PIPE-41 reproduce 1, PIPE-43 fix 1; sp: GLIBC-07 reproduce 3, PD-01 reproduce 9, PIPE-41 reproduce 1, PIPE-43 fix 1; new: GLIBC-07 reproduce 3, PD-01 reproduce 9, PIPE-41 reproduce 1, PIPE-43 fix 1; fix: GLIBC-07 fix 3, PD-01 fix 9, PIPE-41 fix 1, PIPE-43 fix 1; fix-1: GLIBC-07 fix 3, PD-01 fix 9, PIPE-41 fix 1, PIPE-43 fix 1
Grid
64 × 64 × 32 voxels of 4 × 4 × 4 mm; shown: 46 × 54 × 32 around the brain
Inputds000256 sub-CTS203 BOLD referencethe head-motion reference fMRIPrep computed (bold_fit_wf), float32
fMRIPrep's outputfMRIPrep's outputfMRIPrep 25.2.6's own files: the run's node folders (fMRIPrep 25.2.6 in its image)
Replicareplicalarmorx, Apache-2.0 · 8 threads, reproduce, fMRIPrep 25.2.6's releases · against fMRIPrep's output
Replicareplicalarmorx, Apache-2.0 · 8 threads, fix (the default), the newest releases

Bit-identical131,072 of 131,072 voxels equal

the replica against fMRIPrep's outputreplica, reproduce − fMRIPrep's output

Bit-identical131,072 of 131,072 voxels equal

the replica against itself: fix and reproducereplica: fix − reproduce

Axial slice 19 of 32; the masks drawn over the BOLD reference. The interactive viewer needs JavaScript; the metrics below are complete without it.

The confounds over the 164 volumes, the replica against fMRIPrep’s output: fMRIPrep 25.2.6’s run
  • fMRIPrep's output (fMRIPrep 25.2.6's run)
  • replica, reproduce
  • replica, fix (the default)
Framewise displacement (mm)64.30.0584Standardised DVARS6.820.325DVARS47122.5RMS deviation (mm)28.90.0313Global signal533376CSF signal526397White-matter signal570461Translation x (mm)7.25−4.26Rotation y (rad)0.0291−0.0522aCompCor (CSF + WM), first component0.282−0.384aCompCor (CSF), first component0.325−0.165aCompCor (WM), first component0.303−0.369tCompCor, first component0.193−0.283crownCompCor, first component0.693−0.114replica, reproduce − fMRIPrep's output, the columns that differ (D4: glibc's atan2)1.07e−14−1.07e−14

Each panel one column of the confounds table (n/a cells, the first volume of FD and DVARS, left out). The file holds 177 columns; 92 motion-outlier columns (one per volume over the FD or standardised-DVARS threshold). The lines of fMRIPrep’s file and of the replica in reproduce coincide; the table below counts every cell.

This file’s every column (numbered columns by family): the replica against fMRIPrep’s file, the originals’ step, the default

ColumnColumnsCells≠ fMRIPrep'slargest |Δ|The step: changedlargest |Δ|fix: changedlargest |Δ|
rot_xfix, the default: PD-01’s correctly rounded reading (≤ 2.3e-16 of the column’s largest value).11640–1640.003421559.71e−17
rot_x_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 4.3e-16 of the column’s largest value).11640–1630.003531601.96e−16
rot_x_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 6.6e-16 of the column’s largest value).11640–1630.002411621.35e−16
rot_x_power2fix, the default: PD-01’s correctly rounded reading (≤ 7e-16 of the column’s largest value).11640–1640.0003871631.25e−16
rot_yreproduce: rot_y: glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. fix, the default: PD-01’s correctly rounded reading (≤ 1.9e-15 of the column’s largest value).116411.98e−161640.03391639.76e−17
rot_y_derivative1reproduce: rot_y_derivative1: glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. fix, the default: PD-01’s correctly rounded reading (≤ 4.8e-15 of the column’s largest value).116421.01e−161630.03391622.41e−16
rot_y_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 3.8e-14 of the column’s largest value).11640–1630.003271629.32e−17
rot_y_power2fix, the default: PD-01’s correctly rounded reading (≤ 3.9e-14 of the column’s largest value).11640–1640.0003881641.04e−16
rot_zfix, the default: PD-01’s correctly rounded reading (≤ 4.9e-16 of the column’s largest value).11640–1640.005051589.89e−17
rot_z_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 9.4e-16 of the column’s largest value).11640–1630.006321621.99e−16
rot_z_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 2.2e-15 of the column’s largest value).11640–1630.000421611.01e−16
rot_z_power2fix, the default: PD-01’s correctly rounded reading (≤ 2.6e-15 of the column’s largest value).11640–1640.0003881621.06e−16
trans_xfix, the default: PD-01’s correctly rounded reading (≤ 1.1e-16 of the column’s largest value).11640–1645.67734.44e−16
trans_x_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 1e-16 of the column’s largest value).11640–1635.81254.44e−16
trans_x_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 2e-16 of the column’s largest value).11640–163541303.55e−15
trans_x_power2fix, the default: PD-01’s correctly rounded reading (≤ 1.8e-16 of the column’s largest value).11640–16450.1952.66e−15
trans_yfix, the default: PD-01’s correctly rounded reading (≤ 7.1e-17 of the column’s largest value).11640–16423.4671.78e−15
trans_y_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 1.4e-16 of the column’s largest value).11640–16323.21263.55e−15
trans_y_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 7e-17 of the column’s largest value).11640–1631001314.26e−14
trans_y_power2fix, the default: PD-01’s correctly rounded reading (≤ 9.2e-17 of the column’s largest value).11640–1641771145.68e−14
trans_zfix, the default: PD-01’s correctly rounded reading (≤ 8.7e-17 of the column’s largest value).11640–1647.52581.78e−15
trans_z_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 1.3e-16 of the column’s largest value).11640–1637.891212.22e−15
trans_z_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 5.8e-17 of the column’s largest value).11640–1632651221.78e−14
trans_z_power2fix, the default: PD-01’s correctly rounded reading (≤ 1.4e-16 of the column’s largest value).11640–164172835.68e−14
framewise_displacementreproduce: framewise_displacement: glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. fix, the default: PD-01’s correctly rounded reading (≤ 2.5e-16 of the column’s largest value).116421.07e−1416311.81551.42e−14
motion_outlierXX9215,0880–0–0–
rmsdfix, the default: PD-01’s correctly rounded reading (≤ 1.2e-16 of the column’s largest value).11640–0–763.55e−15
dvarsfix, the default: PD-01’s correctly rounded reading (≤ 3e-17 of the column’s largest value).11640–0–51.42e−14
std_dvarsfix, the default: PD-01’s correctly rounded reading (≤ 1.6e-17 of the column’s largest value).11640–0–31.11e−16
a_comp_cor_XX34920–0–0–
c_comp_cor_XX71,1480–0–0–
edge_comp_XX243,9360–3281.070–
t_comp_cor_XX11640–0–0–
w_comp_cor_XX34920–0–0–
cosineXX58200–0–0–
csffix, the default: PD-01’s correctly rounded reading (≤ 1.1e-16 of the column’s largest value).11640–0–465.68e−14
csf_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 1.1e-15 of the column’s largest value).11640–0–941.14e−13
csf_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 1e-15 of the column’s largest value).11640–0–921.09e−11
csf_power2fix, the default: PD-01’s correctly rounded reading (≤ 4.2e-16 of the column’s largest value).11640–0–861.16e−10
csf_wmfix, the default: PD-01’s correctly rounded reading (≤ 1e-16 of the column’s largest value).11640–0–65.68e−14
global_signalfix, the default: PD-01’s correctly rounded reading (≤ 1.1e-16 of the column’s largest value).11640–0–135.68e−14
global_signal_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 8.7e-16 of the column’s largest value).11640–0–441.14e−13
global_signal_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 5.3e-16 of the column’s largest value).11640–0–459.09e−12
global_signal_power2fix, the default: PD-01’s correctly rounded reading (≤ 3.1e-16 of the column’s largest value).11640–0–288.73e−11
tcompcorfix, the default: PD-01’s correctly rounded reading (≤ 9.4e-17 of the column’s largest value).11640–0–115.68e−14
white_matterfix, the default: PD-01’s correctly rounded reading (≤ 1e-16 of the column’s largest value).11640–0–45.68e−14
white_matter_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 8.6e-16 of the column’s largest value).11640–0–346.04e−14
white_matter_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 1.5e-15 of the column’s largest value).11640–0–497.28e−12
white_matter_power2fix, the default: PD-01’s correctly rounded reading (≤ 2.7e-16 of the column’s largest value).11640–0–148.73e−11

Cells compared as text (the 10 decimals pandas and numpy write), the columns by name. ≠ fMRIPrep’s: the replica in reproduce with fMRIPrep 25.2.6’s releases against the run’s own file; the step: reproduce with the newest releases against fMRIPrep 25.2.6’s (the originals’ own change, no verdict); the default: the replica’s corrections against reproduce, both with the newest releases.

Every comparison, computed in float64 over every voxel of the outputs

Comparison (A − B), verdict and reasonOutputmax |Δ|Values that differRMS of Δmax |Δ| ÷ range1 − NCC
The replica against fMRIPrep's output
replica, reproduce − fMRIPrep's outputBit-identicalEvery mask fMRIPrep’s run wrote, voxel for voxel and header for header (the masks’ values above 0.99 kept, as fMRIPrep’s Binarize keeps them).every outputidentical: 0 of 131,072 values differ
replica, fix − fMRIPrep's outputBit-identicalIn fix, its default (the newest releases, the corrections), the replica gives the same masks: no correction reaches them on this run.every outputidentical: 0 of 131,072 values differ
The replica against itself: thread counts, fix and reproduce
replica: fix − reproduceBit-identicalNo correction by default changes a mask here: fix and reproduce give the same bytes.every outputidentical: 0 of 131,072 values differ
replica, fix: 1 thread − 8 threadsBit-identicalThe replica’s result does not depend on its thread count: the same bytes at 1 and 8 threads (every file of the run, the confounds table included).every outputidentical: 0 of 131,072 values differ

Δ is A − B over every voxel of the masks’ files (float64 masks: the probabilities above 0.99 kept, as fMRIPrep’s Binarize writes them; uint8 for tCompCor’s and the crown). The confounds table is compared cell by cell as text in the table below. The records’ threshold: in reproduce, every array, file, table cell, header, warning, message and exit status bit-identical to the originals’ (or fMRIPrep’s own files).

Provenance of this example
  • Data: OpenNeuro ds000256 (Greene et al., 2018), sub-CTS203, PDDL-1.0
  • Inputs: fMRIPrep’s confounds workflow ds000256-sub-CTS203-noreconall/bold_task_restfixationnofeedback_wf (sha256 7015c05cc61f2c96…)
  • Runs: figures cache entry confounds/workflows, computed 2026-11-13T08:32:56+00:00 with larmorx 5fbdd0f07f6f; numpy 2.5.4 (OpenBLAS 0.3.34, LAPACK 3.12.1, OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6, nipype 1.12.0, niworkflows 1.15.4, nitime 0.12.1, nibabel 5.4.2 (oracles/python-sdcflows-2.17), fMRIPrep 25.2.7 from its tag; fMRIPrep 25.2.6 in its image (niworkflows 1.15.2, nipype 1.10, numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3): the runs’ own files; every command, its environment, threads and exit status are in its RUN_INFO.json
  • Workflow: ds000256-sub-CTS203-noreconall/work/fmriprep_25_2_wf/sub_CTS203_wf/bold_task_restfixationnofeedback_wf/bold_confounds_wf

Every number above is in confounds.json, exported by python -m larmorx_validation evidence confounds.

ds004958: multiband 8, 600 volumes

Worked example

fMRIPrep's confounds of a real BOLD run: multiband 8, 600 volumes

What this shows: In reproduce, with fMRIPrep 25.2.6’s releases, the replica writes every CompCor mask of fMRIPrep’s run, voxel for voxel and header for header, and its confounds table holds every column of fMRIPrep’s file, cell for cell, but 8 cells of the motion chain, where glibc’s atan2 rounds an angle otherwise than the replica’s correctly rounded one (with fMRIPrep’s own motion table, none differs); its JSON byte for byte. In fix, its default, with the newest releases, the masks are the same bytes, at 1 and 8 threads alike; the table below says, column by column, what the newest releases and the corrections change.

fMRIPrep 25.2.6’s confounds workflow (bold_task_rest_wf of OpenNeuro ds004958 sub-fsm64ps) run end to end by the replica from the workflow’s own inputs: in reproduce with fMRIPrep 25.2.6’s releases, compared with the run’s own files (its CompCor masks drawn over the BOLD reference, and its confounds table column by column), with the newest releases (the originals’ own step) and in fix, its default (the corrections), at 8 threads and, in fix, at 1.

Data
OpenNeuro ds004958, sub-fsm64ps (CC0-1.0); shown inside fMRIPrep’s BOLD mask, dilated by three voxels
Workflow
fMRIPrep 25.2.6, bold_task_rest_wf/bold_confounds_wf (and ds_confounds): 104 × 104 × 72 voxels of 2 × 2 × 2 mm, 600 volumes (float32), TR 0.8 s, 3 dummy scan(s)
Confounds file
sub-fsm64ps_task-rest_desc-confounds_timeseries.tsv: 456 columns, 273,600 cells; the replica’s file has fMRIPrep’s name (yes) and another column order (PIPE-43); its JSON byte for byte
Verdict of the file
divergence: 8 cells of the motion chain (framewise_displacement, rot_y, rot_y_derivative1, rot_y_derivative1_power2, rot_y_power2): glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. The JSON byte for byte.
Programs
The replica 0.1.0rc1 (bold_confounds, experimental) at commit 5fbdd0f07f6f, in numpy 2.5.4 (OpenBLAS 0.3.34, LAPACK 3.12.1, OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6, nipype 1.12.0, niworkflows 1.15.4, nitime 0.12.1, nibabel 5.4.2 (oracles/python-sdcflows-2.17), fMRIPrep 25.2.7 from its tag; fMRIPrep’s files from its run (fMRIPrep 25.2.6 in its image (niworkflows 1.15.2, nipype 1.10, numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3): the runs’ own files)
Notices
e3: GLIBC-07 reproduce 3, PD-01 reproduce 9, PIPE-41 reproduce 1, PIPE-43 fix 1; sp: GLIBC-07 reproduce 3, PD-01 reproduce 9, PIPE-41 reproduce 1, PIPE-43 fix 1; new: GLIBC-07 reproduce 3, PD-01 reproduce 9, PIPE-41 reproduce 1, PIPE-43 fix 1; fix: GLIBC-07 fix 3, PD-01 fix 9, PIPE-41 fix 1, PIPE-43 fix 1; fix-1: GLIBC-07 fix 3, PD-01 fix 9, PIPE-41 fix 1, PIPE-43 fix 1
Grid
104 × 104 × 72 voxels of 2 × 2 × 2 mm; shown: 75 × 96 × 72 around the brain
Inputds004958 sub-fsm64ps BOLD referencethe head-motion reference fMRIPrep computed (bold_fit_wf), float32
fMRIPrep's outputfMRIPrep's outputfMRIPrep 25.2.6's own files: the run's node folders (fMRIPrep 25.2.6 in its image)
Replicareplicalarmorx, Apache-2.0 · 8 threads, reproduce, fMRIPrep 25.2.6's releases · against fMRIPrep's output
Replicareplicalarmorx, Apache-2.0 · 8 threads, fix (the default), the newest releases

Bit-identical778,752 of 778,752 voxels equal

the replica against fMRIPrep's outputreplica, reproduce − fMRIPrep's output

Bit-identical778,752 of 778,752 voxels equal

the replica against itself: fix and reproducereplica: fix − reproduce

Axial slice 34 of 72; the masks drawn over the BOLD reference. The interactive viewer needs JavaScript; the metrics below are complete without it.

The confounds over the 600 volumes, the replica against fMRIPrep’s output: fMRIPrep 25.2.6’s run
  • fMRIPrep's output (fMRIPrep 25.2.6's run)
  • replica, reproduce
  • replica, fix (the default)
Framewise displacement (mm)0.8070.0125Standardised DVARS1.470.878DVARS81.548.5RMS deviation (mm)0.490.00845Global signal3.01e32.89e3CSF signal3.96e33.56e3White-matter signal2.54e32.49e3Translation x (mm)0.0459−0.408Rotation y (rad)0.00535−0.00419aCompCor (CSF + WM), first component0.0839−0.158aCompCor (CSF), first component0.145−0.0744aCompCor (WM), first component0.0859−0.158tCompCor, first component0.135−0.0743crownCompCor, first component0.0738−0.151replica, reproduce − fMRIPrep's output, the columns that differ (D4: glibc's atan2)2e−16−1.01e−14

Each panel one column of the confounds table (n/a cells, the first volume of FD and DVARS, left out). The file holds 456 columns; 5 motion-outlier columns (one per volume over the FD or standardised-DVARS threshold). The lines of fMRIPrep’s file and of the replica in reproduce coincide; the table below counts every cell.

This file’s every column (numbered columns by family): the replica against fMRIPrep’s file, the originals’ step, the default

ColumnColumnsCells≠ fMRIPrep'slargest |Δ|The step: changedlargest |Δ|fix: changedlargest |Δ|
rot_xfix, the default: PD-01’s correctly rounded reading (≤ 9.7e-15 of the column’s largest value).16000–6002.91e−55939.97e−17
rot_x_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 8.7e-14 of the column’s largest value).16000–5998.79e−65982.24e−16
rot_x_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 5.9e-14 of the column’s largest value).16000–5992.58e−85983.85e−19
rot_x_power2fix, the default: PD-01’s correctly rounded reading (≤ 7.2e-13 of the column’s largest value).16000–6002.88e−75957.62e−17
rot_yreproduce: rot_y: glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. fix, the default: PD-01’s correctly rounded reading (≤ 1.9e-14 of the column’s largest value).160012e−166004.09e−55901e−16
rot_y_derivative1reproduce: rot_y_derivative1: glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. fix, the default: PD-01’s correctly rounded reading (≤ 1.8e-13 of the column’s largest value).160022e−165991.77e−55992.57e−16
rot_y_derivative1_power2reproduce: rot_y_derivative1_power2: glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. fix, the default: PD-01’s correctly rounded reading (≤ 1.3e-13 of the column’s largest value).160025.42e−205993.22e−85982.78e−19
rot_y_power2reproduce: rot_y_power2: glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. fix, the default: PD-01’s correctly rounded reading (≤ 3.5e-14 of the column’s largest value).160016.68e−196002.88e−75969.79e−19
rot_zfix, the default: PD-01’s correctly rounded reading (≤ 1.6e-14 of the column’s largest value).16000–6002.55e−55919.95e−17
rot_z_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 1.1e-13 of the column’s largest value).16000–5997.8e−65981.94e−16
rot_z_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 4.7e-14 of the column’s largest value).16000–5992.81e−85981.55e−19
rot_z_power2fix, the default: PD-01’s correctly rounded reading (≤ 2.5e-14 of the column’s largest value).16000–6002.88e−75939.55e−19
trans_xfix, the default: PD-01’s correctly rounded reading (≤ 2.4e-16 of the column’s largest value).16000–6000.00644629.71e−17
trans_x_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 3.6e-15 of the column’s largest value).16000–5990.001855902.19e−16
trans_x_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 2.8e-14 of the column’s largest value).16000–5990.0001715271.04e−16
trans_x_power2fix, the default: PD-01’s correctly rounded reading (≤ 7.5e-16 of the column’s largest value).16000–6000.004665901.25e−16
trans_yfix, the default: PD-01’s correctly rounded reading (≤ 1.7e-16 of the column’s largest value).16000–6000.01243929.71e−17
trans_y_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 5.3e-16 of the column’s largest value).16000–5990.002815211.94e−16
trans_y_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 1.1e-15 of the column’s largest value).16000–5990.0007215801.53e−16
trans_y_power2fix, the default: PD-01’s correctly rounded reading (≤ 4.3e-16 of the column’s largest value).16000–6000.01195701.39e−16
trans_zfix, the default: PD-01’s correctly rounded reading (≤ 1.9e-16 of the column’s largest value).16000–6000.01151752.22e−16
trans_z_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 7.1e-16 of the column’s largest value).16000–5990.002235752.71e−16
trans_z_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 8.3e-16 of the column’s largest value).16000–5990.0006255461.21e−16
trans_z_power2fix, the default: PD-01’s correctly rounded reading (≤ 3.4e-16 of the column’s largest value).16000–6000.01913134.44e−16
framewise_displacementreproduce: framewise_displacement: glibc’s atan2 (SciPy’s Rotation.as_euler calls the C library’s) rounds these angles otherwise than the replica’s correctly rounded atan2, in both modes (decision D4: glibc’s code is LGPL, never translated; a gap of reproduce, GLIBC-07’s row in the register): with fMRIPrep’s own motion table in place of the replica’s, every column of the file is fMRIPrep’s. fix, the default: PD-01’s correctly rounded reading (≤ 1.9e-14 of the column’s largest value).160021.01e−145990.00625961.54e−14
motion_outlierXX53,0000–0–0–
rmsdfix, the default: PD-01’s correctly rounded reading (≤ 2e-16 of the column’s largest value).16000–0–4949.71e−17
dvarsfix, the default: PD-01’s correctly rounded reading (≤ 1.7e-16 of the column’s largest value).16000–0–11.42e−14
std_dvarsfix, the default: PD-01’s correctly rounded reading (≤ 1.5e-16 of the column’s largest value).16000–21e−692.22e−16
a_comp_cor_XXfix, the default: 0 columns negated, 6 by one unit in the 10th decimal (GLIBC-07, expected).16699,6000–2,3960.32761e−10
c_comp_cor_XX3722,2000–11e−100–
edge_comp_XX2414,4000–5970.2390–
t_comp_cor_XX74,2000–0–0–
w_comp_cor_XXfix, the default: 0 columns negated, 5 by one unit in the 10th decimal (GLIBC-07, expected).16699,6000–1,2050.28551e−10
cosineXX63,6000–0–0–
non_steady_state_outlierXX31,8000–0–0–
csffix, the default: PD-01’s correctly rounded reading (≤ 2.3e-16 of the column’s largest value).16000–0–1029.09e−13
csf_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 6.6e-15 of the column’s largest value).16000–0–2349.11e−13
csf_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 7.3e-15 of the column’s largest value).16000–0–2521.4e−10
csf_power2fix, the default: PD-01’s correctly rounded reading (≤ 5.9e-16 of the column’s largest value).16000–0–2119.31e−9
csf_wmfix, the default: PD-01’s correctly rounded reading (≤ 3.6e-16 of the column’s largest value).16000–0–749.09e−13
global_signalfix, the default: PD-01’s correctly rounded reading (≤ 3e-16 of the column’s largest value).16000–0–719.09e−13
global_signal_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 4.4e-14 of the column’s largest value).16000–0–2411.36e−12
global_signal_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 1.1e-14 of the column’s largest value).16000–0–2551.13e−11
global_signal_power2fix, the default: PD-01’s correctly rounded reading (≤ 6.2e-16 of the column’s largest value).16000–0–715.59e−9
tcompcorfix, the default: PD-01’s correctly rounded reading (≤ 2.7e-16 of the column’s largest value).16000–0–959.09e−13
white_matterfix, the default: PD-01’s correctly rounded reading (≤ 3.6e-16 of the column’s largest value).16000–0–999.09e−13
white_matter_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 7.8e-14 of the column’s largest value).16000–0–2731.36e−12
white_matter_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 5.9e-14 of the column’s largest value).16000–0–2861.81e−11
white_matter_power2fix, the default: PD-01’s correctly rounded reading (≤ 7.2e-16 of the column’s largest value).16000–0–1094.66e−9

Cells compared as text (the 10 decimals pandas and numpy write), the columns by name. ≠ fMRIPrep’s: the replica in reproduce with fMRIPrep 25.2.6’s releases against the run’s own file; the step: reproduce with the newest releases against fMRIPrep 25.2.6’s (the originals’ own change, no verdict); the default: the replica’s corrections against reproduce, both with the newest releases.

Every comparison, computed in float64 over every voxel of the outputs

Comparison (A − B), verdict and reasonOutputmax |Δ|Values that differRMS of Δmax |Δ| ÷ range1 − NCC
The replica against fMRIPrep's output
replica, reproduce − fMRIPrep's outputBit-identicalEvery mask fMRIPrep’s run wrote, voxel for voxel and header for header (the masks’ values above 0.99 kept, as fMRIPrep’s Binarize keeps them).every outputidentical: 0 of 778,752 values differ
replica, fix − fMRIPrep's outputBit-identicalIn fix, its default (the newest releases, the corrections), the replica gives the same masks: no correction reaches them on this run.every outputidentical: 0 of 778,752 values differ
The replica against itself: thread counts, fix and reproduce
replica: fix − reproduceBit-identicalNo correction by default changes a mask here: fix and reproduce give the same bytes.every outputidentical: 0 of 778,752 values differ
replica, fix: 1 thread − 8 threadsBit-identicalThe replica’s result does not depend on its thread count: the same bytes at 1 and 8 threads (every file of the run, the confounds table included).every outputidentical: 0 of 778,752 values differ

Δ is A − B over every voxel of the masks’ files (float64 masks: the probabilities above 0.99 kept, as fMRIPrep’s Binarize writes them; uint8 for tCompCor’s and the crown). The confounds table is compared cell by cell as text in the table below. The records’ threshold: in reproduce, every array, file, table cell, header, warning, message and exit status bit-identical to the originals’ (or fMRIPrep’s own files).

Provenance of this example
  • Data: OpenNeuro ds004958, sub-fsm64ps, CC0-1.0
  • Inputs: fMRIPrep’s confounds workflow ds004958-sub-fsm64ps-noreconall/bold_task_rest_wf (sha256 0bbb1326f28919c9…)
  • Runs: figures cache entry confounds/workflows, computed 2026-11-13T08:32:56+00:00 with larmorx 5fbdd0f07f6f; numpy 2.5.4 (OpenBLAS 0.3.34, LAPACK 3.12.1, OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6, nipype 1.12.0, niworkflows 1.15.4, nitime 0.12.1, nibabel 5.4.2 (oracles/python-sdcflows-2.17), fMRIPrep 25.2.7 from its tag; fMRIPrep 25.2.6 in its image (niworkflows 1.15.2, nipype 1.10, numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3): the runs’ own files; every command, its environment, threads and exit status are in its RUN_INFO.json
  • Workflow: ds004958-sub-fsm64ps-noreconall/work/fmriprep_25_2_wf/sub_fsm64ps_wf/bold_task_rest_wf/bold_confounds_wf

Every number above is in confounds.json, exported by python -m larmorx_validation evidence confounds.

ds003592: an older adult’s multi-echo run

Worked example

fMRIPrep's confounds of a real BOLD run: an older adult's multi-echo run (the optimally combined series)

What this shows: In reproduce, with fMRIPrep 25.2.6’s releases, the replica writes every CompCor mask of fMRIPrep’s run, voxel for voxel and header for header, and its confounds table holds every column of fMRIPrep’s file, cell for cell, and its JSON byte for byte. In fix, its default, with the newest releases, the masks are the same bytes; the table below says, column by column, what the newest releases and the corrections change.

fMRIPrep 25.2.6’s confounds workflow (bold_ses_1_task_rest_echo_1_wf of OpenNeuro ds003592 (Spreng et al.) sub-280) run end to end by the replica from the workflow’s own inputs: in reproduce with fMRIPrep 25.2.6’s releases, compared with the run’s own files (its CompCor masks drawn over the BOLD reference, and its confounds table column by column), with the newest releases (the originals’ own step) and in fix, its default (the corrections), at 8 threads and, in fix, at 1.

Data
OpenNeuro ds003592 (Spreng et al.), sub-280 (CC0-1.0); shown inside fMRIPrep’s BOLD mask, dilated by three voxels
Workflow
fMRIPrep 25.2.6, bold_ses_1_task_rest_echo_1_wf/bold_confounds_wf (and ds_confounds): 64 × 64 × 43 voxels of 3.38 × 3.38 × 3 mm, 200 volumes (float32), TR 3.0 s, 0 dummy scan(s)
Confounds file
sub-280_ses-1_task-rest_desc-confounds_timeseries.tsv: 132 columns, 26,400 cells; the replica’s file has fMRIPrep’s name (yes) and another column order (PIPE-43); its JSON byte for byte
Verdict of the file
bit-identical: Every column of fMRIPrep’s file, cell for cell as text (matched by name: the order of niworkflows’ set, PIPE-43, is never reproduced), and its JSON byte for byte.
Programs
The replica 0.1.0rc1 (bold_confounds, experimental) at commit 5fbdd0f07f6f, in numpy 2.5.4 (OpenBLAS 0.3.34, LAPACK 3.12.1, OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6, nipype 1.12.0, niworkflows 1.15.4, nitime 0.12.1, nibabel 5.4.2 (oracles/python-sdcflows-2.17), fMRIPrep 25.2.7 from its tag; fMRIPrep’s files from its run (fMRIPrep 25.2.6 in its image (niworkflows 1.15.2, nipype 1.10, numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3): the runs’ own files)
Notices
e3: GLIBC-07 reproduce 3, PD-01 reproduce 9, PIPE-41 reproduce 1, PIPE-43 fix 1; new: GLIBC-07 reproduce 3, PD-01 reproduce 9, PIPE-41 reproduce 1, PIPE-43 fix 1; fix: GLIBC-07 fix 3, PD-01 fix 9, PIPE-41 fix 1, PIPE-43 fix 1
Grid
64 × 64 × 43 voxels of 3.38 × 3.38 × 3 mm; shown: 53 × 59 × 43 around the brain
Inputds003592 sub-280 BOLD referencethe head-motion reference fMRIPrep computed (bold_fit_wf), float32
fMRIPrep's outputfMRIPrep's outputfMRIPrep 25.2.6's own files: the run's node folders (fMRIPrep 25.2.6 in its image)
Replicareplicalarmorx, Apache-2.0 · 8 threads, reproduce, fMRIPrep 25.2.6's releases · against fMRIPrep's output
Replicareplicalarmorx, Apache-2.0 · 8 threads, fix (the default), the newest releases

Bit-identical176,128 of 176,128 voxels equal

the replica against fMRIPrep's outputreplica, reproduce − fMRIPrep's output

Bit-identical176,128 of 176,128 voxels equal

the replica against itself: fix and reproducereplica: fix − reproduce

Axial slice 21 of 43; the masks drawn over the BOLD reference. The interactive viewer needs JavaScript; the metrics below are complete without it.

The confounds over the 200 volumes, the replica against fMRIPrep’s output: fMRIPrep 25.2.6’s run
  • fMRIPrep's output (fMRIPrep 25.2.6's run)
  • replica, reproduce
  • replica, fix (the default)
Framewise displacement (mm)1.970.0397Standardised DVARS2.780.756DVARS91.624.9RMS deviation (mm)1.610.0222Global signal602577CSF signal824778White-matter signal396381Translation x (mm)0.282−0.0246Rotation y (rad)0.000771−0.00613aCompCor (CSF + WM), first component0.49−0.164aCompCor (CSF), first component0.421−0.174aCompCor (WM), first component0.144−0.342tCompCor, first component0.231−0.155crownCompCor, first component0.257−0.138edge_comp_04: the default negates it (GLIBC-07, expected)0.245−0.149

Each panel one column of the confounds table (n/a cells, the first volume of FD and DVARS, left out). The file holds 132 columns; 40 motion-outlier columns (one per volume over the FD or standardised-DVARS threshold). The lines of fMRIPrep’s file and of the replica in reproduce coincide; the table below counts every cell.

This file’s every column (numbered columns by family): the replica against fMRIPrep’s file, the originals’ step, the default

ColumnColumnsCells≠ fMRIPrep'slargest |Δ|The step: changedlargest |Δ|fix: changedlargest |Δ|
rot_xfix, the default: PD-01’s correctly rounded reading (≤ 1.3e-14 of the column’s largest value).12000–2006.29e−61989.95e−17
rot_x_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 2.7e-14 of the column’s largest value).12000–1993.91e−61991.94e−16
rot_x_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 2.1e-14 of the column’s largest value).12000–1993.54e−81991.07e−18
rot_x_power2fix, the default: PD-01’s correctly rounded reading (≤ 2.3e-14 of the column’s largest value).12000–2008.93e−81981.42e−18
rot_yfix, the default: PD-01’s correctly rounded reading (≤ 1.6e-14 of the column’s largest value).12000–2007.67e−61889.75e−17
rot_y_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 8.2e-14 of the column’s largest value).12000–1994.89e−61961.79e−16
rot_y_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 4.1e-14 of the column’s largest value).12000–1991.48e−81941.98e−19
rot_y_power2fix, the default: PD-01’s correctly rounded reading (≤ 2.9e-14 of the column’s largest value).12000–2008.93e−81921.1e−18
rot_zfix, the default: PD-01’s correctly rounded reading (≤ 6.8e-14 of the column’s largest value).12000–2004.77e−51869.97e−17
rot_z_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 2.3e-13 of the column’s largest value).12000–1992.55e−51941.82e−16
rot_z_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 2.1e-13 of the column’s largest value).12000–1992.46e−81931.35e−19
rot_z_power2fix, the default: PD-01’s correctly rounded reading (≤ 1.1e-13 of the column’s largest value).12000–2008.93e−81882.38e−19
trans_xfix, the default: PD-01’s correctly rounded reading (≤ 3.5e-16 of the column’s largest value).12000–2000.008451639.8e−17
trans_x_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 2.7e-15 of the column’s largest value).12000–1990.00391932.78e−16
trans_x_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 9.9e-15 of the column’s largest value).12000–1990.0002341901.02e−16
trans_x_power2fix, the default: PD-01’s correctly rounded reading (≤ 1.6e-15 of the column’s largest value).12000–2000.004341981.25e−16
trans_yfix, the default: PD-01’s correctly rounded reading (≤ 2.3e-16 of the column’s largest value).12000–2000.01181399.71e−17
trans_y_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 6.1e-16 of the column’s largest value).12000–1990.007141802.08e−16
trans_y_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 9.4e-16 of the column’s largest value).12000–1990.002921931.11e−16
trans_y_power2fix, the default: PD-01’s correctly rounded reading (≤ 7.2e-16 of the column’s largest value).12000–2000.007531921.32e−16
trans_zfix, the default: PD-01’s correctly rounded reading (≤ 5.9e-17 of the column’s largest value).12000–2000.006311449.71e−17
trans_z_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 1.6e-16 of the column’s largest value).12000–1990.003131702.5e−16
trans_z_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 6.8e-17 of the column’s largest value).12000–1990.004731881.67e−16
trans_z_power2fix, the default: PD-01’s correctly rounded reading (≤ 4.6e-17 of the column’s largest value).12000–2000.005451901.25e−16
framewise_displacementfix, the default: PD-01’s correctly rounded reading (≤ 8e-15 of the column’s largest value).12000–1990.009261981.59e−14
motion_outlierXX408,0000–0–0–
rmsdfix, the default: PD-01’s correctly rounded reading (≤ 6e-17 of the column’s largest value).12000–0–1349.71e−17
dvarsfix, the default: PD-01’s correctly rounded reading (≤ 1.6e-16 of the column’s largest value).12000–0–21.42e−14
std_dvarsfix, the default: PD-01’s correctly rounded reading (≤ 4e-17 of the column’s largest value).12000–0–81.11e−16
a_comp_cor_XX36000–0–0–
c_comp_cor_XX51,0000–0–0–
edge_comp_XXfix, the default: 10 columns negated, 0 by one unit in the 10th decimal (GLIBC-07, expected).244,8000–2,0000.7892,0000.789
t_comp_cor_XX36000–0–0–
w_comp_cor_XX71,4000–0–0–
cosineXX81,6000–0–0–
csf12000–0–0–
csf_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 8.9e-17 of the column’s largest value).12000–0–443.55e−15
csf_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 7.1e-17 of the column’s largest value).12000–0–371.14e−13
csf_power212000–0–0–
csf_wm12000–0–0–
global_signal12000–0–0–
global_signal_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 1e-16 of the column’s largest value).12000–0–421.78e−15
global_signal_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 1.2e-17 of the column’s largest value).12000–0–513.55e−15
global_signal_power2fix, the default: PD-01’s correctly rounded reading (≤ 1.6e-16 of the column’s largest value).12000–0–145.82e−11
tcompcor12000–0–0–
white_matterfix, the default: PD-01’s correctly rounded reading (≤ 1.4e-16 of the column’s largest value).12000–0–535.68e−14
white_matter_derivative1fix, the default: PD-01’s correctly rounded reading (≤ 1.3e-14 of the column’s largest value).12000–0–1011.14e−13
white_matter_derivative1_power2fix, the default: PD-01’s correctly rounded reading (≤ 1e-14 of the column’s largest value).12000–0–1117.82e−13
white_matter_power2fix, the default: PD-01’s correctly rounded reading (≤ 3.7e-16 of the column’s largest value).12000–0–555.82e−11

Cells compared as text (the 10 decimals pandas and numpy write), the columns by name. ≠ fMRIPrep’s: the replica in reproduce with fMRIPrep 25.2.6’s releases against the run’s own file; the step: reproduce with the newest releases against fMRIPrep 25.2.6’s (the originals’ own change, no verdict); the default: the replica’s corrections against reproduce, both with the newest releases.

Every comparison, computed in float64 over every voxel of the outputs

Comparison (A − B), verdict and reasonOutputmax |Δ|Values that differRMS of Δmax |Δ| ÷ range1 − NCC
The replica against fMRIPrep's output
replica, reproduce − fMRIPrep's outputBit-identicalEvery mask fMRIPrep’s run wrote, voxel for voxel and header for header (the masks’ values above 0.99 kept, as fMRIPrep’s Binarize keeps them).every outputidentical: 0 of 176,128 values differ
replica, fix − fMRIPrep's outputBit-identicalIn fix, its default (the newest releases, the corrections), the replica gives the same masks: no correction reaches them on this run.every outputidentical: 0 of 176,128 values differ
The replica against itself: fix and reproduce
replica: fix − reproduceBit-identicalNo correction by default changes a mask here: fix and reproduce give the same bytes.every outputidentical: 0 of 176,128 values differ

Δ is A − B over every voxel of the masks’ files (float64 masks: the probabilities above 0.99 kept, as fMRIPrep’s Binarize writes them; uint8 for tCompCor’s and the crown). The confounds table is compared cell by cell as text in the table below. The records’ threshold: in reproduce, every array, file, table cell, header, warning, message and exit status bit-identical to the originals’ (or fMRIPrep’s own files).

Provenance of this example
  • Data: OpenNeuro ds003592 (Spreng et al.), sub-280, CC0-1.0
  • Inputs: fMRIPrep’s confounds workflow ds003592-sub-280-noreconall/bold_ses_1_task_rest_echo_1_wf (sha256 0f012050203d22e8…)
  • Runs: figures cache entry confounds/workflows, computed 2026-11-13T08:32:56+00:00 with larmorx 5fbdd0f07f6f; numpy 2.5.4 (OpenBLAS 0.3.34, LAPACK 3.12.1, OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6, nipype 1.12.0, niworkflows 1.15.4, nitime 0.12.1, nibabel 5.4.2 (oracles/python-sdcflows-2.17), fMRIPrep 25.2.7 from its tag; fMRIPrep 25.2.6 in its image (niworkflows 1.15.2, nipype 1.10, numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3): the runs’ own files; every command, its environment, threads and exit status are in its RUN_INFO.json
  • Workflow: ds003592-sub-280-noreconall/work/fmriprep_25_2_wf/sub_280_ses_1_wf/bold_ses_1_task_rest_echo_1_wf/bold_confounds_wf

Every number above is in confounds.json, exported by python -m larmorx_validation evidence confounds.

The masks’ Gaussian resampling

fMRIPrep resamples the anatomical tissue maps onto the BOLD grid with ANTs’ antsApplyTransforms -n Gaussian before it thresholds them into the aCompCor masks. The Gaussian kernel’s error function goes through the C library’s exp and log in fMRIPrep’s ANTs, and through correctly rounded ones in LARMORX’s replica of ANTs. So the resampled probabilities differ in their last bits, and the example traces the cause: ANTs 2.6.5 run with correctly rounded maths gives the replica’s bytes, and run as built gives fMRIPrep’s. No voxel crosses the masks’ thresholds (0.5 and 0.99), so the masks aCompCor reads are fMRIPrep’s.

Worked example

The aCompCor masks' Gaussian resampling, and why its last bits differ

What this shows: The replica gives the bytes of ANTs 2.6.5’s antsApplyTransforms when its exp and log are correctly rounded. Against fMRIPrep’s own file 99 voxels differ in their last bits: fMRIPrep’s ANTs computes the Gaussian kernel’s error function with glibc’s exp and log, and ANTs as built here gives fMRIPrep’s bytes. No voxel crosses the masks’ threshold, so the masks the confounds use are fMRIPrep’s.

fMRIPrep resamples the T1w’s CSF, WM and CSF + WM probability maps onto the BOLD reference with antsApplyTransforms’ Gaussian interpolation (its acc_msk_tfm node), then keeps the brain (0.5) and binarizes (0.99). Its three items on OpenNeuro ds000005 (Tom et al., 2007), snapshot 00001 sub-01: fMRIPrep’s files, ANTs 2.6.5 as built and with correctly rounded maths, fMRIPrep’s own ANTs run again in its image, and the replica’s ANTs port as the workflow runs it.

Data
OpenNeuro ds000005 (Tom et al., 2007), snapshot 00001, sub-01 (PDDL-1.0); shown inside fMRIPrep’s BOLD mask, dilated by three voxels
Node
fMRIPrep 25.2.6, bold_task_mixedgamblestask_run_01_wf/bold_confounds_wf/acc_msk_tfm (three items)
Command
antsApplyTransforms --default-value 0 --float 0 --input /out/sub-01/anat/sub-01_label-CSF_probseg.nii.gz --interpolation Gaussian --output sub-01_label-CSF_probseg_trans.nii.gz --reference-image /out/sub-01/func/sub-01_task-mixedgamblestask_run-01_desc-brain_mask.nii.gz --transform [ /out/sub-01/func/sub-01_task-mixedgamblestask_run-01_from-boldref_to-T1w_mode-image_desc-coreg_xfm.txt, 1 ] (the first item; /out is the run’s output folder)
Programs
ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0, one thread, as built and with CORE-MATH preloaded; fMRIPrep 25.2.6’s image’s antsApplyTransforms; the replica at commit 5fbdd0f07f6f
Grid
64 × 64 × 34 voxels of 3.12 × 3.12 × 4 mm; shown: 57 × 59 × 34 around the brain
Inputds000005 sub-01 BOLD referencethe grid the masks are resampled onto
OriginalANTs antsApplyTransforms 2.6.51 thread · CORE-MATH preloaded (correctly rounded exp and log)
fMRIPrep's outputfMRIPrep's outputfMRIPrep 25.2.6's own files: its acc_msk_tfm node (its ANTs: glibc's exp and log)
Replicareplicalarmorx, Apache-2.0 · 8 threads, reproduce · against fMRIPrep's output
the original against itself: correctly rounded maths and glibc'sANTs antsApplyTransforms 2.6.5, correctly rounded maths − fMRIPrep's outputscale ±2.22e−16

Bit-identical139,264 of 139,264 voxels equal

the replica against the original: correctly rounded mathsreplica − ANTs antsApplyTransforms 2.6.5, 1 thread, correctly rounded maths
the replica against fMRIPrep's outputreplica, reproduce − fMRIPrep's outputscale ±2.22e−16

Axial slice 26 of 34; the crosshair where the replica and fMRIPrep's file differ most. The interactive viewer needs JavaScript; the metrics below are complete without it.

Every comparison, computed in float64 over every voxel of the outputs

Comparison (A − B), verdict and reasonOutputmax |Δ|Values that differRMS of Δmax |Δ| ÷ range1 − NCC
The original against itself: the yardstick
ANTs antsApplyTransforms 2.6.5, correctly rounded maths − fMRIPrep's outputreferenceThe same ANTs program with correctly rounded exp and log: where vnl’s erf, under the Gaussian kernel, reaches glibc’s last bits.CSF probability in BOLD space2.22e−1676 of 139,264 (0.0546 %)1.83e−182.22e−165.69e−35
WM probability in BOLD space2.22e−1610 of 139,264 (0.00718 %)8.53e−192.22e−164.95e−35
CSF + WM probability in BOLD space2.22e−1613 of 139,264 (0.00933 %)9.18e−192.22e−164.81e−35
ANTs antsApplyTransforms 2.6.5 as built (glibc's maths) − fMRIPrep's outputreferenceANTs 2.6.5 as the repository builds it, with glibc’s maths, gives fMRIPrep’s bytes: fMRIPrep’s ANTs computes the same on this call.every outputidentical: 0 of 139,264 values differ
fMRIPrep's image's ANTs, run again − fMRIPrep's outputreferencefMRIPrep’s own antsApplyTransforms, run again in its image, gives its file’s bytes: the node is deterministic.every outputidentical: 0 of 139,264 values differ
The replica against the original
replica − ANTs antsApplyTransforms 2.6.5, 1 thread, correctly rounded mathsBit-identicalANTs 2.6.5’s bytes when its exp and log are correctly rounded.every outputidentical: 0 of 139,264 values differ
The replica against fMRIPrep's output
replica, reproduce − fMRIPrep's outputIdentical with correctly rounded maths99 voxels differ in their last bits, where vnl’s erf goes through glibc’s exp and log in fMRIPrep’s ANTs and through correctly rounded ones in LARMORX’s replica of ANTs (LARMORX’s rule of correctly rounded maths, in fix and reproduce): ANTs 2.6.5 with CORE-MATH preloaded gives the replica’s bytes, as built fMRIPrep’s. No voxel crosses ApplyMask’s 0.5 or Binarize’s 0.99: aCompCor reads the same masks.CSF probability in BOLD space2.22e−1676 of 139,264 (0.0546 %)1.83e−182.22e−165.69e−35
WM probability in BOLD space2.22e−1610 of 139,264 (0.00718 %)8.53e−192.22e−164.95e−35
CSF + WM probability in BOLD space2.22e−1613 of 139,264 (0.00933 %)9.18e−192.22e−164.81e−35
The replica against itself: fix and reproduce
replica: fix − reproduceBit-identicalfix and reproduce compute the resampling with correctly rounded maths.every outputidentical: 0 of 139,264 values differ

Δ is A − B over every voxel of the files (float64 probabilities). The records’ threshold: in reproduce, every array, file, table cell, header, warning, message and exit status bit-identical to the originals’ (or fMRIPrep’s own files).

The three items: the replica (reproduce) against fMRIPrep’s files

MapVoxels above 0Voxels that differlargest |Δ|Crossing 0.99Crossing 0.5= ANTs with CORE-MATH
CSF probability in BOLD space23,600762.22e−1600yes
WM probability in BOLD space3,427102.22e−1600yes
CSF + WM probability in BOLD space3,843132.22e−1600yes

The masks aCompCor reads keep the values above 0.99 inside the brain (0.5): no voxel crosses either threshold, so the components are computed from the same voxels. The other shown runs’ items give the same picture (the page’s table of the Gaussian resampling).

Provenance of this example
  • Data: OpenNeuro ds000005 (Tom et al., 2007), snapshot 00001, sub-01, PDDL-1.0
  • Inputs: fMRIPrep’s acc_msk_tfm item 0 of ds000005-sub-01-noreconall (sha256 3319f623fc1bd816…); fMRIPrep’s acc_msk_tfm item 1 of ds000005-sub-01-noreconall (sha256 67184e02fd8d209b…); fMRIPrep’s acc_msk_tfm item 2 of ds000005-sub-01-noreconall (sha256 9dd023ced221a77b…)
  • Runs: figures cache entry confounds/gaussian, computed 2026-11-13T08:10:44+00:00 with larmorx d1d1228d38e0; ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0; fMRIPrep 25.2.6’s image (its ANTs); every command, its environment, threads and exit status are in its RUN_INFO.json
  • LARMORX’s runs: confounds/workflows

Every number above is in confounds.json, exported by python -m larmorx_validation evidence confounds.

The aCompCor masks’ Gaussian resampling on the three shown runs: the chain of causes

ItemVoxels ≠ fMRIPrep'sANTs 2.6.5 as built = fMRIPrep'sfMRIPrep's ANTs again = its filereplica = ANTs with correctly rounded mathsThreshold crossings
ds000005: CSF probability in BOLD space76yesyesyes0
ds000005: WM probability in BOLD space10yesyesyes0
ds000005: CSF + WM probability in BOLD space13yesyesyes0
ds000256: CSF probability in BOLD space44yesyesyes0
ds000256: WM probability in BOLD space8yesyesyes0
ds000256: CSF + WM probability in BOLD space8yesyesyes0
ds004958: CSF probability in BOLD space327yesyesyes0
ds004958: WM probability in BOLD space51yesyesyes0
ds004958: CSF + WM probability in BOLD space66yesyesyes0

The cache entry confounds/gaussian: each acc_msk_tfm item’s command (its command.txt and inputs) run by ANTs 2.6.5 (the repository’s GCC 14.3 build) at one thread, as built and with CORE-MATH’s correctly rounded exp and log preloaded, and by fMRIPrep 25.2.6’s own antsApplyTransforms in its image; the replica’s file from the workflow’s reproduce run. Identical with correctly rounded maths: the replica gives ANTs’ bytes when ANTs’ maths are correctly rounded, and ANTs as built gives fMRIPrep’s.

Corrections by default

Every defect the replica found in the originals was decided by the register’s rules (A: corrected by default; B: refused with a clear error; C: kept and documented; D: measured first). upstream_defects="reproduce" (on the command line --upstream-defects reproduce from the next release) gives the original’s behaviour, its errors and warnings included.

  • 49 entries were registered: PIPE-41 to PIPE-83 in nipype, niworkflows and fMRIPrep, PD-01 to PD-03 in pandas, NP-09 and NP-10 in numpy, SCI-41 in SciPy.
  • 29 are corrected by default (two undefined conversions clamped) and 12 refused with a clear error, 41 with the switch; among them every confounds JSON’s missing tissue-signal entries (PIPE-41) and nipype’s file names with a blank.
  • GLIBC-07, the C library’s cosine: in fix the cosine regressors take the correctly rounded cos, which turns the sign of some CompCor components (the multi-echo example above).

The originals’ defects found while porting (PIPE-41 to PIPE-83, PD-01 to PD-03, NP-09, NP-10, SCI-41) and GLIBC-07’s cosine

EntryRuleWhat the original does (the findings' words)the replica in fix, its defaultSwitch
PIPE-41rule Amerge_confound_metadata.inputs.in3 is set to the tissue signals’ metadata ({“Method”: “Mean”} for global_signal, csf, white_matter, csf_wm, tcompcor) and then connected to the crown’s metadata, which replaces it: the confounds’ JSON never describes those five columns (all 36 files of fMRIPrep’s runs).–yes
PIPE-42rule A, with larmorprepx’s reportsmerge_compcor_metadata = Merge(2) with the crown wired to in3: the CompCor variance reportlet never shows crownCompCor.––
PIPE-43class b, never reproducedThe expansion’s column order changes between fMRIPrep processes–yes
PIPE-44rule Aa mask that gives no component (an empty mask with ‘all’) ends the loop over the masks (break): the later masks are skipped, and with no component at all failure_mode=‘NaN’ stops with ValueError: need at least one array to concatenatethe loop goes on with the next mask; no component and empty metadata when none is foundyes
PIPE-45rule Aonly voxels whose float sum over time is NaN are zeroed: a voxel holding an infinity reaches the filter and the SVD, which fails (every component NaN, or ValueError), while a finite voxel whose float32 sum overflows both ways is zeroedexactly the voxels that hold a non-finite value are zeroedyes
PIPE-46rule A, after measuring how it is reachedthe voxel-wise standardisation runs under warnings.filterwarnings(“error”) whatever DVARS was asked for, so a voxel whose predicted SD is 0 stops the whole computation (RuntimeWarning: divide by zero encountered in divide, or invalid value for 0/0) and all three series are lost.–yes
PIPE-47rule D, measured, then Aan AR(1) estimate above 1 (the float32 FFT’s rounding; the exact Yule-Walker estimate of the biased autocorrelation is below 1) makes the predicted SD NaN and every standardised and voxel-wise value NaN, silently.–yes
PIPE-48rule C, kept, documented; no switchniworkflows’ RobustACompCor/RobustTCompCor (fMRIPrep’s three CompCor nodes) retry a failed decomposition (a workaround for a random MKL failure): the loop catches LinAlgError only and sleeps randint(10 f - 6, 10 f) seconds before each of 10 retries.––
PIPE-49rule C, no switchthe crown’s metadata are not filtered (FilterDropped runs on the tCompCor and aCompCor metadata only), so the JSON lists the crown’s components not retained as dropped_.––
PIPE-50rule Aa voxel whose demeaned series is all zeros (an all-zero voxel, or a constant one whose regress_poly(0) residual rounds to exactly 0; nipype’s function default remove_zerovariance=False keeps it) has 0 · a = 0: with SciPy 1.15 NaN (every standardised and voxel-wise value NaN, silently), with SciPy 1.18.1 LinAlgError–yes
PIPE-51rule Athe maps of a series stored as integers (tSNR, mean, SD, the detrended series) are written in that integer type, quantized by nibabel’s scaling (256 levels for uint8, 65,536 for int16): nipype’s if data.dtype.kind == “i”: header.set_data_dtype(np.float32) never fires, as get_fdata(dtype=np.float32) made the data float32 by then. The replica writes float32 (the check’s intent: the default’s files equal nipype’s code with…–yes
PIPE-52rule Aregress_poly returns X[:, :-1] as the non-constant regressors (the pre-filter file): the constant and every polynomial but the highestthe polynomials of degree 1 to dyes
PIPE-53rule Ban axis other than the last takes that axis’ length as the series’ length but reshapes in memory order: the series regressed are runs of consecutive values across voxels and volumesValueErroryes
PIPE-54rule B (A for the float count)components_criterion 0 ends the loop at the first mask; a negative one other than -1 slices columns off the end; a count given as a float (6.0) fails with TypeError when an SVD fails0 and negative criteria refused (ValueError naming PIPE-54); a float count by its integer partyes
PIPE-55rule Aan empty last mask with a failure_mode other than ‘error’ returns an empty basis: the pre-filter file loses the basisthe basis keptyes
PIPE-56rule Aa header TR in microseconds (xyzt_units usec) is taken as seconds: millions of cosine columnsmicroseconds convertedyes
PIPE-57rule Ba filter_type other than ‘cosine’, ‘polynomial’ and False filters nothing, not even the mean, and a float32 series is then decomposed in single precisionValueError (reproduce on a float32 series: refused, sgesdd not ported)yes
PIPE-58rule Bmask_names shorter than the masks silently drops the masks without a name (zip)ValueErroryes
PIPE-59rule Aan SVD that fails with failure_mode=‘NaN’ gives T NaN singular values whatever min(T, N), and with ‘all’ one NaN component while all T values are marked retainedthe decomposition’s size min(T, N)yes
PIPE-60rule A; nipy rotation_vec2mat, through nipype’s public normalize_mc_paramsan integer rotation vector’s squares are computed in its own type and wrap around silently (int8 from a component of 12–yes
PIPE-61rule A; niworkflows AddTSVHeadernp.loadtxt squeezes a one-row table to a vector (which savetxt writes as one column) and a one-value table to a scalar (savetxt’s ValueError–yes
PIPE-62rule B; AddTSVHeadera header with another number of names than the table’s columns is written as given: the default raises ValueError, reproduce writes the file (notice).–yes
PIPE-63rule A; fMRIPrep GatherConfoundsa shorter table is aligned with the last rows (_adjust_indices, “missing values at the beginning”), but pd.concat(axis=1) joins the row labels with sort=False (the earlier tables’ labels, then the new ones), so when an earlier table is the shorter one (no signals, a DVARS table of T - 1 rows first, then a table of T rows), the first volume’s row goes to the end of the file and every other row sits one volume early (…–yes
PIPE-64rule Athe shorthands (wm, gsr, rps, fd, acc, tcc, dv, dvall, nss, spikes, others) are replaced as text, anywhere and again in every group–yes
PIPE-65rule B for ignored text, A for the restparse_expression reads the operators with regular expressions over the whole term–yes
PIPE-66rule Aa variable reached by two terms is repeated–yes
PIPE-67rule Athe lags compound–yes
PIPE-68rule Aminimum_contiguous’s post_final = T + 1 counts the last unflagged run one volume longer (T = 10, a spike at 7, minimum 3: volumes 8 and 9 kept; minimum 4 flags them; no spike, minimum 11: nothing flagged). The replica–yes
PIPE-69rule Ba criterion other than ‘<’ and ‘>’ is skipped; when every one is, TypeError: reduce() of empty iterable with no initial value. The replica–yes
PIPE-70rule ANormalizeMotionParams on a one-row file–yes
PIPE-71rule A; nitransforms loada file of one transform is loaded as one Affine (len(xfm) == 1: xfm = xfm[0]), whose 4 × 4 matrix FSLLinearTransformArray.from_ras iterates as four transforms (its rows)–yes
PIPE-72rule B; fMRIPrep FSLMotionParamsa reference whose centre of gravity is undefined (25.2.7: a constant image, every weight value - min zero; 25.2.6: a sum of zero, e.g. +1/-1 voxels; a NaN or infinite voxel in either) gives NaN or infinite translations in every row with numpy’s RuntimeWarning only, which FramewiseDisplacement turns into n/a everywhere (no FD spike).–yes
PIPE-73rule A; nitransforms ITKLinearTransformevery ITK text transform is read with genfromtxt(dtype=“f4”), the double ones too, so their parameters are rounded to float32.–yes
PIPE-74the rule of the corrections by default for undefined conversions_binary_union’s int64 cast of NaN, ±inf and |x| >= 2^63 (and uint64 from 2^63, through float64) is undefined in C, INT64_MIN on x86-64 (outside the union).–yes
PIPE-75rule B_binary_union broadcasts masks of different shapes silently; default ValueError (also for shapes numpy cannot broadcast), reproduce numpy’s broadcasting or its ValueError.–yes
PIPE-76the rule of the corrections by default; rule A for the integer wrapacompcor_masks(is_aseg=True)'s uint8 cast of the GM map: integers wrap (-1 is 255, inside; 256 is 0, outside), floats out of int32’s range or NaN are undefined (x86: 0), in-range floats keep the truncated int32’s low byte (300.0 is 44); default clamped to [0, 255] first (GM = the voxels >= 1), reproduce numpy’s x86-64 cast; the notice counts the voxels the two put differently.–yes
PIPE-77rule BBinaryDilation/image_binary_dilation with a negative radius (traits.Int takes it) dilates with scikit-image’s arbitrary footprint (-1: the dilated mask empty); default ValueError, reproduce niworkflows’ (with the fixed ball).–yes
PIPE-78rule BSignalExtraction writes a class label holding a tab, \n or \r as it is (the table breaks); default ValueError, reproduce the file with a notice.–yes
PIPE-79rule D, open; fMRIPrep init_bold_confs_wf / aCompCorMasksfMRIPrep passes is_aseg=freesurfer (run_reconall, its default), but t1w_tpms are always FAST’s partial-volume maps (sMRIPrep’s fast2bids), so with FreeSurfer the aseg path smooths partial volumes again (mask2vf) and its GM is only the voxels whose GM fraction is exactly 1 (the uint8 truncation), dilated by ball(3).––
PIPE-80rule Anipype’s command lines with a blank in a file name–yes
PIPE-81corrected; reproduce keeps itcompound inputs get the previous input’s type–yes
PIPE-82corrected; reproduce keeps ittexts not read as their traits read them–yes
PIPE-83kept, rule Cthe command line’s limits––
PD-01rule Apandas’ float parser is not correctly rounded–yes
PD-02rule Aujson’s 10-decimal formatting–yes
PD-03rule AInteger columns with missing values–yes
NP-09numpy 2.5.4 on Zen 4/5, a crash: never reproducedwith GEMM_Q = 512 the Haswell kernel’s 12-column paths (24 or more columns in one kernel call) overflow their stack buffer (BUFFER1, L_BUFFER_SIZE = 256 · 8 · 12 + 4096 bytes: 298 steps of 12) on depth blocks above 298 steps––
NP-10numpy 2.3.5 and 2.2.6, fixed in 2.5.4; rule B, a gap of reproducenumpy’s svd (so pinv and nipype’s fallback_svd) and lstsq hand a matrix holding ±inf to LAPACK, whose scaling turns it into NaN: of 28 svd probe cases (probe_svd_inf.py) 7 hang (an infinite loop), 9 return infinite or NaN values without an error (most after three DLASCL “parameter number 5 had an illegal value” messages on standard output), 12 raise LinAlgError; of 40 lstsq cases (probe_lstsq_inf.py) 6 hang and 34 r…––
SCI-41rule B; SciPy linalg.solveSciPy 1.15 solves a diagonal system (every 1 × 1 one) by dividing, so a singular one gives inf or NaN with RuntimeWarnings only (its general path raises LinAlgError–yes
GLIBC-07expectedThe correctly rounded cosine on fMRIPrep’s real CompCor files–yes

Each decided by rules A to D (A: corrected by default; B: a clear error; C: kept and documented; D: measured first), with upstream_defects='reproduce' (LARMORX_UPSTREAM_DEFECTS=reproduce) giving the original’s behaviour where the replica has a switch (larmorx_core::defects, the Switch column); crashes (NP-09) and nondeterminism (PIPE-43’s column order) are never reproduced. Each entry links the findings’ section that describes it; the register holds its rows.

Speed

The benchmark (report) runs fMRIPrep’s nodes in-process on their own inputs of three fMRIPrep runs, and the replica on the same inputs, every result checked byte for byte.

  • The 26 Python nodes run 1.1 to 1.4 times as fast as fMRIPrep’s at one thread, and 1.5 to 1.6 times at eight.
  • numpy’s SVD and least squares, ported in Rust, are still slower than numpy’s own (their kernels without FMA dispatch): a speed item for later.
Speed, the replica against the originals: fMRIPrep 25.2.7, nipype 1.12.0, niworkflows 1.15.4, numpy, SciPy and pandas

Seconds per call (the best of three runs) on a log scale; the factor is the original’s time divided by the replica’s, both on one thread.

  • the originals, 1 thread (in-process)
  • replica, 1 thread
  • replica, 8 threads
  1. the whole workflow (bold_confounds), ds000005replica, 1 thread 5.86 sreplica, 8 threads 4.31 s
  2. the whole workflow (bold_confounds), ds004958replica, 1 thread 66.3 sreplica, 8 threads 49.7 s
  3. the whole workflow (bold_confounds), ds005454replica, 1 thread 96.5 sreplica, 8 threads 68.5 s
  4. dvars, ds000005the originals, 1 thread (in-process) 2.49 sreplica, 1 thread 1.18 sreplica, 8 threads 0.639 s2.1×
  5. motion_params, ds000005the originals, 1 thread (in-process) 0.0413 sreplica, 1 thread 0.028 sreplica, 8 threads 0.0258 s1.5×
  6. acc_masks, ds000005the originals, 1 thread (in-process) 0.651 sreplica, 1 thread 0.561 sreplica, 8 threads 0.148 s1.2×
  7. acompcor, ds000005the originals, 1 thread (in-process) 0.917 sreplica, 1 thread 0.631 sreplica, 8 threads 0.621 s1.5×
  8. crowncompcor, ds000005the originals, 1 thread (in-process) 1.22 sreplica, 1 thread 1.69 sreplica, 8 threads 1.7 s0.72×
  9. tcompcor, ds000005the originals, 1 thread (in-process) 1.04 sreplica, 1 thread 0.721 sreplica, 8 threads 0.754 s1.4×
  10. signals, ds000005the originals, 1 thread (in-process) 0.73 sreplica, 1 thread 0.401 sreplica, 8 threads 0.435 s1.8×
  11. dvars, ds004958the originals, 1 thread (in-process) 22.3 sreplica, 1 thread 22.6 sreplica, 8 threads 9.76 s0.99×
  12. motion_params, ds004958the originals, 1 thread (in-process) 0.124 sreplica, 1 thread 0.0741 sreplica, 8 threads 0.0764 s1.7×
  13. acc_masks, ds004958the originals, 1 thread (in-process) 1.44 sreplica, 1 thread 1.32 sreplica, 8 threads 0.299 s1.1×
  14. acompcor, ds004958the originals, 1 thread (in-process) 12.8 sreplica, 1 thread 8.91 sreplica, 8 threads 8.52 s1.4×
  15. crowncompcor, ds004958the originals, 1 thread (in-process) 16.4 sreplica, 1 thread 21 sreplica, 8 threads 16 s0.78×
  16. tcompcor, ds004958the originals, 1 thread (in-process) 14.2 sreplica, 1 thread 9.98 sreplica, 8 threads 9.33 s1.4×
  17. signals, ds004958the originals, 1 thread (in-process) 9.34 sreplica, 1 thread 5.74 sreplica, 8 threads 5.51 s1.6×
  18. dvars, ds005454the originals, 1 thread (in-process) 38.1 sreplica, 1 thread 28.9 sreplica, 8 threads 13.6 s1.3×
  19. motion_params, ds005454the originals, 1 thread (in-process) 0.107 sreplica, 1 thread 0.0755 sreplica, 8 threads 0.0744 s1.4×
  20. acc_masks, ds005454the originals, 1 thread (in-process) 1.71 sreplica, 1 thread 1.56 sreplica, 8 threads 0.477 s1.1×
  21. acompcor, ds005454the originals, 1 thread (in-process) 10 sreplica, 1 thread 11.7 sreplica, 8 threads 11.4 s0.86×
  22. crowncompcor, ds005454the originals, 1 thread (in-process) 12.4 sreplica, 1 thread 17.3 sreplica, 8 threads 16.7 s0.72×
  23. tcompcor, ds005454the originals, 1 thread (in-process) 21.1 sreplica, 1 thread 13.1 sreplica, 8 threads 12.2 s1.6×
  24. signals, ds005454the originals, 1 thread (in-process) 11.9 sreplica, 1 thread 8.06 sreplica, 8 threads 7.59 s1.5×
  25. numpy svd 280 x 60968the originals, 1 thread (in-process) 3.46 sreplica, 1 thread 11.7 sreplica, 8 threads 10.5 s0.3×
  26. numpy svd 597 x 30453the originals, 1 thread (in-process) 3.5 sreplica, 1 thread 11 sreplica, 8 threads 8.48 s0.32×
  27. numpy lstsq 600 x 7, 60968 voxelsthe originals, 1 thread (in-process) 0.573 sreplica, 1 thread 2.4 sreplica, 8 threads 1.98 s0.24×
  28. numpy lstsq 280 x 8, 60968 voxelsthe originals, 1 thread (in-process) 0.243 sreplica, 1 thread 1.02 sreplica, 8 threads 0.989 s0.24×
  29. numpy lstsq 600 x 25, 30453 voxelsthe originals, 1 thread (in-process) 0.563 sreplica, 1 thread 2.35 sreplica, 8 threads 2.3 s0.24×
  30. numpy lstsq 600 x 26, 60968 voxelsthe originals, 1 thread (in-process) 1.13 sreplica, 1 thread 5.15 sreplica, 8 threads 5.05 s0.22×
  31. SciPy gesvd 280 x 60968the originals, 1 thread (in-process) 3.59 sreplica, 1 thread 11.3 sreplica, 8 threads 11.2 s0.32×
  32. SciPy gesvd 597 x 30453the originals, 1 thread (in-process) 3.4 sreplica, 1 thread 10.3 sreplica, 8 threads 8.12 s0.33×
0.01 s0.1 s1 s10 s100 s

From the benchmark report docs/benchmarks/confounds.json (32 logical CPUs, the newest environment, numpy’s OpenBLAS at one thread as fMRIPrep’s nodes; a machine shared with other work; every result identical: each node’s files byte for byte in reproduce). The originals: nipype’s, niworkflows’ and fMRIPrep’s interfaces in-process on fMRIPrep’s own node inputs; the linear algebra: numpy’s and SciPy’s own calls. The whole workflow has no original in-process; fMRIPrep’s runs recorded ds000005 18.3 s, ds004958 191.2 s, ds005454 212.0 s for its nodes (fMRIPrep 25.2.6 on another machine, the old laptop). The linear algebra’s routines are slower than numpy’s and SciPy’s (their level-1 and level-2 kernels without FMA dispatch, one thread): a speed item of the handoff (docs/benchmarks/confounds.md, “Where the time goes”).

Memory

The memory rule allows LARMORX at most 10 % above the original’s peak plus 8 MiB for the same call; here the replica needs at most 0.96 of the originals’ peak.

Peak memory, the replica against the originals (MiB, the memory rule’s calls)

Call (fMRIPrep's node)The originalreplica, reproduce, 1 threadreplica, fix, 1 threadreplica, fix, 8 threadsreplica ÷ the original
acompcor, ds0000052361771771770.752
tcompcor, ds0000053683433433530.958
dvars, ds0000054241941941940.457
signals, ds0000055071711701710.337
acompcor, ds0002281931301301310.676
tcompcor, ds0002283032752752820.928

Each call in a process of its own (validation/investigations/confounds/memory_call.py, the calls of tests/parity/test_memory_peak.py: fMRIPrep’s acompcor, tcompcor, dvars and signals nodes with their own inputs), its peak resident memory from /usr/bin/time -v, in the newest environment. The rule: at most 10 % above the original’s peak plus 8 MiB: 6 of the 6 calls meet it.

Random testing

Random testing runs random valid inputs and option combinations through the originals and the replica and compares every output (how random testing works). A difference is shrunk to the smallest input and fewest options that still show it, then fixed and kept as a permanent case, registered as a defect of the original, or reported. The replica’s run of 2026-11-12 (30 minutes) and two checks of the final build compared 514,694 random calls.

Random testing, the replica against the originals: fMRIPrep 25.2.7, nipype 1.12.0, niworkflows 1.15.4, numpy, SciPy and pandas (the run of 2026-11-12 and the checks of the final build)

2026-11-12-confounds-trial2026-11-12-confounds-check2026-11-12-confounds-check-noavx512
Random cases, each compared with the original334,124140,00340,567
confounds-linalg111,478 cases: 111,478 agree; 76 options drawn46,698 cases: 46,698 agree; 76 options drawn–
confounds-nipype111,355 cases: 110,988 agree, 28 differ, 339 notice; 98 options drawn46,658 cases: 46,658 agree; 98 options drawn–
confounds-fmriprep111,291 cases: 109,610 agree, 189 notice, 1,492 skipped; 102 options drawn46,647 cases: 46,002 agree, 645 skipped; 103 options drawn40,567 cases: 40,567 agree; 102 options drawn
length (minutes)3010.25.4
seed, the replica buildconfounds-trial, v0.1.0rc1-218-g7ade9fbdd1bdconfounds-check, v0.1.0rc1-221-g9892deaf0f24confounds-check-noavx512, v0.1.0rc1-221-g9892deaf0f24

Differential random testing (docs/validation/difftest.md): one tool per suite (the linear algebra; nipype’s DVARS, CompCor, TSNR, non-steady-state detector and framewise displacement; fMRIPrep’s and niworkflows’ table, model, motion, mask and signal steps), each case a random call of the original in-process (numpy, SciPy, nitime, nipype 1.12.0, niworkflows, pandas, fMRIPrep 25.2.7’s and 25.2.6’s interfaces) against the replica in reproduce bit for bit, then its default checked by the rule of the corrections by default; 3 GiB a case, one thread. notice: a default that named a correction where the rule expected none (triaged below). skipped: ExpandModel’s powers above 2 while numpy’s pow is SVML’s (AVX-512); the third run turns those kernels off and compares them.

The replica’s differences from the originals in the runs of 2026-11-12, triaged

StatusToolWhat it wasRegister
fixedvalidation/difftest/cases/confounds-nipype/tcompcor-refused-degree-text.jsonconfounds-nipypeBefore the trial (probe 148): CompCor’s refused inputs raised the replica’s own messages (‘regress_poly_degree must be at least 1, …’); every one now raises traits’ TraitError text (as ValueError) or nipype’s OSError of two exclusive inputs and its ValueError of a missing mask_files, checked against nipype for the three interfaces (relay 3a-iii, 2026-11-12).–
harnessconfounds-nipypeTrial 2026-11-12-confounds-trial: 20 cases with two refused inputs at once (regress_poly_degree 0 beside a refused criterion or mask_index; findings 2721, 4721, 22868, 70178, …): nipype names the first refused input its caller set, an order a function with keyword parameters does not know (a finding’s recipe, written with its keys sorted, changes nipype’s choice: 10 of the 20 agree on replay). The descriptor draws one refused input at a time since (relay 3a-iii).–
fixedvalidation/difftest/cases/confounds-nipype/compcor-no-volume-left.jsonconfounds-nipypeTrial 2026-11-12-confounds-trial: 7 cases. (1) No volume left (ignore_initial_volumes at least the series’ length; findings 3005, 31312): nipype’s pre-filters reshape a mask’s rows to (-1, 0), numpy’s ‘cannot reshape array of size 0 into shape (0)’, unless the mask is empty and failure_mode is not ‘error’, in nipype’s mask order (its loop stops at a mask that gives no component); the replica skipped the reshape. (2) A mask of another shape after one that gives no component (find…–
fixedvalidation/difftest/cases/confounds-nipype/regress-poly-fortran-rows.jsonconfounds-nipypeBefore the trial (probe3 485): regress_poly of Fortran-ordered rows (a 2-D array, or a nibabel-like array whose reshape is a view) with degree 0: numpy’s pinv(X).dot(data.T) takes gemv on a C-ordered data.T for the one row of pinv(X), whose sums run in another order; the replica summed as for C rows (one or two ulps). Fixed: regress_poly_layout; probe_regress_layout.py 264 of 264 (relay 3a-iii).–
fixedvalidation/difftest/cases/confounds-nipype/cosine-filter-glibc07-exact.jsonconfounds-nipypeTrial 2026-11-12-confounds-trial: 128 cosine_filter cases whose glibc and correctly rounded cosines differ only before the product with sqrt(2 / T) rounds them to one value: GLIBC-07 named with the basis unchanged. The witness now compares the basis values (relay 3a-iii); every one agrees on replay.–
fixedvalidation/difftest/cases/confounds-nipype/dvars-constant-series-notices.jsonconfounds-nipypeTrial 2026-11-12-confounds-trial: 206 compute_dvars and ComputeDVARS cases of constant or all-zero series with remove_zerovariance=False (111 + 95): PIPE-50’s and PIPE-46’s corrections leave every output NaN, as nipype’s (SciPy 1.15), yet were named. fix now names PIPE-46, -47 and -50 only where its series differ from nipype’s (larmorx.confounds.dvars; SciPy 1.18’s LinAlgError and nipype’s RuntimeWarning count as different); every one agrees on replay (relay 3a-iii).–
fixedvalidation/difftest/cases/confounds-nipype/compcor-pipe44-later-masks-add-nothing.jsonconfounds-nipypeTrial 2026-11-12-confounds-trial: 5 ACompCor cases whose masks after the one that gives no component give none either: fix goes on with them (PIPE-44) to the same result, yet named it. Named now where a later mask adds components or changes the pre-filter’s basis (relay 3a-iii); every one agrees on replay.–
fixedvalidation/difftest/cases/confounds-nipype/cosine-filter-wide-basis-dbdsqr-tolerance.jsonconfounds-nipypeTrial 2026-11-12-confounds-trial, finding 54131: cosine_filter with a cut-off of 5 s at a TR of 3 s on 370 volumes (a cosine basis of 444 columns, more than the volumes): the replica’s lstsq differed from numpy 2.3.5’s LAPACK by 1 to 4 ulps in a cluster of near-equal singular values (141,010 of 179,080 residuals, at most 6e-14). Found (relay 3a-iv): the whole DBDSDC is one subproblem at DBDSQR’s real epsilon (2^-53; relay 3a-iii’s splits used numpy’s 2^-52), whose DLASD0 differs…–
fixedvalidation/difftest/cases/confounds-fmriprep/rename-acompcor-text-retained.jsonconfounds-fmriprepBefore the trial (probe 140): RenameACompCor (and FilterDropped) with a text ‘retained’ column: pandas’ KeyError prints the values’ Index with line breaks at width 80, the replica printed one line. Fixed: _index_repr follows pandas’ format_object_summary (both pandas releases); probe_index_repr.py 260 of 260 in pandas 3.0.6 and 2.2.3 (relay 3a-iii).–
fixedvalidation/difftest/cases/confounds-fmriprep/spikes-pipe67-after-filling.jsonconfounds-fmriprepTrial 2026-11-12-confounds-trial: 22 SpikeRegressors cases with several lags and minimum_contiguous: the filling of short runs made both lag rules flag the same volumes, yet PIPE-67 was named. Named now where the flagged volumes differ after the filling (larmorx.niworkflows.confounds); every one agrees on replay (relay 3a-iii).–
explainedconfounds-fmriprepTrial 2026-11-12-confounds-trial: 167 cases (155 ExpandModel, 12 fMRIPrep’s FramewiseDisplacement) and the probes’ SpikeRegressors without concatenate: PD-01 names the table read’s correction, whose values change, while the step’s output may not show it (the expansion writes the columns its formula takes, the displacement’s sums of differences round a value read one bit off to the same number, the thresholded flags do not move). The runner counts PD-01 as a condition notice …PD-01

validation/difftest/triage.toml (the confounds, 2026-11-12): each difference of the probes before the trial and of the trial, a the replica mistake fixed with a permanent case (10 in all, validation/difftest/cases/confounds-*/, run by the records), a harness mistake, or a defect of the original explained by the register.

Every case

Each case of the records, with what it tests, its command line, its verdict and the reason. Search, filter by category or verdict (or select a segment of the chart above), sort by a column; #case=<name> links to one.

88 cases

CaseCategoryWhat it testsVerdictChecks
confounds-fmriprep/tables-quick-e1the confounds table and its JSONpandas' text round trips (precise_xstrtod of pandas 3.0.6 and 2.2.3, ujson), fMRIPrep's FramewiseDisplacement, FilterDropped, RenameACompCor, GatherConfounds, niworkflows' AddTSVHeader, DictMerge, TSV2JSON, fMRIPrep's real nodes (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_tables.py --tier quick
Bit-identical

Every one of its 79 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

79/79
confounds-fmriprep/tables-quick-e2the confounds table and its JSONpandas' text round trips (precise_xstrtod of pandas 3.0.6 and 2.2.3, ujson), fMRIPrep's FramewiseDisplacement, FilterDropped, RenameACompCor, GatherConfounds, niworkflows' AddTSVHeader, DictMerge, TSV2JSON, fMRIPrep's real nodes (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_tables.py --tier quick
Bit-identical

Every one of its 79 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

79/79
confounds-fmriprep/tables-quick-e3the confounds table and its JSONpandas' text round trips (precise_xstrtod of pandas 3.0.6 and 2.2.3, ujson), fMRIPrep's FramewiseDisplacement, FilterDropped, RenameACompCor, GatherConfounds, niworkflows' AddTSVHeader, DictMerge, TSV2JSON, fMRIPrep's real nodes (quick tier, fMRIPrep 25.2.6's image: numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3)
command linepython -P validation/investigations/confounds/check_tables.py --tier quick
Bit-identical

Every one of its 83 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

83/83
confounds-fmriprep/model-quick-e1the motion model's columnsniworkflows' ExpandModel, parse_formula, SpikeRegressors, NormalizeMotionParams, fMRIPrep's real model_expansion and spike_regressors nodes (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_model.py --tier quick
Bit-identical

Every one of its 52 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

52/52
confounds-fmriprep/model-quick-e2the motion model's columnsniworkflows' ExpandModel, parse_formula, SpikeRegressors, NormalizeMotionParams, fMRIPrep's real model_expansion and spike_regressors nodes (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_model.py --tier quick
Bit-identical

Every one of its 52 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

52/52
confounds-fmriprep/model-quick-e3the motion model's columnsniworkflows' ExpandModel, parse_formula, SpikeRegressors, NormalizeMotionParams, fMRIPrep's real model_expansion and spike_regressors nodes (quick tier, fMRIPrep 25.2.6's image: numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3)
command linepython -P validation/investigations/confounds/check_model.py --tier quick
Bit-identical

Every one of its 52 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

52/52
confounds-fmriprep/motion-quick-e1the motion parameters and framewise displacementSciPy's Rotation, nitransforms' ITK and FSL linear transforms, fMRIPrep's FSLMotionParams (25.2.7 and 25.2.6) and FSLRMSDeviation, fMRIPrep's real nodes (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_motion.py --tier quick
Bit-identical

Every one of its 122 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

122/122
confounds-fmriprep/motion-quick-e2the motion parameters and framewise displacementSciPy's Rotation, nitransforms' ITK and FSL linear transforms, fMRIPrep's FSLMotionParams (25.2.7 and 25.2.6) and FSLRMSDeviation, fMRIPrep's real nodes (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_motion.py --tier quick
Bit-identical

Every one of its 122 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

122/122
confounds-fmriprep/motion-quick-e3the motion parameters and framewise displacementSciPy's Rotation, nitransforms' ITK and FSL linear transforms, fMRIPrep's FSLMotionParams (25.2.7 and 25.2.6) and FSLRMSDeviation, fMRIPrep's real nodes (quick tier, fMRIPrep 25.2.6's image: numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3)
command linepython -P validation/investigations/confounds/check_motion.py --tier quick
Bit-identical

Every one of its 123 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

123/123
confounds-fmriprep/masks-quick-e1the CompCor masksfMRIPrep's _binary_union, aCompCorMasks, niworkflows' BinaryDilation, BinarySubtraction and SignalExtraction, fMRIPrep's real mask and signals nodes (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_masks.py --tier quick
Bit-identical

Every one of its 42 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

42/42
confounds-fmriprep/masks-quick-e2the CompCor masksfMRIPrep's _binary_union, aCompCorMasks, niworkflows' BinaryDilation, BinarySubtraction and SignalExtraction, fMRIPrep's real mask and signals nodes (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_masks.py --tier quick
Bit-identical

Every one of its 42 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

42/42
confounds-fmriprep/masks-quick-e3the CompCor masksfMRIPrep's _binary_union, aCompCorMasks, niworkflows' BinaryDilation, BinarySubtraction and SignalExtraction, fMRIPrep's real mask and signals nodes (quick tier, fMRIPrep 25.2.6's image: numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3)
command linepython -P validation/investigations/confounds/check_masks.py --tier quick
Bit-identical

Every one of its 42 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

42/42
confounds-fmriprep/workflow-quick-e2the whole workflowinit_bold_confs_wf built by nipype for eight option sets against the replica's steps, and the 36 confounds workflows end to end: every node file, fMRIPrep's 36 confounds TSV files column by column and their JSON byte for byte (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_workflow.py --tier quick
Bit-identical

Every one of its 48 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

48/48
confounds-fmriprep/workflow-quick-e1the whole workflowinit_bold_confs_wf built by nipype for eight option sets against the replica's steps, and the 36 confounds workflows end to end: every node file, fMRIPrep's 36 confounds TSV files column by column and their JSON byte for byte (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_workflow.py --tier quick
Bit-identical

Every one of its 48 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

48/48
confounds-fmriprep/difftest/rename-acompcor-text-retainedrandom testingRenameACompCor with a 'retained' column of text: pandas' KeyError prints the values' Index with line breaks at width 80, the replica in one line. Fixed: _index_repr follows pandas' format_object_summary.Bit-identical

Every one of its 2 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A permanent case of random testing (a the replica mistake, fixed).

2/2
confounds-fmriprep/difftest/spikes-pipe67-after-fillingrandom testingSpikeRegressors with lags [1, 2] and minimum_contiguous 5 (the trial's notice verdicts): the filling of short runs made both lag rules flag the same volumes, yet PIPE-67 fired. Fixed: PIPE-67 is named where the flagged volumes differ after the filling.Bit-identical

Every one of its 2 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A permanent case of random testing (a the replica mistake, fixed).

2/2
confounds-nipype/dvars-quick-e1DVARSnumpy's complex64 product, nitime's crosscov and AR(1), SciPy's 1 x 1 solve, nipype's compute_dvars and ComputeDVARS, fMRIPrep's 36 real dvars nodes (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_dvars.py --tier quick
Bit-identical

Every one of its 20 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

20/20
confounds-nipype/dvars-quick-e2DVARSnumpy's complex64 product, nitime's crosscov and AR(1), SciPy's 1 x 1 solve, nipype's compute_dvars and ComputeDVARS, fMRIPrep's 36 real dvars nodes (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_dvars.py --tier quick
Bit-identical

Every one of its 20 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

20/20
confounds-nipype/dvars-quick-e3DVARSnumpy's complex64 product, nitime's crosscov and AR(1), SciPy's 1 x 1 solve, nipype's compute_dvars and ComputeDVARS, fMRIPrep's 36 real dvars nodes (quick tier, fMRIPrep 25.2.6's image: numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3)
command linepython -P validation/investigations/confounds/check_dvars.py --tier quick
Bit-identical

Every one of its 20 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

20/20
confounds-nipype/dvars-control-quick-e1DVARSthe negative control of check_dvars.py: the replica told the other library release must differ (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_dvars.py --control --sections cmul,crosscov,solve,ar,dvars,node --tier quick
Bit-identical

Every one of its 16 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

16/16
confounds-nipype/dvars-control-quick-e2DVARSthe negative control of check_dvars.py: the replica told the other library release must differ (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_dvars.py --control --sections cmul,crosscov,solve,ar,dvars,node --tier quick
Bit-identical

Every one of its 16 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

16/16
confounds-nipype/dvars-control-quick-e3DVARSthe negative control of check_dvars.py: the replica told the other library release must differ (quick tier, fMRIPrep 25.2.6's image: numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3)
command linepython -P validation/investigations/confounds/check_dvars.py --control --sections cmul,crosscov,solve,ar,dvars,node --tier quick
Bit-identical

Every one of its 16 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

16/16
confounds-nipype/compcor-quick-e1CompCornipype's cosine and Legendre filters, compute_noise_components, CompCor, ACompCor and TCompCor over their options, fMRIPrep's 108 real CompCor nodes (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_compcor.py --tier quick
Bit-identical

Every one of its 30 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

30/30
confounds-nipype/compcor-quick-e2CompCornipype's cosine and Legendre filters, compute_noise_components, CompCor, ACompCor and TCompCor over their options, fMRIPrep's 108 real CompCor nodes (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_compcor.py --tier quick
Bit-identical

Every one of its 30 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

30/30
confounds-nipype/compcor-quick-e3CompCornipype's cosine and Legendre filters, compute_noise_components, CompCor, ACompCor and TCompCor over their options, fMRIPrep's 108 real CompCor nodes (quick tier, fMRIPrep 25.2.6's image: numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3)
command linepython -P validation/investigations/confounds/check_compcor.py --tier quick
Bit-identical

Every one of its 30 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

30/30
confounds-nipype/compcor-control-quick-e1CompCorthe negative control of check_compcor.py: the replica told the other library release must differ (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_compcor.py --control --tier quick
Bit-identical

Every one of its 29 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

29/29
confounds-nipype/compcor-control-quick-e3CompCorthe negative control of check_compcor.py: the replica told the other library release must differ (quick tier, fMRIPrep 25.2.6's image: numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3)
command linepython -P validation/investigations/confounds/check_compcor.py --control --tier quick
Bit-identical

Every one of its 29 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

29/29
confounds-nipype/misc-quick-e1nipype's other interfacesnipype's TSNR, NonSteadyStateDetector, FramewiseDisplacement (every source, NIPY included) and niworkflows' RobustACompCor/RobustTCompCor (PIPE-48) (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_nipype_misc.py --tier quick
Bit-identical

Every one of its 68 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

68/68
confounds-nipype/misc-quick-e2nipype's other interfacesnipype's TSNR, NonSteadyStateDetector, FramewiseDisplacement (every source, NIPY included) and niworkflows' RobustACompCor/RobustTCompCor (PIPE-48) (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_nipype_misc.py --tier quick
Bit-identical

Every one of its 69 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

69/69
confounds-nipype/misc-quick-e3nipype's other interfacesnipype's TSNR, NonSteadyStateDetector, FramewiseDisplacement (every source, NIPY included) and niworkflows' RobustACompCor/RobustTCompCor (PIPE-48) (quick tier, fMRIPrep 25.2.6's image: numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3)
command linepython -P validation/investigations/confounds/check_nipype_misc.py --tier quick
Bit-identical

Every one of its 69 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

69/69
confounds-nipype/misc-control-quick-e1nipype's other interfacesthe negative control of check_nipype_misc.py: the replica told the other library release must differ (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_nipype_misc.py --control --sections tsnr,nssd,fd,nipy --tier quick
Bit-identical

Every one of its 46 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

46/46
confounds-nipype/misc-control-quick-e3nipype's other interfacesthe negative control of check_nipype_misc.py: the replica told the other library release must differ (quick tier, fMRIPrep 25.2.6's image: numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3)
command linepython -P validation/investigations/confounds/check_nipype_misc.py --control --sections tsnr,nssd,fd,nipy --tier quick
Bit-identical

Every one of its 46 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

46/46
confounds-nipype/cli-quick-e1nipype's command lineThe replica nipype run against nipype's own nipypecli run: the click layer, the 61 helps, argparse's and traits' errors, the 37 interfaces the replica runs with their options, PIPE-81 and PIPE-82 against nipype's Python API, fMRIPrep's real confounds nodes of three fMRIPrep runs (full comparison) (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_nipype_cli.py --tier quick
Bit-identical

Every one of its 18 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

18/18
confounds-nipype/difftest/compcor-no-volume-leftrandom testingrandom testing: DN fix passBit-identical

Every one of its 2 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A permanent case of random testing (a the replica mistake, fixed).

2/2
confounds-nipype/difftest/compcor-pipe44-later-masks-add-nothingrandom testingACompCor whose second mask gives no component and whose later masks give none either (the trial's notice verdicts): fix goes on with them (PIPE-44) to the same result, yet named PIPE-44. Fixed: named where a later mask adds components or changes the pre-filter's basis.Bit-identical

Every one of its 2 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A permanent case of random testing (a the replica mistake, fixed).

2/2
confounds-nipype/difftest/compcor-pipe44-reaches-other-shaperandom testingrandom testing: DN fix passBit-identical

Every one of its 2 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A permanent case of random testing (a the replica mistake, fixed).

2/2
confounds-nipype/difftest/cosine-filter-glibc07-exactrandom testingcosine_filter whose glibc and correctly rounded cosines differ only before the product with sqrt(2 / T) rounds them to one value (the trial's notice verdicts): GLIBC-07 fired with the basis unchanged. Fixed: the witness compares the basis values.Bit-identical

Every one of its 2 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A permanent case of random testing (a the replica mistake, fixed).

2/2
confounds-nipype/difftest/cosine-filter-wide-basis-dbdsqr-tolerancerandom testingcosine_filter with a cut-off of 5 s at a TR of 3 s on 370 volumes: a cosine basis of 444 columns, wider than the series, whose lstsq (DGELSD) and svd (DGESDD, DBDSDC's lower-bidiagonal path) reach DLASDQ leaves with nearly equal diagonals and superdiagonals at DBDSQR's convergence tolerance (random-testing finding 54131: 1 to 4 ulps). Fixed: DBDSQR's TOLMUL is glibc's pow(2^-53, -0.125) = 2^6.625 correctly rounded (the constant was 5.8e-6 off).Bit-identical

Every one of its 2 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A permanent case of random testing (a the replica mistake, fixed).

2/2
confounds-nipype/difftest/dvars-constant-series-noticesrandom testingcompute_dvars of an all-zero series with remove_zerovariance=False (the trial's notice verdicts): PIPE-50's and PIPE-46's corrections leave every output NaN, as nipype's, yet their notices fired. Fixed: named only where the corrected series differ from nipype's.Bit-identical

Every one of its 2 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A permanent case of random testing (a the replica mistake, fixed).

2/2
confounds-nipype/difftest/regress-poly-fortran-rowsrandom testingregress_poly of Fortran-ordered rows (387 x 69 float32, degree 0): numpy's pinv(X).dot(data.T) takes gemv on a C-ordered data.T, whose sums run in another order; the replica summed as for C-ordered rows (16,284 of 26,703 residuals one or two ulps off). Fixed: regress_poly_layout follows the rows' memory order.Bit-identical

Every one of its 2 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A permanent case of random testing (a the replica mistake, fixed).

2/2
confounds-nipype/difftest/tcompcor-refused-degree-textrandom testingTCompCor with regress_poly_degree=0: traits' TraitError text ('The 'regress_poly_degree' trait of a TCompCorInputSpec instance must be an integer >= 1, ...') where the replica raised its own message. Fixed: every refused CompCor input raises traits' or nipype's text.Bit-identical

Every one of its 2 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A permanent case of random testing (a the replica mistake, fixed).

2/2
confounds-nipype/compcor-full-e1CompCornipype's cosine and Legendre filters, compute_noise_components, CompCor, ACompCor and TCompCor over their options, fMRIPrep's 108 real CompCor nodes (full comparison, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_compcor.py --tier full
Bit-identical

Every one of its 30 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

30/30
confounds-nipype/compcor-full-e2CompCornipype's cosine and Legendre filters, compute_noise_components, CompCor, ACompCor and TCompCor over their options, fMRIPrep's 108 real CompCor nodes (full comparison, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_compcor.py --tier full
Bit-identical

Every one of its 30 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

30/30
confounds-nipype/compcor-full-e3CompCornipype's cosine and Legendre filters, compute_noise_components, CompCor, ACompCor and TCompCor over their options, fMRIPrep's 108 real CompCor nodes (full comparison, fMRIPrep 25.2.6's image: numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3)
command linepython -P validation/investigations/confounds/check_compcor.py --tier full
Bit-identical

Every one of its 30 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

30/30
confounds-linalg/blas-quick-e2OpenBLAS' kernelsOpenBLAS's dgemm, dsyrk, dgemv, dtrmm, dger, dtrmv, the level-1 routines and numpy's @ and dot against numpy's library (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_blas.py --quick --threads 4
Bit-identical

Every one of its 27 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

27/27
confounds-linalg/blas-quick-e1OpenBLAS' kernelsOpenBLAS's dgemm, dsyrk, dgemv, dtrmm, dger, dtrmv, the level-1 routines and numpy's @ and dot against numpy's library (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_blas.py --quick --threads 4
Bit-identical

Every one of its 27 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

27/27
confounds-linalg/lapack-quick-e2LAPACKLAPACK's blocked QR and LQ (DGEQRF, DGELQF, DLARFT, DLARFB), DORGQR/DORGLQ/DORMQR/DORMLQ, DORMBR/DORGBR and the bidiagonal reduction (DGEBRD) against numpy's library (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_lapack.py --quick --threads 4
Bit-identical

Every one of its 48 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

48/48
confounds-linalg/lapack-quick-e1LAPACKLAPACK's blocked QR and LQ (DGEQRF, DGELQF, DLARFT, DLARFB), DORGQR/DORGLQ/DORMQR/DORMLQ, DORMBR/DORGBR and the bidiagonal reduction (DGEBRD) against numpy's library (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_lapack.py --quick --threads 4
Bit-identical

Every one of its 48 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

48/48
confounds-linalg/svd-quick-e2numpy's and SciPy's SVDthe divide-and-conquer bidiagonal SVD (DBDSDC, DLASD0 to DLASD5, DLASDQ, DLAED6) against numpy's library (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_svd.py --quick --threads 4
Bit-identical

Every one of its 27 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

27/27
confounds-linalg/svd-quick-e1numpy's and SciPy's SVDthe divide-and-conquer bidiagonal SVD (DBDSDC, DLASD0 to DLASD5, DLASDQ, DLAED6) against numpy's library (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_svd.py --quick --threads 4
Bit-identical

Every one of its 27 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

27/27
confounds-linalg/svd-control-quick-e2numpy's and SciPy's SVDthe negative control of check_svd.py: the replica told the other library release must differ (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_svd.py --control --quick --threads 4
Bit-identical

Every one of its 17 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

17/17
confounds-linalg/svd-control-quick-e1numpy's and SciPy's SVDthe negative control of check_svd.py: the replica told the other library release must differ (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_svd.py --control --quick --threads 4
Bit-identical

Every one of its 17 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

17/17
confounds-linalg/gesdd-quick-e2LAPACK's divide-and-conquer SVDDGESDD's four thin paths, numpy's svd(full_matrices=False) and pinv up to CompCor's largest real shapes (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_gesdd.py --quick --threads 4
Bit-identical

Every one of its 30 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

30/30
confounds-linalg/gesdd-quick-e1LAPACK's divide-and-conquer SVDDGESDD's four thin paths, numpy's svd(full_matrices=False) and pinv up to CompCor's largest real shapes (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_gesdd.py --quick --threads 4
Bit-identical

Every one of its 30 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

30/30
confounds-linalg/gesdd-control-quick-e2LAPACK's divide-and-conquer SVDthe negative control of check_gesdd.py: the replica told the other library release must differ (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_gesdd.py --control --quick --threads 4
Bit-identical

Every one of its 18 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

18/18
confounds-linalg/gesdd-control-quick-e1LAPACK's divide-and-conquer SVDthe negative control of check_gesdd.py: the replica told the other library release must differ (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_gesdd.py --control --quick --threads 4
Bit-identical

Every one of its 18 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

18/18
confounds-linalg/gelsd-quick-e2LAPACK's least squaresDGELSD's three paths, DLALSD's two (DLASDA, DLALS0, DLALSA), DLASRT and numpy's lstsq, the cosine filter's real calls included (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_gelsd.py --quick --threads 4
Bit-identical

Every one of its 106 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

106/106
confounds-linalg/gelsd-quick-e1LAPACK's least squaresDGELSD's three paths, DLALSD's two (DLASDA, DLALS0, DLALSA), DLASRT and numpy's lstsq, the cosine filter's real calls included (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_gelsd.py --quick --threads 4
Bit-identical

Every one of its 106 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

106/106
confounds-linalg/gelsd-control-quick-e2LAPACK's least squaresthe negative control of check_gelsd.py: the replica told the other library release must differ (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_gelsd.py --control --quick --threads 4
Bit-identical

Every one of its 80 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

80/80
confounds-linalg/gelsd-control-quick-e1LAPACK's least squaresthe negative control of check_gelsd.py: the replica told the other library release must differ (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_gelsd.py --control --quick --threads 4
Bit-identical

Every one of its 80 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

80/80
confounds-linalg/gesvd-quick-e2LAPACK's SVDSciPy's DGESVD fallback (DBDSQR, OpenBLAS 0.3.28's DLARFT) and nipype's fallback_svd and _full_rank against SciPy's own library (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_gesvd.py --quick --threads 4
Bit-identical

Every one of its 83 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

83/83
confounds-linalg/gesvd-quick-e1LAPACK's SVDSciPy's DGESVD fallback (DBDSQR, OpenBLAS 0.3.28's DLARFT) and nipype's fallback_svd and _full_rank against SciPy's own library (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_gesvd.py --quick --threads 4
Bit-identical

Every one of its 83 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

83/83
confounds-linalg/gesvd-control-quick-e2LAPACK's SVDthe negative control of check_gesvd.py: the replica told the other library release must differ (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_gesvd.py --control --quick --threads 4
Bit-identical

Every one of its 87 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

87/87
confounds-linalg/gesvd-control-quick-e1LAPACK's SVDthe negative control of check_gesvd.py: the replica told the other library release must differ (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_gesvd.py --control --quick --threads 4
Bit-identical

Every one of its 87 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

87/87
confounds-linalg/reductions-quick-e1numpy's reductionsnumpy's ordered sums, means, variances, cumsum, extremes, percentiles, searchsorted, nan_to_num, diff and the Legendre basis at the confounds' call sites (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_numpy_reductions.py --tier quick
Bit-identical

Every one of its 18 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

18/18
confounds-linalg/reductions-quick-e2numpy's reductionsnumpy's ordered sums, means, variances, cumsum, extremes, percentiles, searchsorted, nan_to_num, diff and the Legendre basis at the confounds' call sites (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_numpy_reductions.py --tier quick
Bit-identical

Every one of its 18 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

18/18
confounds-linalg/reductions-quick-e3numpy's reductionsnumpy's ordered sums, means, variances, cumsum, extremes, percentiles, searchsorted, nan_to_num, diff and the Legendre basis at the confounds' call sites (quick tier, fMRIPrep 25.2.6's image: numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3)
command linepython -P validation/investigations/confounds/check_numpy_reductions.py --tier quick
Bit-identical

Every one of its 18 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

18/18
confounds-linalg/reductions-control-quick-e1numpy's reductionsthe negative control of check_numpy_reductions.py: the replica told the other library release must differ (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_numpy_reductions.py --control --tier quick
Bit-identical

Every one of its 30 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

30/30
confounds-linalg/reductions-control-quick-e2numpy's reductionsthe negative control of check_numpy_reductions.py: the replica told the other library release must differ (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_numpy_reductions.py --control --tier quick
Bit-identical

Every one of its 30 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

30/30
confounds-linalg/reductions-control-quick-e3numpy's reductionsthe negative control of check_numpy_reductions.py: the replica told the other library release must differ (quick tier, fMRIPrep 25.2.6's image: numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3)
command linepython -P validation/investigations/confounds/check_numpy_reductions.py --control --tier quick
Bit-identical

Every one of its 30 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

30/30
confounds-linalg/fft-quick-e1SciPy's FFTsSciPy's float32 FFTs (1.15's pocketfft, 1.18.1's ducc0) and nitime's fftconvolve under nipype's DVARS (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_fft.py --tier quick
Bit-identical

Every one of its 81 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

81/81
confounds-linalg/fft-quick-e2SciPy's FFTsSciPy's float32 FFTs (1.15's pocketfft, 1.18.1's ducc0) and nitime's fftconvolve under nipype's DVARS (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_fft.py --tier quick
Bit-identical

Every one of its 81 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

81/81
confounds-linalg/fft-quick-e3SciPy's FFTsSciPy's float32 FFTs (1.15's pocketfft, 1.18.1's ducc0) and nitime's fftconvolve under nipype's DVARS (quick tier, fMRIPrep 25.2.6's image: numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3)
command linepython -P validation/investigations/confounds/check_fft.py --tier quick
Bit-identical

Every one of its 81 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

81/81
confounds-linalg/fft-control-quick-e1SciPy's FFTsthe negative control of check_fft.py: the replica told the other library release must differ (quick tier, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_fft.py --control --tier quick
Bit-identical

Every one of its 80 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

80/80
confounds-linalg/fft-control-quick-e2SciPy's FFTsthe negative control of check_fft.py: the replica told the other library release must differ (quick tier, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_fft.py --control --tier quick
Bit-identical

Every one of its 80 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

80/80
confounds-linalg/fft-control-quick-e3SciPy's FFTsthe negative control of check_fft.py: the replica told the other library release must differ (quick tier, fMRIPrep 25.2.6's image: numpy 2.2.6, SciPy 1.15.2, pandas 2.2.3)
command linepython -P validation/investigations/confounds/check_fft.py --control --tier quick
Bit-identical

Every one of its 80 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs. A negative control: told the other library release, the replica’s results differ from the original’s, as they must.

80/80
confounds-linalg/svd-full-e2numpy's and SciPy's SVDthe divide-and-conquer bidiagonal SVD (DBDSDC, DLASD0 to DLASD5, DLASDQ, DLAED6) against numpy's library (full comparison, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_svd.py --threads 4
Bit-identical

Every one of its 27 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

27/27
confounds-linalg/svd-full-e1numpy's and SciPy's SVDthe divide-and-conquer bidiagonal SVD (DBDSDC, DLASD0 to DLASD5, DLASDQ, DLAED6) against numpy's library (full comparison, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_svd.py --threads 4
Bit-identical

Every one of its 27 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

27/27
confounds-linalg/svd-full-e1-zennumpy's and SciPy's SVDthe divide-and-conquer bidiagonal SVD (DBDSDC, DLASD0 to DLASD5, DLASDQ, DLAED6) against numpy's library (full comparison, numpy 2.5.4 / OpenBLAS 0.3.34 at this machine's GEMM_Q 512)
command linepython -P validation/investigations/confounds/check_svd.py --threads 4
Bit-identical

Every one of its 32 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

32/32
confounds-linalg/gesdd-full-e2LAPACK's divide-and-conquer SVDDGESDD's four thin paths, numpy's svd(full_matrices=False) and pinv up to CompCor's largest real shapes (full comparison, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_gesdd.py --threads 4
Bit-identical

Every one of its 30 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

30/30
confounds-linalg/gesdd-full-e1LAPACK's divide-and-conquer SVDDGESDD's four thin paths, numpy's svd(full_matrices=False) and pinv up to CompCor's largest real shapes (full comparison, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_gesdd.py --threads 4
Bit-identical

Every one of its 30 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

30/30
confounds-linalg/gesdd-full-e1-zenLAPACK's divide-and-conquer SVDDGESDD's four thin paths, numpy's svd(full_matrices=False) and pinv up to CompCor's largest real shapes (full comparison, numpy 2.5.4 / OpenBLAS 0.3.34 at this machine's GEMM_Q 512)
command linepython -P validation/investigations/confounds/check_gesdd.py --threads 4
Bit-identical

Every one of its 45 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

45/45
confounds-linalg/gelsd-full-e2LAPACK's least squaresDGELSD's three paths, DLALSD's two (DLASDA, DLALS0, DLALSA), DLASRT and numpy's lstsq, the cosine filter's real calls included (full comparison, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_gelsd.py --threads 4
Bit-identical

Every one of its 126 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

126/126
confounds-linalg/gelsd-full-e1LAPACK's least squaresDGELSD's three paths, DLALSD's two (DLASDA, DLALS0, DLALSA), DLASRT and numpy's lstsq, the cosine filter's real calls included (full comparison, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_gelsd.py --threads 4
Bit-identical

Every one of its 126 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

126/126
confounds-linalg/gelsd-full-e1-zenLAPACK's least squaresDGELSD's three paths, DLALSD's two (DLASDA, DLALS0, DLALSA), DLASRT and numpy's lstsq, the cosine filter's real calls included (full comparison, numpy 2.5.4 / OpenBLAS 0.3.34 at this machine's GEMM_Q 512)
command linepython -P validation/investigations/confounds/check_gelsd.py --threads 4
Bit-identical

Every one of its 136 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

136/136
confounds-linalg/gesvd-full-e2LAPACK's SVDSciPy's DGESVD fallback (DBDSQR, OpenBLAS 0.3.28's DLARFT) and nipype's fallback_svd and _full_rank against SciPy's own library (full comparison, numpy 2.3.5 / OpenBLAS 0.3.30, SciPy 1.15.3, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_gesvd.py --threads 4
Bit-identical

Every one of its 83 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

83/83
confounds-linalg/gesvd-full-e1LAPACK's SVDSciPy's DGESVD fallback (DBDSQR, OpenBLAS 0.3.28's DLARFT) and nipype's fallback_svd and _full_rank against SciPy's own library (full comparison, numpy 2.5.4 / OpenBLAS 0.3.34 (OPENBLAS_L2_SIZE=512), SciPy 1.18.1, pandas 3.0.6)
command linepython -P validation/investigations/confounds/check_gesvd.py --threads 4
Bit-identical

Every one of its 83 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

83/83
confounds-linalg/gesvd-full-e1-zenLAPACK's SVDSciPy's DGESVD fallback (DBDSQR, OpenBLAS 0.3.28's DLARFT) and nipype's fallback_svd and _full_rank against SciPy's own library (full comparison, numpy 2.5.4 / OpenBLAS 0.3.34 at this machine's GEMM_Q 512)
command linepython -P validation/investigations/confounds/check_gesvd.py --threads 4
Bit-identical

Every one of its 95 checks: the originals’ outputs bit for bit (numbers, files, messages and exit statuses), or fMRIPrep’s own node files and confounds files of its runs.

95/95

Known limits

  • fMRIPrep’s confounds with FreeSurfer’s segmentation (its runs with recon-all) are not compared yet: PIPE-79 waits for fMRIPrep’s runs with FreeSurfer.
  • fMRIPrep’s reports of the confounds (its reportlets) come with larmorprepx’s reports.
  • The comparisons with fMRIPrep stage by stage come once every program is ported.

History

  • 2026-11-12: the replica’s random-testing run and the checks of the final build.
  • 2026-11-13: the replica of fMRIPrep’s confound estimation complete, with nipype’s command line and numpy’s and SciPy’s linear algebra (the roadmap).

Data credits

The data this page shows or names: each dataset with its version, DOI and licence, from LARMORX's test-data catalog. Public-domain dedications (CC0, PDDL) ask nothing; the datasets are cited all the same.