• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wwu-mmll / confound_corrected_cpm / 40472745817
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: main
Ran 27 Oct 2026 08:32AM UTC
Jobs 1
Files 37
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Oct 2026 08:19AM UTC coverage: 87.664% (+0.01%) from 87.652%
40472745817

push

github

NilsWinter
Release 0.7.1: standardize covariates inside each outer fold

The confound regressions (statistics.get_residuals for selection_input=
'residualized', preprocessing.residualize_train_test for model_input=
'residualized') use a float32 pinv. With covariates on very different scales
-- intracranial volume in mm^3 next to 0/1 indicators -- its default tolerance
truncated the intercept and indicator directions, which were then silently
not regressed out. Found on HCP data: the residualized connectome's
out-of-fold predictions correlated .55 with the covariate-only predictions.
Up to 0.5.0 the regression ran in float64, so only 0.7.0 is affected.

CPMAnalysis(standardize_covariates=True), on by default, z-scores the
covariates with each outer training split's mean and sd (applied to the test
split) before edge selection, residualisation and the covariate models; the
inner CV gets the standardized training covariates. OLS residuals are
invariant to this rescaling, so it changes no estimate. Recorded in
run_config.json and the log.

tests/test_covariate_scaling.py fails on 0.7.0 (41% of edge-selection
decisions depended on one covariate's units; r = .77 between residualized-
connectome and covariate predictions) and passes now. Full suite: 271 passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

10 of 11 new or added lines in 2 files covered. (90.91%)

2537 of 2894 relevant lines covered (87.66%)

0.88 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
95.08
-0.3% src/cccpm/cpm_analysis.py
Jobs
ID Job ID Ran Files Coverage
1 40472745817.1 27 Oct 2026 08:32AM UTC 37
87.66
GitHub Action Run
Source Files on build 40472745817
  • Tree
  • List 37
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40472745817
  • 4075b3b5 on github
  • Prev Build on develop (#36440347437)
  • Next Build on develop (#40475478814)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc