Skip to content

Complete current EEGLAB test-port coverage - #372

Merged
arnodelorme merged 5 commits into
work/testports-cluster-statistics-integratedfrom
work/testports-tutorial-workflows-stacked
Sep 19, 2026
Merged

arnodelorme merged 5 commits into
work/testports-cluster-statistics-integratedfrom
work/testports-tutorial-workflows-stacked

Conversation

@suraj-ranganath

@suraj-ranganath suraj-ranganath commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

Completes the pinned current EEGLAB suite in one consolidated layer: residual method adjudications, tutorial workflows, the trialinfo handoff fix, and a source-driven completeness gate. The audit discovers exactly 799 upstream methods and reports 799 covered with no missing or invalid provenance. Repairs live-MATLAB harness discovery and session isolation so every locally available MATLAB parity test executes before merge.

@suraj-ranganath

suraj-ranganath commented Sep 14, 2026 •

Copy link
Copy Markdown
Member Author

🤖 ### Problem
The pinned current EEGLAB suite spans ordinary wrappers, regression classes, commented historical cases, and Live Script workflows, so simple file counting could miss behavior or reward empty ports.

Approach

This consolidated layer accounts for the final residual methods, ports every tutorial workflow with deterministic EEG/BIDS data, fixes the trialinfo handoff exposed by the face-recognition workflow, and adds a source-driven audit instead of a hand-maintained conversion matrix. The pre-merge validation repair makes parity tests honor EEGPREP_EEGLAB_ROOT, use checked-in sample data, and isolate envtopo from shared MATLAB graphics state.

Key code

The workflows cover scalp movies, grouped ERP/N400 analyses, source fitting, all-channel time-frequency analysis, face recognition, and P300. Runtime fixes support NumPy-backed BIDS sessions, EEGLAB-style Picard PCA reduction, and propagation of time-locking event metadata into EEG trialinfo for later STUDY precomputation.

Tests

The pinned audit passes 799 expected / 799 covered / 0 missing / 0 invalid. The top branch passes 3,110 Python tests and 400 subtests. The exhaustive live run against EEGLAB 8ac485f and Picard 617ce6a passes 372 MATLAB-marked tests plus 22 subtests with zero failures; two external-data BIDS jobs and one Octave-only runtime check are explicitly excluded. The changed files pass the repository pre-commit wrapper, Ruff check, Ruff format, ty, and 15 focused live-MATLAB tests plus 6 subtests. The live run emits 90 floating-point RuntimeWarnings in ICA, ICLabel, and pinv paths without assertion failures; these remain visible rather than suppressed.

@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 suraj-ranganath changed the title Port current EEGLAB tutorial workflows Complete current EEGLAB test-port coverage Sep 14, 2026
@suraj-ranganath
suraj-ranganath changed the base branch from work/testports-final-missing-refs-integrated to work/testports-cluster-statistics-integrated September 14, 2026 08:10
@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-tutorial-workflows-stacked branch from 3733a6d to 3089c4c 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-tutorial-workflows-stacked branch from 3089c4c to bb4c20b Compare September 14, 2026 10:23
@suraj-ranganath
suraj-ranganath force-pushed the work/testports-tutorial-workflows-stacked branch from bb4c20b to dc1b254 Compare September 14, 2026 10:38
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