Skip to content

Implement standalone LIMO workflows - #369

Merged
arnodelorme merged 2 commits into
work/testports-study-trial-factors-integratedfrom
work/testports-full-limo-integrated
Sep 19, 2026
Merged

arnodelorme merged 2 commits into
work/testports-study-trial-factors-integratedfrom
work/testports-full-limo-integrated

Conversation

@suraj-ranganath

Copy link
Copy Markdown
Member

Implement standalone first-level OLS, robust WLS, and IRLS modeling plus core second-level contrasts and statistics. The maintained LIMO wrapper methods are provenance-linked, and deterministic WLS and IRLS fixtures match live official LIMO Toolbox output while unsupported MATLAB interchange and bootstrap/TFCE boundaries remain explicit.

@claude

claude Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Claude encountered an error after 0s —— View job


I'll analyze this and get back to you.

@suraj-ranganath

Copy link
Copy Markdown
Member Author

🤖 Problem

The current LIMO wrapper methods described complete first- and second-level workflows, but EEGPrep only exposed explicit not-implemented boundaries and could not fit or inspect models.

Approach

Implement standalone versioned LIMO results with OLS, robust PCOut WLS, and Tukey-bisquare IRLS first-level fits, then provide contrasts, core group tests, regression, ANOVA/ANCOVA, repeated-measures ANOVA, and weighted summaries. Keep MATLAB .mat interchange, bootstrap/TFCE, and the external plotting UI explicit.

Key code

  • std_limo builds active STUDY designs, fits time-domain models, and records diagnostics.
  • std_limoresults and pop_limoresults compute supported second-level analyses.
  • _limo_io persists safe versioned NumPy results without an EEGLAB runtime dependency.

Tests

Both maintained limo_wrapperTest methods are provenance-linked. WLS PCOut coefficients and weights and IRLS fits match live official LIMO Toolbox goldens. The delegated focused suite passed 126 tests and a broad non-GUI run passed 2,552 with expected skips/xfail; post-stack integration passed 15 focused tests plus one expected MATLAB skip, with Ruff, format, and ty clean.

@suraj-ranganath
suraj-ranganath marked this pull request as ready for review September 14, 2026 10:10
@suraj-ranganath
suraj-ranganath force-pushed the work/testports-full-limo-integrated branch from 0c0fd52 to 0037671 Compare September 14, 2026 10:10

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Code review skipped: your organization's credit balance is too low for Code Review to run.

An organization admin can purchase credits or upgrade the plan in Plans & Billing.

Once credits are available, reopen this pull request to trigger a review.

@suraj-ranganath
suraj-ranganath force-pushed the work/testports-full-limo-integrated branch from 0037671 to fc24a0c Compare September 14, 2026 10:23
@suraj-ranganath
suraj-ranganath force-pushed the work/testports-full-limo-integrated branch from fc24a0c to 6431fb3 Compare September 14, 2026 10:38
@suraj-ranganath
suraj-ranganath force-pushed the work/testports-full-limo-integrated branch from 6431fb3 to 72428fc Compare September 14, 2026 10:44
@arnodelorme
arnodelorme merged commit 2614f87 into develop Sep 19, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants