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

wwu-mmll / confound_corrected_cpm / 28516526735
85%
main: 85%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: main
Ran 01 Jul 2026 12:16PM UTC
Jobs 1
Files 31
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

01 Jul 2026 12:10PM UTC coverage: 71.578% (-0.2%) from 71.735%
28516526735

push

github

NilsWinter
Add confound-inflation simulation and demonstration

Extend the SEM simulation generator to support three interpretable edge
classes (pure-signal, mixed, confound-only) built from two orthogonal
latents, with exact closed-form R2 targets controlled by a spurious-fraction
knob (kappa). Add simulate_data_given_kappa and generate_confound_grid.

Add examples/confound_inflation_demo.py, which sweeps a 3x6 grid of
brain-outcome strength x confound strength and shows that raw CPM is
maximally inflated, partial-correlation edge selection only partially
deconfounds (it drops confound-only edges but keeps confound-carrying mixed
edges), and residualizing the connectome recovers the true association.

Note in mediator_simulation that its c is an outcome proxy, not a
common-cause confound.

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

54 of 76 new or added lines in 1 file covered. (71.05%)

2128 of 2973 relevant lines covered (71.58%)

0.72 hits per line

Uncovered Changes

Lines Coverage ∆ File
22
81.62
-9.01% src/cccpm/simulation/simulate_sem.py
Jobs
ID Job ID Ran Files Coverage
1 28516526735.1 01 Jul 2026 12:16PM UTC 31
71.58
GitHub Action Run
Source Files on build 28516526735
  • Tree
  • List 31
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28516526735
  • 407968b7 on github
  • Prev Build on develop (#28477296096)
  • Next Build on develop (#28518378926)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc