Skip to content

Add OpenNeuro motor-imagery datasets Peterson2020, Daly2020 and Damm2026 - #1189

Merged
bruAristimunha merged 20 commits into
NeuroTechX:developfrom
bruAristimunha:datasets/mi-openneuro-batch-2
Oct 4, 2026
Merged

bruAristimunha merged 20 commits into
NeuroTechX:developfrom
bruAristimunha:datasets/mi-openneuro-batch-2

Conversation

@bruAristimunha

@bruAristimunha bruAristimunha commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Adds three OpenNeuro/BIDS motor-imagery loaders on current develop: Peterson2020 (formerly Peterson2022 in this PR; renamed to the Heliyon 2020 paper year) (ds003810), Daly2020 (ds002720), and Damm2026 (ds008446), with registration, summary rows, metadata, API docs, citation cache, and synthetic regressions. This is a separate batch from #1186, #1188 and #1178; no overlapping loaders.

Reconciliation and protocol decisions

  • Compared codex/mi58-corrected-20260801 against codex/mi-dataset-expansion file by file. Daly and Damm match. For Peterson retain the paper-side EDF units="uV" reader declaration and versioned raw-cache pipeline, not the expansion branch's unconditional post-read 1e-6 multiplication. The source channels sidecar is documented as microvolts despite blank EDF physical dimensions. This needs real-file reconfirmation on this head.
  • Cai2026 intentionally deferred/excluded: its IACKD protocol is movement preparation followed by executed ball-steering/reaching, not instructed motor imagery. The old four-second window begins at a roughly one-second premove phase and includes execution; hand labels are also acquisition-block labels. Including it silently in MI would be misleading. A separately reviewed movement-preparation/execution classification and suitable windows are required.
  • Peterson excludes real-movement RUN0, exposes runs 1–4, and corrects summary counts to designed 80 trials/class per subject (160 total).
  • Daly maps lower alpha to right-hand ball-squeeze imagery and raise alpha to relaxation. Calibration and targetless runs are skipped; duplicate task/run files raise. Summary counts are the design (72/class across 8 runs), not verified retained means. The release has 18 subjects despite README prose saying 19; machine-readable CC0 conflicts with README CC-BY-4.0.
  • Damm reconstructs marker-block onsets from the release's per-sample TSV using round(onset * sfreq**2) and keeps only five finger cues. This release-specific timestamp correction and designed 60/class require real-file validation.

Correctness and compatibility

  • Remove obsolete acquisition n_channels; derive counts from channel types.
  • Forward path/force_update/verbose to transport (update_path remains deprecated compatibility argument).
  • BIDS downloads use existing data_dl and exact relative filenames; missing required files now fail instead of silently accepting 404s.
  • Remove native stim channels before constructing the single authoritative STIM channel, preventing duplicate native/annotation events. Preserve EEG SI values and bad-channel flags; no interpolation or clearing bads.
  • Real protocol differences (music feedback, rest contrast, finger ordering) remain documented rather than treated as interchangeable left/right MI.

Validation

Draft: real-data validation is outstanding. No EEG downloads or experiments ran locally, and no new Voyager job was started. No data rehosting/publication/merge is part of this PR.

Explicit PYTHONPATH verified moabb.__file__ points at this worktree; reused the existing dependency environment without editing another worktree. Isolated _MNE_FAKE_HOME_DIR, existing temporary MNE_DATA, and MOABB_DOWNLOAD_PROVIDER=auto.

python -m pytest moabb/tests/test_metadata.py moabb/tests/test_datasets.py \
  moabb/tests/test_doi_validation.py moabb/tests/test_daly2020_regression.py \
  moabb/tests/test_openneuro_batch2.py \
  -m 'not network and not download' \
  -k 'not test_epochs and not test_dataset_accept and not test_selected_sessions_accept_unpadded_integer' \
  -o addopts='' -q

Result: 2244 passed, 331 skipped, 466 deselected. The explicit extra exclusions avoid unmarked real-data/prefetch paths in the broad suite. Twelve focused tests cover transport-only mocks, inherited BIDS flags, first/last trials, native stim removal, SI preservation, bad-channel preservation, missing/duplicate runs and empty event TSVs. All touched-file pre-commit hooks pass.

DOI cache entries were preserved from the source branch; the additional Peterson data DOI was checked against DataCite metadata (metadata only, no dataset download).

Before ready/merge: Voyager-only released-file smoke tests on this exact head, compare event counts and onsets directly with annotations/TSVs, confirm SI units from EDF headers/sidecars, verify Peterson's unit override, Daly exceptional empty runs and retained counts, Damm timestamp reconstruction, and actual default EEG channel counts including bads. Public S3 paths are unversioned even though citations identify release versions; no snapshot immutability claim is made. CI state must be checked for the exact head and is not implied by local success.

Simplification (2026-09-29, head 210cff4c2)

Depends on #1200. Merge #1200 (mne>=1.13, shared download/marker helpers, OpenNeuro mirror mixin) first. This branch merges it (git merge --no-ff, no rebase).

Pass 4 (ponytail): reuse existing code, no nested functions (head a71359d2e)

  • Merges refactor(datasets): require mne>=1.13, spell colin27 montages, share loader code #1200 at 058ae05e6, which now requires mne>=1.13 and keeps only OpenNeuroMirrorMixin in _openneuro_mirror.py.
  • Daly2020, Damm2026 and Peterson2022 drop the native trigger channel with raw.drop_channels(...) over its stim-typed channels, which replaces drop_native_stim. They do not use mne.pick_types, because that also drops bad channels.
  • Daly2020 and Peterson2022 relabel markers with raw.annotations.rename(...), restricted to the descriptions that are present. This replaces relabel_annotations.
  • Their upstream stub dataset_description.json is written by mne_bids.make_dataset_description, which replaces write_dataset_description.
  • Daly2020's nested _run_number is now a module-level function. mne_bids is imported at module level.
  • Damm2026 spells colin27_1005 directly.
  • The tests replace every monkeypatched lambda with Mock. The Daly run-skipping test now also asserts which runs were read.
  • Nested functions/lambdas added by this PR: 13 → 0.
  • LOC added vs refactor(datasets): require mne>=1.13, spell colin27 montages, share loader code #1200: moabb/datasets/*.py 733 → 763 (the inlined stim-channel and rename comprehensions, three call sites); moabb/tests/*.py (net) 192 → 193.
  • Behaviour:
    • The class fingerprint (metadata/summary/DOI) is identical.
    • The loader fingerprint (fake EDF/BIDS data through the real loaders, plus mocked download manifests) is identical except in the two upstream dataset_description.json files, which mne-bids now writes:
      • BIDSVersion changes to mne-bids' 1.9.0 (Daly2020 was 1.0.2, Peterson2022 was 1.1.1).
      • Each file gains DatasetType: raw and GeneratedBy (MNE-BIDS).
      • DatasetDOI gains the doi: prefix.
    • Name, License and Authors are unchanged.
  • Coverage (pass 3 → pass 4): daly2020 94→95, damm2026 99→99, peterson2022 99→99.
  • Proof: the offline suite (PR tests, test_loader_utils.py, test_preprocessing.py, test_datasets.py, test_metadata.py, test_doi_validation.py) passed 2546 tests with 0 failed. ruff 0.15.20 and git diff --check are clean.

Pass 3: shared helpers, NEMAR skip, new montage names (head 2a83dc44b)

added LOC vs develop before after pass 1 after pass 2
moabb/datasets/*.py 1050 1050 814 (-22%)
moabb/tests/*.py (net) 357 247 213 (-40%)

PR tests collected (pass 2): 15 → 15. Coverage of touched dataset files (pass-1 before → now, offline suite): _openneuro_mirror 94→93, daly2020 93→94, damm2026 96→99, peterson2022 95→99.

Pass 2 — loaders and tests

  • same _openneuro_mirror.py helpers as Add four OpenNeuro motor-imagery datasets (Lee2022, Lioi2020_XP1, Lioi2020_XP2, Iwama2023) #1186 (byte-identical copy)
  • Daly/Peterson channel lists as .split(); Lee/LioiXP1/Damm-style shared stem list for mirror+upstream branches; shorter docstrings
  • test_openneuro_mirror.py folded into test_openneuro_batch2.py (both PRs added a file with that name → merge conflict avoided); repeated loader asserts → _assert_loaded
  • Kept on purpose: Daly duplicate-run / no-usable-runs errors, Damm empty events.tsv branch, single test_provider_policy (drop on rebase over Add four OpenNeuro motor-imagery datasets (Lee2022, Lioi2020_XP1, Lioi2020_XP2, Iwama2023) #1186).
  • Proof: offline pytest <PR tests> test_datasets.py test_metadata.py test_doi_validation.py --cov=moabb/datasets (isolated MNE home, no downloads; test_dataset_accept/TestData::test_epochs deselected); behaviour fingerprint before/after on fake source data (per-run data hash, channels/types, sfreq, annotations, events, montage) and class fingerprint (subjects, sessions, event_id, interval, code, DOI, METADATA hash, summary-CSV row, docstring DOIs) identical except Dataset summary rendered once instead of twice; ruff 0.15.20, git diff --check.

Pass 1 — test audit

…ged)

- test_openneuro_mirror.py: keep only the dataset-specific mirror-flag cases
  (NEMAR ids, subject labels, target dirs). The shared OpenNeuroMirrorMixin
  contract (SDK raw selection with mocked HTTP transport, get_data prefetch
  guard) is owned by PR NeuroTechX#1186; a single-case provider-policy test remains
  only so this branch covers its own copy of _openneuro_mirror.py until
  NeuroTechX#1186 lands.
- test_openneuro_batch2.py: drop test_bids_flag_contract (neither loader
  overrides BaseBIDSDataset.data_path; forwarding is owned by
  Test_Datasets::test_data_path_uses_download_flags). Fold the two Daly2020
  sparse-events regressions from test_daly2020_regression.py into the
  existing Daly section, reusing one raw fixture instead of two copies.
  Keep a Peterson2022 get_data case because it overrides the process
  pipeline (cache version) on top of the mixin.

Tests collected across PR files: 25 -> 16. Coverage: _openneuro_mirror 94%,
daly2020 93%, damm2026 96%, peterson2022 95% (all unchanged).
- resolve_montage_name (moabb.datasets._montage, re-exported by utils): MNE 1.13
  renamed standard_1005/1020 (and the other standard_* templates) to colin27_*,
  warns on the old names and 1.14 removes them. Returns the spelling the installed
  MNE knows; electrode files are byte-identical (dig positions checked equal on
  MNE 1.10.2, 1.12.1 and 1.13.2). Every make_standard_montage/set_montage call in
  moabb now goes through it; METADATA montage labels are descriptive and unchanged.
- download_and_extract_zip: download once, extract unless a marker exists,
  optional warn + forced re-download of a corrupted archive.
- read_raw_brainvision_repaired: repair stale DataFile/MarkerFile references in a
  temporary header (strict mode raises on missing entries/siblings).
- rename_stimulus_codes, edge_boundary_annotations; SetRawAnnotations keeps
  'EDGE boundary' markers.
- moabb.datasets._openneuro_mirror moved here verbatim (byte-identical copies in
  NeuroTechX#1186 and NeuroTechX#1189), with dataset-agnostic tests.
…uro-batch-2

# Conflicts:
#	docs/source/whats_new.rst
…tage names

Merges NeuroTechX#1200 (datasets/shared-loader-helpers): local zip/BrainVision/EDGE-boundary
code replaced by moabb.datasets.utils helpers, montage calls spelled with the
MNE 1.13 colin27_* names via resolve_montage_name, new classes without a public
NEMAR mirror listed in NEMAR_ID_EXEMPT. Behaviour fingerprints unchanged.
MNE 1.13 renamed the standard_* templates to colin27_* (identical .elc
files). With the floor at 1.13 the resolve_montage_name shim and the
_montage module are not needed: every call site spells the new name.
- download_and_extract_zip -> extend download_and_extract_subject_zip with
  keyword-only fname and redownload_corrupted (defaults keep the 10
  develop callers unchanged)
- read_raw_brainvision_repaired -> mne.io.read_raw_brainvision(overrides=)
  at the call sites (MNE >= 1.13)
- edge_boundary_annotations -> mne.Annotations(onsets, 0.0, 'EDGE boundary')
- drop_native_stim / relabel_annotations / write_dataset_description ->
  drop_channels / annotations.rename / mne_bids.make_dataset_description
- tests: no nested functions, Mock data_dl
…uro-batch-2

# Conflicts:
#	docs/source/whats_new.rst
- drop_native_stim -> raw.drop_channels([...stim channels...])
- relabel_annotations -> raw.annotations.rename({present keys only})
- write_dataset_description -> mne_bids.make_dataset_description
  (adds DatasetType/GeneratedBy, BIDSVersion from mne-bids, doi: prefix)
- resolve_montage_name -> colin27_1005 spelled directly (mne>=1.13)
- Daly2020: nested _run_number hoisted to module level
- tests: Mock instead of monkeypatched lambdas
bruAristimunha added a commit that referenced this pull request Sep 29, 2026
…loader code (#1200)

* refactor(datasets): shared loader helpers and montage-name compatibility

- resolve_montage_name (moabb.datasets._montage, re-exported by utils): MNE 1.13
  renamed standard_1005/1020 (and the other standard_* templates) to colin27_*,
  warns on the old names and 1.14 removes them. Returns the spelling the installed
  MNE knows; electrode files are byte-identical (dig positions checked equal on
  MNE 1.10.2, 1.12.1 and 1.13.2). Every make_standard_montage/set_montage call in
  moabb now goes through it; METADATA montage labels are descriptive and unchanged.
- download_and_extract_zip: download once, extract unless a marker exists,
  optional warn + forced re-download of a corrupted archive.
- read_raw_brainvision_repaired: repair stale DataFile/MarkerFile references in a
  temporary header (strict mode raises on missing entries/siblings).
- rename_stimulus_codes, edge_boundary_annotations; SetRawAnnotations keeps
  'EDGE boundary' markers.
- moabb.datasets._openneuro_mirror moved here verbatim (byte-identical copies in
  #1186 and #1189), with dataset-agnostic tests.

* DOC add PR number to the shared-helpers whats_new entries

* build: require mne>=1.13; spell colin27_* montages directly

MNE 1.13 renamed the standard_* templates to colin27_* (identical .elc
files). With the floor at 1.13 the resolve_montage_name shim and the
_montage module are not needed: every call site spells the new name.

* refactor(datasets): reuse existing code instead of new loader helpers

- download_and_extract_zip -> extend download_and_extract_subject_zip with
  keyword-only fname and redownload_corrupted (defaults keep the 10
  develop callers unchanged)
- read_raw_brainvision_repaired -> mne.io.read_raw_brainvision(overrides=)
  at the call sites (MNE >= 1.13)
- edge_boundary_annotations -> mne.Annotations(onsets, 0.0, 'EDGE boundary')
- drop_native_stim / relabel_annotations / write_dataset_description ->
  drop_channels / annotations.rename / mne_bids.make_dataset_description
- tests: no nested functions, Mock data_dl
The primary paper (Heliyon 6(3):e03425, 10.1016/j.heliyon.2020.e03425) is
from 2020 and METADATA already declares publication_year=2020; the naming
rule uses FirstAuthorSurname + primary-paper year. 'OpenBCI' is the
hardware vendor, not an official dataset name (the paper only says 'our
OpenBCI dataset' in contrast to its 'Ant Neuro dataset'). Class, module,
code, registry, api.rst, whats_new, summary CSV and tests renamed; the
name was never released.
…(paper audit)

- ground: right ear lobe ("reference and ground electrodes were placed at
  the left and right ear lobes, respectively")
- hardware/cap/software: OpenBCI Cyton + Daisy with Electro-Cap System II,
  OpenViBE acquisition
- feedback_type none, mode offline, online_feedback False ("no feedback was
  presented to the users during the experiments")
- stimulus: red arrow after an audible beep (visual + auditory)
- filters: paper reports a 0.5-45 Hz 3rd-order Butterworth applied in
  OpenViBE during acquisition vs sidecars 'n/a' -> recorded as a conflict
  in filters/preprocessing notes/docstring (needs_real_data_check)
- environment: non-shielded office

Evidence: ~/Projects/moabb/.paper-audit/reports/mi-batch-2/Peterson2022/
… (paper audit)

- gender level U is 'Non-Binary' in participants.json (was 'unknown')
- funding grant EP/S022139/1 and ethics approval from dataset_description.json

Evidence: ~/Projects/moabb/.paper-audit/reports/mi-batch-2/Damm2026/
@bruAristimunha bruAristimunha changed the title Add OpenNeuro motor-imagery datasets Peterson2022, Daly2020 and Damm2026 Add OpenNeuro motor-imagery datasets Peterson2020, Daly2020 and Damm2026 Sep 30, 2026
bruAristimunha added a commit that referenced this pull request Oct 4, 2026
…i2020_XP2, Iwama2023) (#1186)

* Add four OpenNeuro motor-imagery datasets

Lee2022 (ds004022), LioiXP1 (ds002336), Lioi2020 (ds002338) and
Iwama2023 (ds004444). NEMAR mirrors OpenNeuro under the same ids, so
each declares its ds id as nemar_id and needs no rehosting.

Ported from the deep-ceiling benchmark branch to current develop:
n_channels dropped from AcquisitionMetadata (#1166), Lee2022.data_path
now forwards path/verbose (flag contract), and the summary_imagery rows
use trials per class per subject, as the rest of the table does.

* Link #1186 in whats_new

* Iwama2023: take events from events.tsv only, drop the EDF Status trigger

The EDF's own Status channel marks rest onsets and a point ~1 s before
each task onset with the same code 1. It was read alongside the stim
channel built from events.tsv, so every session gained 20 spurious rest
epochs overlapping the imagery (rest 40 vs right_hand 20 per session).
Found in the real-data smoke test on subject 1: 640 rest vs 320 MI.

* Cache the Perronnet 2017 DOI that LioiXP1 cites

* fix(datasets): route verified OpenNeuro mirrors through NEMAR raw BIDS

* test: audit and trim #1186 tests (-9 tests, coverage unchanged)

The OpenNeuroMirrorMixin contract (provider policy, SDK raw selection with a
mocked HTTP transport, no sourcedata prefetch from get_data) is a shared
contract with one owner: run it once through Iwama2023 instead of replaying
it for every loader. test_mirror_flags stays parametrised because NEMAR ids,
subject-label mapping and target dirs are dataset-specific.

Tests collected in test_openneuro_mirror.py: 16 -> 7. Per-file coverage of
_openneuro_mirror.py (94%), iwama2023.py (43%), lee2022.py (40%),
lioi2020.py (29%), lioixp1.py (38%) unchanged (offline suite, no downloads).

* refactor: simplify #1186 loaders and tests (-274 LOC)

* refactor(datasets): shared loader helpers and montage-name compatibility

- resolve_montage_name (moabb.datasets._montage, re-exported by utils): MNE 1.13
  renamed standard_1005/1020 (and the other standard_* templates) to colin27_*,
  warns on the old names and 1.14 removes them. Returns the spelling the installed
  MNE knows; electrode files are byte-identical (dig positions checked equal on
  MNE 1.10.2, 1.12.1 and 1.13.2). Every make_standard_montage/set_montage call in
  moabb now goes through it; METADATA montage labels are descriptive and unchanged.
- download_and_extract_zip: download once, extract unless a marker exists,
  optional warn + forced re-download of a corrupted archive.
- read_raw_brainvision_repaired: repair stale DataFile/MarkerFile references in a
  temporary header (strict mode raises on missing entries/siblings).
- rename_stimulus_codes, edge_boundary_annotations; SetRawAnnotations keeps
  'EDGE boundary' markers.
- moabb.datasets._openneuro_mirror moved here verbatim (byte-identical copies in
  #1186 and #1189), with dataset-agnostic tests.

* DOC add PR number to the shared-helpers whats_new entries

* refactor: use shared loader helpers; exempt from NEMAR check; new montage names

Merges #1200 (datasets/shared-loader-helpers): local zip/BrainVision/EDGE-boundary
code replaced by moabb.datasets.utils helpers, montage calls spelled with the
MNE 1.13 colin27_* names via resolve_montage_name, new classes without a public
NEMAR mirror listed in NEMAR_ID_EXEMPT. Behaviour fingerprints unchanged.

* build: require mne>=1.13; spell colin27_* montages directly

MNE 1.13 renamed the standard_* templates to colin27_* (identical .elc
files). With the floor at 1.13 the resolve_montage_name shim and the
_montage module are not needed: every call site spells the new name.

* refactor(datasets): reuse existing code instead of new loader helpers

- download_and_extract_zip -> extend download_and_extract_subject_zip with
  keyword-only fname and redownload_corrupted (defaults keep the 10
  develop callers unchanged)
- read_raw_brainvision_repaired -> mne.io.read_raw_brainvision(overrides=)
  at the call sites (MNE >= 1.13)
- edge_boundary_annotations -> mne.Annotations(onsets, 0.0, 'EDGE boundary')
- drop_native_stim / relabel_annotations / write_dataset_description ->
  drop_channels / annotations.rename / mne_bids.make_dataset_description
- tests: no nested functions, Mock data_dl

* refactor: reuse MNE/mne-bids instead of removed mirror helpers

- drop_native_stim -> raw.drop_channels([...stim channels...])
- relabel_annotations -> raw.annotations.rename({present keys only})
- write_dataset_description -> mne_bids.make_dataset_description
  (adds DatasetType/GeneratedBy, BIDSVersion from mne-bids, doi: prefix)
- resolve_montage_name -> colin27_* spelled directly (mne>=1.13)
- tests: module-level httpx handler, Mock instead of monkeypatched lambdas

* fix(Lioi2020): align metadata with 10.1038/s41597-020-0498-3 (paper audit)

- ground AFz ("FCz as the reference electrode and AFz as the ground electrode")
- demographics from Table 3 (9 M / 8 F, 26-66 y, per-subject ages/sexes)
- n_trials 8 -> 1360 total (5 runs x 16 blocks x 17 subjects; MIpost
  duration not stated in the paper, assumed equal to MIpre)
- docstring: block timing per run; note on the paper's 'left hand' wording

Evidence: ~/Projects/moabb/.paper-audit/reports/mi-batch-1/Lioi2020/

* fix(LioiXP1): align metadata with 10.1038/s41597-020-0498-3 (paper audit)

- institution as in the data paper affiliation (Univ Rennes, Inria, CNRS,
  Inserm, IRISA)
- docstring/trials_context: Perronnet et al. 2017 report MIpre/MIpost not
  acquired for two participants and lost for a third, so per-subject run
  counts are not uniform (needs_real_data_check for the 780-block total)

Evidence: ~/Projects/moabb/.paper-audit/reports/mi-batch-1/LioiXP1/

* fix(Iwama2023): align metadata with 10.1038/s41597-023-02260-6 (paper audit)

- ground FCz -> CPz ("Cz and CPz channels were set as the reference and
  ground channel, respectively")
- gender 25 M / 5 F, right-handed, age 21.23 +/- 2.2 (Dataset 1 paragraph)
- investigators in the paper's author order
- docstring: 16 blocks = (pre + 6 NF + post) x 2 days, one EDF per block

Evidence: ~/Projects/moabb/.paper-audit/reports/mi-batch-1/Iwama2023/

* fix(Lee2022): align metadata with 10.18112/openneuro.ds004022.v1.0.0 (paper audit)

- per-subject ages/sexes and handedness (6 R / 1 L) from participants.tsv
- docstring: the README calls the 3 x 40-trial runs 'three sessions'; the
  release stores run-1..3 in one BIDS session, exposed as three runs

Evidence: ~/Projects/moabb/.paper-audit/reports/mi-batch-1/Lee2022/

* refactor(Lioi2020): rename to Lioi2020_XP2 (naming rule)

Rules 2+3: the primary data paper (Lioi et al., Sci Data 2020,
doi:10.1038/s41597-020-0498-3) describes both OpenNeuro releases and
states that "they were split in XP1 and XP2 for the sake of clarity";
this class is the second one ("XP2. The resource contains data from 17
subjects"), so it takes the FirstAuthorYear stem plus the official
variant suffix. code becomes "Lioi2020-XP2" (MOABB codes are
Camel-KebabCase) and the cache folder MNE-lioi2020-xp2-data; module,
registry, api.rst, whats_new, summary CSV and tests follow. Never
released, so no alias.

* refactor(LioiXP1): rename to Lioi2020_XP1 (naming rule)

Rules 2+3: the primary data paper (Lioi et al., Sci Data 2020,
doi:10.1038/s41597-020-0498-3) covers both OpenNeuro releases - "they
were split in XP1 and XP2 for the sake of clarity"; "XP1. The resource
contains data from 10 subjects" - so the class takes the FirstAuthorYear
stem of that paper plus the official variant suffix, and its primary
DOI / publication_year move from the bioRxiv preprint (10.1101/862375,
kept as a related paper) to the 2020 data paper. code becomes
"Lioi2020-XP1" (Camel-KebabCase); module, registry, api.rst, whats_new,
summary CSV and tests follow. Never released, so no alias.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
bruAristimunha added a commit that referenced this pull request Oct 4, 2026
…1188)

* Add Corsi2026 longitudinal NETBCI motor-imagery dataset

* DOC link Corsi2026 changelog to PR 1188

* test: audit and trim #1188 tests (-1 test, coverage 55%->55%)

Consolidate the two Corsi2026 run-loading tests onto one staging helper
(_corsi2026_run) instead of two copies of the vhdr/events.tsv/bids_paths/
read_raw_brainvision setup, and run the off-rate resample regression once
at the observed 249.9 Hz rate: the 1000 Hz variant took the same resample
branch and asserted the same event-timing contract.

corsi2026.py coverage unchanged (55%, offline suite); test_datasets.py
additions 187 -> 178 lines; Corsi2026 tests collected 8 -> 7.

* refactor: simplify #1188 loaders and tests (-154 LOC)

* refactor(datasets): shared loader helpers and montage-name compatibility

- resolve_montage_name (moabb.datasets._montage, re-exported by utils): MNE 1.13
  renamed standard_1005/1020 (and the other standard_* templates) to colin27_*,
  warns on the old names and 1.14 removes them. Returns the spelling the installed
  MNE knows; electrode files are byte-identical (dig positions checked equal on
  MNE 1.10.2, 1.12.1 and 1.13.2). Every make_standard_montage/set_montage call in
  moabb now goes through it; METADATA montage labels are descriptive and unchanged.
- download_and_extract_zip: download once, extract unless a marker exists,
  optional warn + forced re-download of a corrupted archive.
- read_raw_brainvision_repaired: repair stale DataFile/MarkerFile references in a
  temporary header (strict mode raises on missing entries/siblings).
- rename_stimulus_codes, edge_boundary_annotations; SetRawAnnotations keeps
  'EDGE boundary' markers.
- moabb.datasets._openneuro_mirror moved here verbatim (byte-identical copies in
  #1186 and #1189), with dataset-agnostic tests.

* DOC add PR number to the shared-helpers whats_new entries

* refactor: use shared loader helpers; exempt from NEMAR check; new montage names

Merges #1200 (datasets/shared-loader-helpers): local zip/BrainVision/EDGE-boundary
code replaced by moabb.datasets.utils helpers, montage calls spelled with the
MNE 1.13 colin27_* names via resolve_montage_name, new classes without a public
NEMAR mirror listed in NEMAR_ID_EXEMPT. Behaviour fingerprints unchanged.

* build: require mne>=1.13; spell colin27_* montages directly

MNE 1.13 renamed the standard_* templates to colin27_* (identical .elc
files). With the floor at 1.13 the resolve_montage_name shim and the
_montage module are not needed: every call site spells the new name.

* refactor(datasets): reuse existing code instead of new loader helpers

- download_and_extract_zip -> extend download_and_extract_subject_zip with
  keyword-only fname and redownload_corrupted (defaults keep the 10
  develop callers unchanged)
- read_raw_brainvision_repaired -> mne.io.read_raw_brainvision(overrides=)
  at the call sites (MNE >= 1.13)
- edge_boundary_annotations -> mne.Annotations(onsets, 0.0, 'EDGE boundary')
- drop_native_stim / relabel_annotations / write_dataset_description ->
  drop_channels / annotations.rename / mne_bids.make_dataset_description
- tests: no nested functions, Mock data_dl

* refactor: drop resolve_montage_name and nested helpers in Corsi2026

- resolve_montage_name("colin27_1005") -> "colin27_1005" (mne>=1.13)
- _subject_members: nested keep() -> plain loop, key lambda -> attrgetter
- tests: Mock instead of monkeypatched lambdas / SimpleNamespace lambdas

* fix(Corsi2026): align metadata with 10.1038/s41597-026-08237-5 (paper audit)

- hardware: the EEG was amplified by the MEGIN TRIUX MEG acquisition system
  (102 magnetometers, 204 gradiometers), not an Elekta Neuromag
- docstring: EEG recorded at 1 kHz, released at 250 Hz; the six runs are the
  protocol's testing phase (five feedback-free training runs per session
  are described in the paper); task-rest recordings are not loaded

Evidence: ~/Projects/moabb/.paper-audit/reports/netbci/Corsi2026/

* refactor(Corsi2026): rename to NETBCI2026 (naming rule)

Rule 1 (official proper name): the data paper presents the dataset by
name - "We share the Networks for BCI (NETBCI) dataset" (Corsi et al.,
Sci Data 2026, doi:10.1038/s41597-026-08237-5) - so the class takes the
official acronym plus the paper year. Module, code, cache folder
(MNE-netbci2026-data), registry, api.rst, whats_new, summary CSV, NEMAR
exemption list and tests follow; the name was never released, so no alias.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

* Merge origin/develop into PR #1188; drop duplicated Chang2025 row (keep audited value)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
@bruAristimunha
bruAristimunha marked this pull request as ready for review October 4, 2026 17:06
@bruAristimunha
bruAristimunha merged commit b7e30e0 into NeuroTechX:develop Oct 4, 2026
11 checks passed
bruAristimunha added a commit that referenced this pull request Oct 4, 2026
#1190)

* Add four existing MATLAB motor imagery loaders with synthetic regressions

* Link MATLAB motor imagery draft PR in changelog

* test: audit and trim #1190 tests (-0 tests, coverage 77.6%->77.6%)

Drop the tautological post-filter assertion in _check_epochs (all synthetic trials share one amplitude, so a band-pass yields ~0 regardless of EDGE boundaries) and replace the positional/keyword call-arg juggling in test_download_flags with a transport stub that records (path, force_update, verbose); module lookup now uses cls.__module__ instead of a parametrised name + importlib.

Per-file coverage unchanged: jia2019 80%, ortiz2023 78%, yilmaz2024 93%, zju_mi2025 97%, preprocessing 40%. Test LOC 155 -> 144. 14 tests collected before/after.

* refactor: simplify #1190 loaders and tests (-355 LOC)

* refactor(datasets): shared loader helpers and montage-name compatibility

- resolve_montage_name (moabb.datasets._montage, re-exported by utils): MNE 1.13
  renamed standard_1005/1020 (and the other standard_* templates) to colin27_*,
  warns on the old names and 1.14 removes them. Returns the spelling the installed
  MNE knows; electrode files are byte-identical (dig positions checked equal on
  MNE 1.10.2, 1.12.1 and 1.13.2). Every make_standard_montage/set_montage call in
  moabb now goes through it; METADATA montage labels are descriptive and unchanged.
- download_and_extract_zip: download once, extract unless a marker exists,
  optional warn + forced re-download of a corrupted archive.
- read_raw_brainvision_repaired: repair stale DataFile/MarkerFile references in a
  temporary header (strict mode raises on missing entries/siblings).
- rename_stimulus_codes, edge_boundary_annotations; SetRawAnnotations keeps
  'EDGE boundary' markers.
- moabb.datasets._openneuro_mirror moved here verbatim (byte-identical copies in
  #1186 and #1189), with dataset-agnostic tests.

* DOC add PR number to the shared-helpers whats_new entries

* refactor: use shared loader helpers; exempt from NEMAR check; new montage names

Merges #1200 (datasets/shared-loader-helpers): local zip/BrainVision/EDGE-boundary
code replaced by moabb.datasets.utils helpers, montage calls spelled with the
MNE 1.13 colin27_* names via resolve_montage_name, new classes without a public
NEMAR mirror listed in NEMAR_ID_EXEMPT. Behaviour fingerprints unchanged.

* build: require mne>=1.13; spell colin27_* montages directly

MNE 1.13 renamed the standard_* templates to colin27_* (identical .elc
files). With the floor at 1.13 the resolve_montage_name shim and the
_montage module are not needed: every call site spells the new name.

* refactor(datasets): reuse existing code instead of new loader helpers

- download_and_extract_zip -> extend download_and_extract_subject_zip with
  keyword-only fname and redownload_corrupted (defaults keep the 10
  develop callers unchanged)
- read_raw_brainvision_repaired -> mne.io.read_raw_brainvision(overrides=)
  at the call sites (MNE >= 1.13)
- edge_boundary_annotations -> mne.Annotations(onsets, 0.0, 'EDGE boundary')
- drop_native_stim / relabel_annotations / write_dataset_description ->
  drop_channels / annotations.rename / mne_bids.make_dataset_description
- tests: no nested functions, Mock data_dl

* refactor: reuse download_and_extract_subject_zip and mne.Annotations

- download_and_extract_zip (Ortiz2023) -> develop's download_and_extract_subject_zip
  behind the usual extracted-folder check (keeps redownload_corrupted=True)
- edge_boundary_annotations -> mne.Annotations(onsets, 0.0, "EDGE boundary")
  in Jia2019, Yilmaz2024 and ZjuMI2025
- colin27_* montage names spelled directly (mne>=1.13)
- tests: Mock instead of monkeypatched lambdas and the nested data_dl fake

* fix(Jia2019): align metadata with 10.6084/m9.figshare.7636301 (paper audit)

- The secondary paper describing this release (arXiv:2604.16554, "2019-Stroke:
  ... 15 stroke patients ... 63 channels under the international 10-10 system
  at 512 Hz", 80 trials = 40 per class) is by Xiangkai Wang, not "Wang, K.";
  fix the citation and track its DOI in related_paper_dois.
- doi_cache.json: add 10.48550/arXiv.2604.16554 and 10.21203/rs.3.rs-4268007/v1
  (Yilmaz2024 open-access preprint, next commit), resolved through
  test_dois_resolve.

Evidence: ~/Projects/moabb/.paper-audit/reports/mi-figshare/Jia2019/report.md,
~/Projects/moabb/.paper-audit/Jia2019/paper-10_48550_arxiv_2604_16554.txt

* fix(Yilmaz2024): align metadata with 10.1007/s00521-024-10917-5 (paper audit)

Sources: Crossref record (published-online 2024-12-24, print 2025 vol. 37
pp. 4679-4696), the open-access Research Square preprint
10.21203/rs.3.rs-4268007/v1 (also the DOI registered on Zenodo record
13626922) and the Zenodo record description.

- investigators: "Beyda H. Yilmaz" -> "Bahar Hatipoglu Yilmaz" (Crossref).
- reference: the headset CMS/DRL sit at P9/P10 and "DC offset was removed by
  subtracting the average of the channels from each channel"; filters from
  the preprint (0.2-45 Hz bandwidth, 5th-order Sinc, 50/60 Hz notch, 0.16 Hz
  high-pass).
- participants: ages 25-35, two female, one left-handed (preprint).
- docstring: D01 recorded with 13 positions, D02-D08 with four extra sensors
  (FC1, CP1, FC2, CP2); the loader reads the same 13 channels for everyone.
- publication_year stays 2024 (online-first date and data release year).

Evidence: ~/Projects/moabb/.paper-audit/reports/mi-figshare/Yilmaz2024/report.md

* fix(Ortiz2023): align metadata with 10.1038/s41597-023-02243-7 (paper audit)

- reference/ground: "Ground and reference electrodes were located in the
  right (A2) and left (A1) ear lobes respectively" (Methods); the per-trial
  .json example lists the opposite sides, noted in the docstring.
- institution: "Miguel Hernandez University of Elche" (affiliation line).
- docstring: paper-vs-release note. The paper reports fourteen subjects over
  both scenarios; Table 1 lists nine Experience M-codes (M05-M11, M20, M21)
  with two Experience weeks for M05, M08 and M11, and M17 as the Slopes code
  of S4, whereas the loader follows the released archive (ten Experience
  M-codes incl. M17; two dates for M05 and M11 only). n_subjects stays 10
  (loader-exposed); flagged needs_real_data_check.

Evidence: ~/Projects/moabb/.paper-audit/reports/mi-figshare/Ortiz2023/report.md

* fix(ZjuMI2025): align metadata with 10.1109/TNSRE.2025.3591254 (paper audit)

Sources: the CC-BY open-access IEEE TNSRE paper and the Hugging Face
ZJU-MI-EEG/MI4 dataset card.

- hardware/filters: "EEG signals are acquired with a 62-channel g.USBamp
  amplifier (g.Tec medical engineering, Schiedelberg, Austria) in an extended
  10-20 system sampled at 256 Hz and highpass filtered above 0.1 Hz"; the
  release ships a 62channels_gNautilus.ced file, noted as a conflict.
- participants: "Fifteen healthy subjects (average age: 24+-5.1, twelve
  males)", "Ten of them are fully naive to BCIs".
- docstring: six calibration + four feedback runs of 40 trials per session
  (paper) are merged into the two released files per day; feedback trials
  last up to 10 s online but are stored as -1..4 s windows.

Evidence: ~/Projects/moabb/.paper-audit/reports/mi-figshare/ZjuMI2025/report.md

* refactor(ZjuMI2025): rename to Wang2025 (naming rule)

No source presents "ZJU-MI" or "MI4" as the dataset's name in prose: the
primary paper is titled "Enhanced Online Continuous Brain-Control by Deep
Learning-Based EEG Decoding" (Jiaheng Wang, Lin Yao, Yueming Wang; IEEE
TNSRE vol. 33, 2025, 10.1109/TNSRE.2025.3591254) and never mentions "MI4";
"# MI4 Dataset" is only the Hugging Face card heading of the MI4 sub-folder
and `ZJU-MI-EEG` the repository slug. Rule 2 gives FirstAuthorYear of the
primary paper: Wang2025. Renamed class, module, code, registry, api.rst,
whats_new, summary CSV, tests and the NEMAR exemption list; no deprecated
alias (the name was never released).

* refactor(Yilmaz2024): rename to MIBMPI2024 (naming rule)

The authors present MI-BMPI as the dataset's name: the Zenodo record 13626922
is titled "MI-BMPI: Motor Imagery Brain--Mobil Phone Interface Dataset" and
the paper is titled "MI-BMPI motor imagery brain-mobile phone dataset and
performance evaluation of voting ensembles utilizing QPDM" (Cagatay Murat
Yilmaz, Bahar Hatipoglu Yilmaz, Cemal Kose; Neural Computing and
Applications, published online 24 December 2024, 10.1007/s00521-024-10917-5;
Research Square preprint posted 16 April 2024). Rule 1 gives the official
name with the primary-paper year: MIBMPI2024. Renamed class, module, code,
registry, api.rst, whats_new, summary CSV, tests and the NEMAR exemption
list; no deprecated alias (the name was never released).
bruAristimunha added a commit that referenced this pull request Oct 4, 2026
* Add offline CNBI Perdikis2018 and SpinalStim2025 datasets

* Reference CNBI draft PR in changelog

* test: audit and trim #1191 tests (-4 tests, coverage 84.0%->83.5%)

- Fold test_download_flags[2] into the force-update archive test: the same transport
  stub already asserts (path, force_update, verbose) forwarding, and a follow-up
  plain call now proves the cached archive is not re-extracted.
- Merge test_perdikis2018_regression.py (copied 16-channel GDF fixture) into
  test_perdikis_units_first_last_epoch_bad_channel_and_labels: the fixture gains the
  trigger:1 stim channel and a 783 cue, and asserts positional rename to
  _EEG_CHANNELS + trigger drop and both_feet/both_hands/rest relabelling.
- Merge test_spinalstim2025_regression.py: the O2/OZ swap regression is now the input
  of the units/bads/first-last test (asserts restored channel order); the
  missing-EEG-channel error test moves into test_cnbi_offline.py unchanged.

Per-file coverage: perdikis2018 78% -> 77% (only the empty-drop branch of
_read_calibration_run is no longer taken), spinalstim2025 90% -> 90%.
Test LOC 237 -> 156; PR tests collected 14 -> 10.

* refactor: simplify #1191 loaders and tests (-197 LOC)

* refactor(datasets): shared loader helpers and montage-name compatibility

- resolve_montage_name (moabb.datasets._montage, re-exported by utils): MNE 1.13
  renamed standard_1005/1020 (and the other standard_* templates) to colin27_*,
  warns on the old names and 1.14 removes them. Returns the spelling the installed
  MNE knows; electrode files are byte-identical (dig positions checked equal on
  MNE 1.10.2, 1.12.1 and 1.13.2). Every make_standard_montage/set_montage call in
  moabb now goes through it; METADATA montage labels are descriptive and unchanged.
- download_and_extract_zip: download once, extract unless a marker exists,
  optional warn + forced re-download of a corrupted archive.
- read_raw_brainvision_repaired: repair stale DataFile/MarkerFile references in a
  temporary header (strict mode raises on missing entries/siblings).
- rename_stimulus_codes, edge_boundary_annotations; SetRawAnnotations keeps
  'EDGE boundary' markers.
- moabb.datasets._openneuro_mirror moved here verbatim (byte-identical copies in
  #1186 and #1189), with dataset-agnostic tests.

* DOC add PR number to the shared-helpers whats_new entries

* refactor: use shared loader helpers; exempt from NEMAR check; new montage names

Merges #1200 (datasets/shared-loader-helpers): local zip/BrainVision/EDGE-boundary
code replaced by moabb.datasets.utils helpers, montage calls spelled with the
MNE 1.13 colin27_* names via resolve_montage_name, new classes without a public
NEMAR mirror listed in NEMAR_ID_EXEMPT. Behaviour fingerprints unchanged.

* build: require mne>=1.13; spell colin27_* montages directly

MNE 1.13 renamed the standard_* templates to colin27_* (identical .elc
files). With the floor at 1.13 the resolve_montage_name shim and the
_montage module are not needed: every call site spells the new name.

* refactor(datasets): reuse existing code instead of new loader helpers

- download_and_extract_zip -> extend download_and_extract_subject_zip with
  keyword-only fname and redownload_corrupted (defaults keep the 10
  develop callers unchanged)
- read_raw_brainvision_repaired -> mne.io.read_raw_brainvision(overrides=)
  at the call sites (MNE >= 1.13)
- edge_boundary_annotations -> mne.Annotations(onsets, 0.0, 'EDGE boundary')
- drop_native_stim / relabel_annotations / write_dataset_description ->
  drop_channels / annotations.rename / mne_bids.make_dataset_description
- tests: no nested functions, Mock data_dl

* refactor: reuse download_and_extract_subject_zip in SpinalStim2025

- download_and_extract_zip (SpinalStim2025, one archive per cohort) -> develop's
  download_and_extract_subject_zip behind the usual extracted-folder check
- colin27_1005 montage name spelled directly (mne>=1.13)
- tests: Mock instead of monkeypatched lambdas and the nested transport fake

* refactor(SpinalStim2025): rename to Alawieh2025 (naming rule)

No source names the dataset "SpinalStim": the Zenodo record is titled "A
Multi-Session EEG Dataset of Longitudinal Motor Imagery BCI Training with
Transcutaneous Spinal Stimulation in Able-Bodied and Spinal Cord Injury
Participants" (creator "Hussein Alawieh") and it "Describes" the primary
paper, Alawieh et al., PNAS 122(24), 2025 (10.1073/pnas.2418920122; medRxiv
2024 preprint 10.1101/2024.06.10.24308723). Rule 2 gives FirstAuthorYear of
the primary paper: Alawieh2025. Renamed class, module, code, registry,
api.rst, whats_new, summary CSV, tests and the NEMAR exemption list; no
deprecated alias (the name was never released).

* fix(Alawieh2025): align metadata with 10.1073/pnas.2418920122 (paper audit)

Sources: Zenodo record 10.5281/zenodo.15454354 description and the PNAS
paper (Europe PMC PMC12184508 full text; Crossref author list).

- associated_paper_doi 10.1073/pnas.2418920122 (+ medRxiv preprint in
  related_paper_dois); both added to doi_cache.json via test_dois_resolve.
- reference/ground: "Ground: AFz; Reference: CPz" (record), replacing the
  unsupported "mastoids (M1, M2)"; hardware "ANTNeuro EEGO with Ag/AgCl-coated
  electrodes".
- investigators: "Liu Deland" -> "Deland Liu" (PNAS/Crossref author order).
- institution/ethics: "IRB Approval: University of Texas at Austin (Protocol
  #2020-03-0073)", "ClinicalTrials.gov Registration: NCT05183152".
- docstring: record's session format "3-4 runs/session 20 trials/run", cap
  sizes (32-channel healthy, 64-channel SCI/sub-groups) and the multi-day
  session labels that are pooled into one MOABB session.

Evidence: ~/Projects/moabb/.paper-audit/reports/mi-cnbi/SpinalStim2025/report.md
bruAristimunha added a commit that referenced this pull request Oct 4, 2026
#1192)

* feat(datasets): add continuous Shin2022 and neuroTUM MI readers

* docs: link reader draft PR in changelog

* refactor: simplify #1192 loaders and tests (-188 LOC)

Pass-2 review: kept the fail-closed/recovery path (corrupted-zip re-download or explicit extraction error) unchanged.

* refactor(datasets): shared loader helpers and montage-name compatibility

- resolve_montage_name (moabb.datasets._montage, re-exported by utils): MNE 1.13
  renamed standard_1005/1020 (and the other standard_* templates) to colin27_*,
  warns on the old names and 1.14 removes them. Returns the spelling the installed
  MNE knows; electrode files are byte-identical (dig positions checked equal on
  MNE 1.10.2, 1.12.1 and 1.13.2). Every make_standard_montage/set_montage call in
  moabb now goes through it; METADATA montage labels are descriptive and unchanged.
- download_and_extract_zip: download once, extract unless a marker exists,
  optional warn + forced re-download of a corrupted archive.
- read_raw_brainvision_repaired: repair stale DataFile/MarkerFile references in a
  temporary header (strict mode raises on missing entries/siblings).
- rename_stimulus_codes, edge_boundary_annotations; SetRawAnnotations keeps
  'EDGE boundary' markers.
- moabb.datasets._openneuro_mirror moved here verbatim (byte-identical copies in
  #1186 and #1189), with dataset-agnostic tests.

* DOC add PR number to the shared-helpers whats_new entries

* refactor: use shared loader helpers; exempt from NEMAR check; new montage names

Merges #1200 (datasets/shared-loader-helpers): local zip/BrainVision/EDGE-boundary
code replaced by moabb.datasets.utils helpers, montage calls spelled with the
MNE 1.13 colin27_* names via resolve_montage_name, new classes without a public
NEMAR mirror listed in NEMAR_ID_EXEMPT. Behaviour fingerprints unchanged.

* build: require mne>=1.13; spell colin27_* montages directly

MNE 1.13 renamed the standard_* templates to colin27_* (identical .elc
files). With the floor at 1.13 the resolve_montage_name shim and the
_montage module are not needed: every call site spells the new name.

* refactor(datasets): reuse existing code instead of new loader helpers

- download_and_extract_zip -> extend download_and_extract_subject_zip with
  keyword-only fname and redownload_corrupted (defaults keep the 10
  develop callers unchanged)
- read_raw_brainvision_repaired -> mne.io.read_raw_brainvision(overrides=)
  at the call sites (MNE >= 1.13)
- edge_boundary_annotations -> mne.Annotations(onsets, 0.0, 'EDGE boundary')
- drop_native_stim / relabel_annotations / write_dataset_description ->
  drop_channels / annotations.rename / mne_bids.make_dataset_description
- tests: no nested functions, Mock data_dl

* refactor: drop resolve_montage_name and test lambdas in MI readers

- resolve_montage_name("colin27_1020") -> "colin27_1020" (mne>=1.13)
- tests: Mock instead of monkeypatched / bound lambdas, asserting call_args

* fix(Shin2022): align metadata with 10.3389/fnhum.2022.951591 (paper audit)

Docstring-only paper-vs-release note (no value changed): the paper states
"Each session consisted of 10 runs of 24 1D LR center-out discrete trials"
because the NT = 0 run "was jointly represented by the 'BW = 60 s (default)'
run, thus forming 10 runs (4 + 2 + 4)", while MOABB documents 11 run files
(NT0/NT24/NT48). The loader enumerates the archive, so runs_per_session=11
and n_trials=2640 stay declared but are flagged needs_real_data_check. The
60 Hz line frequency is supported by the online "Notch filtered 58-62 Hz".

Evidence: ~/Projects/moabb/.paper-audit/reports/mi-readers/Shin2022/report.md

* fix(neuroTUMBCI): align metadata with 10.5281/zenodo.18087806 (paper audit)

- publication_year 2026 -> 2025: the Zenodo record is issued 2025-12-29
  (DataCite "publicationYear": 2025) and the preprint arXiv:2511.23384 was
  first posted in November 2025 (the cached v4 is dated 30 Mar 2026); the
  citation year is corrected accordingly.
- docstring: "The pilot IDs are P1 for the patient and P2 for the healthy
  participant" (paper, Availability of data); record creator is the
  organisation "neuroTUM e.V." while the preprint's first author is
  Isabel W. Tscherniak (class name kept pending decision, see audit report).

Evidence: ~/Projects/moabb/.paper-audit/reports/mi-readers/neuroTUMBCI/report.md

* refactor(neuroTUMBCI): rename to NeuroTUMBCI2025 (naming rule)

The record presents the name itself: Zenodo 18087806 is titled "neuroTUM-BCI:
Cybathlon Dataset" (creator neuroTUM e.V., issued 2025; the associated arXiv
preprint 2511.23384, Tscherniak et al. 2025, has no dataset name in its
title). Rule 1 gives the official name in Python class spelling (first
letter upper-cased, hyphen removed) plus the record year, since the name
carries none: NeuroTUMBCI2025. Renamed class, module, code (was
"neuroTUM-BCI"), registry, api.rst, whats_new, summary CSV, tests and the
NEMAR exemption list; no deprecated alias (the name was never released).

* [pre-commit.ci] auto fixes from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
bruAristimunha added a commit that referenced this pull request Oct 4, 2026
…Peon2024 and PardoGarcia2026 (#1193)

* Add five archive motor imagery dataset loaders and offline regressions

* Link archive dataset changelog to PR 1193

* test: audit and trim #1193 tests (-2 tests, coverage 79.0%->79.0%)

Merge the four archive-B regression modules into test_archive_b_regression.py
with a shared _capture_transport helper (the data_dl recorder was copied in
two files). Drop test_pure_imagery_window_precedes_overt_execution (restated
interval/event_id/constant dict and grepped docstring/metadata strings), the
MNE filter-independence block of the Leeuwis test (exercised MNE, not moabb),
and the redundant control-subject param of the PardoGarcia session test.

Per-file coverage (before -> after): leeuwis2021 89->89, li2026 67->67,
martinezpeon2024 77->77, openvibe 88->88, pardogarcia2026 74->74.
Test LOC added vs develop: 254 -> 201; PR tests collected: 14 -> 12.

* refactor: simplify #1193 loaders and tests (-681 LOC)

* refactor(datasets): shared loader helpers and montage-name compatibility

- resolve_montage_name (moabb.datasets._montage, re-exported by utils): MNE 1.13
  renamed standard_1005/1020 (and the other standard_* templates) to colin27_*,
  warns on the old names and 1.14 removes them. Returns the spelling the installed
  MNE knows; electrode files are byte-identical (dig positions checked equal on
  MNE 1.10.2, 1.12.1 and 1.13.2). Every make_standard_montage/set_montage call in
  moabb now goes through it; METADATA montage labels are descriptive and unchanged.
- download_and_extract_zip: download once, extract unless a marker exists,
  optional warn + forced re-download of a corrupted archive.
- read_raw_brainvision_repaired: repair stale DataFile/MarkerFile references in a
  temporary header (strict mode raises on missing entries/siblings).
- rename_stimulus_codes, edge_boundary_annotations; SetRawAnnotations keeps
  'EDGE boundary' markers.
- moabb.datasets._openneuro_mirror moved here verbatim (byte-identical copies in
  #1186 and #1189), with dataset-agnostic tests.

* DOC add PR number to the shared-helpers whats_new entries

* refactor: use shared loader helpers; exempt from NEMAR check; new montage names

Merges #1200 (datasets/shared-loader-helpers): local zip/BrainVision/EDGE-boundary
code replaced by moabb.datasets.utils helpers, montage calls spelled with the
MNE 1.13 colin27_* names via resolve_montage_name, new classes without a public
NEMAR mirror listed in NEMAR_ID_EXEMPT. Behaviour fingerprints unchanged.

* build: require mne>=1.13; spell colin27_* montages directly

MNE 1.13 renamed the standard_* templates to colin27_* (identical .elc
files). With the floor at 1.13 the resolve_montage_name shim and the
_montage module are not needed: every call site spells the new name.

* refactor(datasets): reuse existing code instead of new loader helpers

- download_and_extract_zip -> extend download_and_extract_subject_zip with
  keyword-only fname and redownload_corrupted (defaults keep the 10
  develop callers unchanged)
- read_raw_brainvision_repaired -> mne.io.read_raw_brainvision(overrides=)
  at the call sites (MNE >= 1.13)
- edge_boundary_annotations -> mne.Annotations(onsets, 0.0, 'EDGE boundary')
- drop_native_stim / relabel_annotations / write_dataset_description ->
  drop_channels / annotations.rename / mne_bids.make_dataset_description
- tests: no nested functions, Mock data_dl

* refactor: reuse download_and_extract_subject_zip and MNE BrainVision overrides

- download_and_extract_zip -> develop's download_and_extract_subject_zip
  behind the usual extracted-folder check (Li2026)
- read_raw_brainvision_repaired -> mne.io.read_raw_brainvision(overrides=)
  (PardoGarcia2026)
- edge_boundary_annotations -> mne.Annotations(onsets, 0.0, "EDGE boundary")
  (Leeuwis2021)
- colin27_* montage names spelled directly (mne>=1.13)
- Li2026: nested Curry sidecar parsers and sort key hoisted to module level
- tests: Mock instead of monkeypatched lambdas and nested transport

* fix(OpenViBE): align metadata with 10.1016/j.neucom.2011.10.010 (paper audit)

needs_real_data_check

The author-deposited open-access copy of Brodu et al. (2012) (HAL
inria-00632546, section 4.1.4 "OpenViBE / INRIA data (1 subject)") states:
"This data set comprises EEG signals from a single subject for which 560
trials of motor imagery (280 trials per class) were recorded over a 2 week
period." 14 records x 40 trials (20 per class) = 560, so the 14 records of
"Dataset #1 - Motor Imagery of Hands" on openvibe.inria.fr are 14 recordings
of ONE subject, not 14 subjects.

Loader behaviour change: subjects=[1], one session, one run per record
(14 runs, keys "0".."13"); data_path returns the 14 record files.
n_subjects 14 -> 1, trials_per_class 20 -> 280, runs_per_session=14; summary
CSV updated (1 subject, 280 trials/class, 14 runs, 560 total). The synthetic
regression tests were updated (transport count 14; session/run layout).

Also from the sources: reference "nose reference electrode" (paper) vs
"recorded in common average mode and Nz can be used as a reference"
(download page) - both documented; institution "INRIA ... Rennes-Bretagne
Atlantique"; publication_year 2012 (paper; page: recorded 2008/03, uploaded
2010/03); licence wording "can be downloaded for free in the hope that they
can help research".

Evidence: ~/Projects/moabb/.paper-audit/reports/mi-archive-b/OpenViBE/report.md,
~/Projects/moabb/.paper-audit/OpenViBE/paper-10_1016_j_neucom_2011_10_010.txt,
~/Projects/moabb/.paper-audit/OpenViBE/repo/openvibe_inria_datasets/landing_page.txt

* fix(PardoGarcia2026): align metadata with 10.5281/zenodo.19599465 (paper audit)

Sources: Zenodo record description, the companion Research Square preprint
on the same cohort (10.21203/rs.3.rs-6958817/v1) and the CASEIB 2023
proceedings paper (10.31428/10317/13645); both DOIs tracked in
related_paper_dois and added to doi_cache.json via test_dois_resolve.

- reference: "with A2 as reference" (preprint; CASEIB: "incluyendo el
  mastoides ... como referencia"); cap "64-channel Ag/AgCl electrode cap
  (Electro-Cap International)"; line_freq 50 Hz ("notch filtering (50 Hz)").
- institution: "Instituto Pluridisciplinar, Universidad Complutense de
  Madrid" (recording site), Universidad Politecnica de Madrid, Hospital
  Clinico San Carlos; the previously listed UNED appears in no source.
- docstring: paper-vs-release note - record says "7 right-handed healthy
  controls" and "64-channel system" while the release holds eight control
  recordings and 63 header channels; n_subjects stays 18 (release).

Evidence: ~/Projects/moabb/.paper-audit/reports/mi-archive-b/PardoGarcia2026/report.md

* fix(Li2026): align metadata with 10.5281/zenodo.20421767 (paper audit)

The Zenodo description reads "synchronized EEG and EMG data from 244
participants" and names the dataset "The IMU-MI_A dataset"; the module said
242 in three places (no source supports 242). n_subjects stays 5 (the public
five-subject sample loaded by MOABB), now stated explicitly in the docstring.

Evidence: ~/Projects/moabb/.paper-audit/reports/mi-archive-b/Li2026/report.md

* fix(MartinezPeon2024): align metadata with 10.1088/1741-2552/ad5f27 (paper audit)

Source: the open-access (CC BY) J. Neural Eng. article, fetched from IOP.

- reference: "with P3 and P4 as reference locations, according to the
  International 10-20 System".
- participants: "ten participants (seven males, aged 27.8 +- 2.78, range
  24-32 years)".
- institution: TecNM - IT Nuevo Leon and Cinvestav Saltillo (affiliations);
  country MX confirmed ("Guadalupe, Mexico", "Saltillo, Mexico").
- line_freq 60 Hz supported ("followed by a 60 Hz notch filter").
- docstring: full citation of the article as [2].

Evidence: ~/Projects/moabb/.paper-audit/reports/mi-archive-b/MartinezPeon2024/report.md

* refactor(OpenViBE): rename to Brodu2012 (naming rule)

OpenViBE is the software platform/hosting project, not a dataset name: the
download page lists the data only as "Dataset #1 - Motor Imagery of Hands"
and the primary paper, "Exploring two novel features for EEG-based
brain-computer interfaces: Multifractal cumulants and predictive
complexity" (Nicolas Brodu, Fabien Lotte, Anatole Lecuyer; Neurocomputing
79, 2012, 10.1016/j.neucom.2011.10.010), refers to it as "OpenViBE / INRIA
data" describing "a single subject for which 560 trials of motor imagery
(280 trials per class) were recorded". Rule 2 gives FirstAuthorYear of the
primary paper: Brodu2012. Renamed class, module, code, registry, api.rst,
whats_new, summary CSV, tests and the NEMAR exemption list; the remaining
"OpenViBE" mentions describe the software, mirror and repository. No
deprecated alias (the name was never released).

* refactor(Li2026): rename to IMUMIA2026 (naming rule)

The authors present IMU-MI_A as the dataset's name in the record prose:
the Zenodo 20421767 description opens "The IMU-MI_A dataset is a unique
large-scale motor imagery resource supporting cross-paradigm studies of
temporal brain dynamics" and closes "IMU-MI_A provides a valuable resource
for the BCI and neuroscience communities" (record title "A Human Motor
Imagery EEG Dataset Covering Diverse Cognitive States and Neural Response
Patterns", creators jianxiu li, changming wang, chao chen, 2026; no paper).
Rule 1 gives the official name with hyphen/underscore removed plus the
record year: IMUMIA2026. Renamed class, module, code, registry, api.rst,
whats_new, summary CSV, tests and the NEMAR exemption list; no deprecated
alias (the name was never released).

* fix(IMUMIA2026): discover subjects from the numeric archive file names

The Zenodo release (10.5281/zenodo.20421767) ships purely numeric per-task
.cdt file names (e.g. task1/0101001.cdt, task5/01020200.cdt), not the
Sub_NN.cdt layout the loader assumed. The 'Sub_(\\d+)' regex therefore
raised AttributeError('NoneType') on every real file and get_data()
failed before any Curry read.

Within each task directory every file has the same digit count and the
only varying field is the subject's ordinal position in the five-subject
sample, so a plain lexicographic sort reproduces the authors' order and
maps subject n (1..5) to the n-th file. The synthetic archive test is
updated to the real naming.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

* [pre-commit.ci] auto fixes from pre-commit.com hooks

---------

Co-authored-by: Bruno Aristimunha <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
bruAristimunha added a commit that referenced this pull request Oct 4, 2026
…ueper (#1194)

* Add five archived motor-task dataset loaders with offline regressions

* Link archived motor-task loaders changelog to PR 1194

* Fix Han2026 unverified NEMAR mirror declaration

* test: audit and trim #1194 tests (-5 tests, coverage 85.2%->85.2%)

Fold the five-way invalid-subject parametrisation into the existing per-dataset
transport tests (each already instantiates the dataset), drop the MNE epoching
block from the Kodera channel test (exercised MNE, not moabb), drop the restated
Han2026 doi attribute (covered by test_doi_validation), and replace the Kodera
transport fixture's re-implementation of the stem-matching rule with a literal
manifest that also carries a sibling subject's file.

Per-file coverage (before -> after): batista2022 90->90, dfki2023 85->85,
farabbi2020 77->77, han2026 96->96, kodera2023 78->78.
Test LOC added vs develop: 219 -> 205; PR tests collected: 18 -> 13.

* refactor: simplify #1194 loaders and tests (-593 LOC)

Pass-2 review: kept the fail-closed/recovery path (corrupted-zip re-download or explicit extraction error) unchanged.

* refactor(datasets): shared loader helpers and montage-name compatibility

- resolve_montage_name (moabb.datasets._montage, re-exported by utils): MNE 1.13
  renamed standard_1005/1020 (and the other standard_* templates) to colin27_*,
  warns on the old names and 1.14 removes them. Returns the spelling the installed
  MNE knows; electrode files are byte-identical (dig positions checked equal on
  MNE 1.10.2, 1.12.1 and 1.13.2). Every make_standard_montage/set_montage call in
  moabb now goes through it; METADATA montage labels are descriptive and unchanged.
- download_and_extract_zip: download once, extract unless a marker exists,
  optional warn + forced re-download of a corrupted archive.
- read_raw_brainvision_repaired: repair stale DataFile/MarkerFile references in a
  temporary header (strict mode raises on missing entries/siblings).
- rename_stimulus_codes, edge_boundary_annotations; SetRawAnnotations keeps
  'EDGE boundary' markers.
- moabb.datasets._openneuro_mirror moved here verbatim (byte-identical copies in
  #1186 and #1189), with dataset-agnostic tests.

* DOC add PR number to the shared-helpers whats_new entries

* refactor: use shared loader helpers; exempt from NEMAR check; new montage names

Merges #1200 (datasets/shared-loader-helpers): local zip/BrainVision/EDGE-boundary
code replaced by moabb.datasets.utils helpers, montage calls spelled with the
MNE 1.13 colin27_* names via resolve_montage_name, new classes without a public
NEMAR mirror listed in NEMAR_ID_EXEMPT. Behaviour fingerprints unchanged.

* build: require mne>=1.13; spell colin27_* montages directly

MNE 1.13 renamed the standard_* templates to colin27_* (identical .elc
files). With the floor at 1.13 the resolve_montage_name shim and the
_montage module are not needed: every call site spells the new name.

* refactor(datasets): reuse existing code instead of new loader helpers

- download_and_extract_zip -> extend download_and_extract_subject_zip with
  keyword-only fname and redownload_corrupted (defaults keep the 10
  develop callers unchanged)
- read_raw_brainvision_repaired -> mne.io.read_raw_brainvision(overrides=)
  at the call sites (MNE >= 1.13)
- edge_boundary_annotations -> mne.Annotations(onsets, 0.0, 'EDGE boundary')
- drop_native_stim / relabel_annotations / write_dataset_description ->
  drop_channels / annotations.rename / mne_bids.make_dataset_description
- tests: no nested functions, Mock data_dl

* refactor: reuse download_and_extract_subject_zip and MNE BrainVision overrides

- download_and_extract_zip -> develop's download_and_extract_subject_zip
  behind the usual extracted-folder check
- read_raw_brainvision_repaired -> mne.io.read_raw_brainvision(overrides=)
- colin27_* montage names spelled directly (mne>=1.13)
- tests: Mock instead of monkeypatched lambdas

* fix(DFKI2023): align metadata with 10.1038/s41598-024-65910-8 (paper audit)

runs_per_session=6 and design trial counts (3 sets x 40 per task, 120 per
class) from the paper; docstring notes that 500 Hz is the EEG rate (2000 Hz
is the EMG) and that the ground electrode is not stated.
Evidence: /Users/bruaristimunha/Projects/moabb/.paper-audit/reports/mi-archive-a/DFKI2023/report.md

* fix(Batista2022): align metadata with 10.5281/zenodo.7664068 (paper audit)

Add age_mean/age_std from the Zenodo record; docstring documents the
subject list (17 numbered + 3 pilots = 20) and the missing institution/country.
Evidence: /Users/bruaristimunha/Projects/moabb/.paper-audit/reports/mi-archive-a/Batista2022/report.md

* fix(Farabbi2020): align metadata with 10.5281/zenodo.5882500 (paper audit)

Add per-subject trial counts (20 left + 20 right per run, 4 runs x 3
sessions) from the Zenodo record; docstring notes the Lisbon ethics approval.
Evidence: /Users/bruaristimunha/Projects/moabb/.paper-audit/reports/mi-archive-a/Farabbi2020/report.md

* fix(Han2026): align metadata with 10.18112/openneuro.ds007327.v1.1.0 (paper audit)

Add gender and age from participants.tsv (20 F / 15 M, 21.5 +/- 1.9 y);
docstring flags that reference/ground are not stated in the BIDS metadata.
Evidence: /Users/bruaristimunha/Projects/moabb/.paper-audit/reports/mi-archive-a/Han2026/report.md

* fix(Kodera2023): document unverifiable metadata for 10.5281/zenodo.7893846 (paper audit)

The Zenodo record has only a one-line description and no linked paper;
docstring says which fields are derived from the archive contents.
Evidence: /Users/bruaristimunha/Projects/moabb/.paper-audit/reports/mi-archive-a/Kodera2023/report.md

* refactor(DFKI2023): rename to Kueper2024 (naming rule)

DFKI is the institute (German Research Centre for Artificial Intelligence),
not a dataset name: the Zenodo record 10229480 is titled "EEG dataset of
unilateral and bilateral movement executions" (creators Niklas Kueper, Su
Kyoung Kim, Elsa Andrea Kirchner; 2023) and the primary paper is Kueper,
Kim and Kirchner, "Avoidance of specific calibration sessions in motor
intention recognition for exoskeleton-supported rehabilitation through
transfer learning on EEG data", Scientific Reports 2024
(10.1038/s41598-024-65910-8). Rule 2 gives FirstAuthorYear of the primary
paper: Kueper2024. Renamed class, module, code, registry, api.rst,
whats_new, summary CSV, tests and the NEMAR exemption list; no deprecated
alias (the name was never released).

* [pre-commit.ci] auto fixes from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
bruAristimunha added a commit that referenced this pull request Oct 4, 2026
#1195)

* Add four large-recording motor task datasets with offline regressions

* Link large motor dataset changelog to draft PR 1195

* test: audit and trim #1195 tests (-5 tests, coverage 72.8%->72.8%)

Per-file coverage unchanged: garro2025 71%, mind2026 88%, moving2024 61%, thapa2025 71%.

- Merge MIND/Thapa transport force=False/True params into single cached-then-forced sequences.
- Merge the two complete-run MIND2026 TSV tests; drop the interval attribute restatement.
- Deparametrise the overfull-without-restart fail-closed test (shared validator).
- Fold the private _target_from_description probe into the events.tsv boundary test.
- Drop reader call-shape asserts from the stale BrainVision header test.

* refactor: simplify #1195 loaders and tests (-205 LOC)

- Garro2025: compact subject file-id table (values unchanged), BIDSPath list
  comprehension, shorter docstrings.
- MIND2026/Thapa2025: module docstrings reduced to one line (references stay
  in the class docstring); MIND restart guard: one count formatter and one
  half-order check; Thapa events.tsv reader collapsed to one parse with a single
  fail-closed ValueError (same accepted rows and error type), run counter
  replaced by dict length, channel typing in one dict.
- MOVING2024: channel list as one split string; Parameters boilerplate removed.
- Tests: MIND and Thapa regression files merged into
  test_large_motor_regression.py; the two MIND fail-closed cases table-driven.

Behaviour: loader fingerprint (Thapa events/assembly, MIND 9 event-stream
scenarios incl. error types, MOVING both modes, Garro run keys/renames) and
METADATA/summary/DOI fingerprint identical.

* test: table-drive #1195 MIND accepted-run cases (-37 LOC)

The balanced, subject-4 (sidecar restart) and subject-19 (marker restart)
cases share one assertion: exact labels and onsets of the final 40 MI events.
Fail-closed cases unchanged.

* refactor(datasets): shared loader helpers and montage-name compatibility

- resolve_montage_name (moabb.datasets._montage, re-exported by utils): MNE 1.13
  renamed standard_1005/1020 (and the other standard_* templates) to colin27_*,
  warns on the old names and 1.14 removes them. Returns the spelling the installed
  MNE knows; electrode files are byte-identical (dig positions checked equal on
  MNE 1.10.2, 1.12.1 and 1.13.2). Every make_standard_montage/set_montage call in
  moabb now goes through it; METADATA montage labels are descriptive and unchanged.
- download_and_extract_zip: download once, extract unless a marker exists,
  optional warn + forced re-download of a corrupted archive.
- read_raw_brainvision_repaired: repair stale DataFile/MarkerFile references in a
  temporary header (strict mode raises on missing entries/siblings).
- rename_stimulus_codes, edge_boundary_annotations; SetRawAnnotations keeps
  'EDGE boundary' markers.
- moabb.datasets._openneuro_mirror moved here verbatim (byte-identical copies in
  #1186 and #1189), with dataset-agnostic tests.

* DOC add PR number to the shared-helpers whats_new entries

* refactor: use shared loader helpers; exempt from NEMAR check; new montage names

Merges #1200 (datasets/shared-loader-helpers): local zip/BrainVision/EDGE-boundary
code replaced by moabb.datasets.utils helpers, montage calls spelled with the
MNE 1.13 colin27_* names via resolve_montage_name, new classes without a public
NEMAR mirror listed in NEMAR_ID_EXEMPT. Behaviour fingerprints unchanged.

* build: require mne>=1.13; spell colin27_* montages directly

MNE 1.13 renamed the standard_* templates to colin27_* (identical .elc
files). With the floor at 1.13 the resolve_montage_name shim and the
_montage module are not needed: every call site spells the new name.

* refactor(datasets): reuse existing code instead of new loader helpers

- download_and_extract_zip -> extend download_and_extract_subject_zip with
  keyword-only fname and redownload_corrupted (defaults keep the 10
  develop callers unchanged)
- read_raw_brainvision_repaired -> mne.io.read_raw_brainvision(overrides=)
  at the call sites (MNE >= 1.13)
- edge_boundary_annotations -> mne.Annotations(onsets, 0.0, 'EDGE boundary')
- drop_native_stim / relabel_annotations / write_dataset_description ->
  drop_channels / annotations.rename / mne_bids.make_dataset_description
- tests: no nested functions, Mock data_dl

* refactor: reuse data_dl's cache and MNE BrainVision overrides

- read_raw_brainvision_repaired(strict=True) -> mne.io.read_raw_brainvision(overrides=)
  (Thapa2025)
- Garro2025: nested local_or_download dropped; data_dl already caches each
  Figshare file under MNE-garro2025-data/files/<id>
- MIND2026: nested count formatter hoisted to module level; sort key is
  operator.itemgetter(0)
- colin27_* montage names spelled directly (mne>=1.13)
- tests: Mock instead of nested transports and monkeypatched lambdas

* fix(Garro2025): align metadata with 10.1038/s41597-025-05042-4 (paper audit)

Add ground=Fpz, gender and age from the data descriptor; docstring records
the paper-vs-release subject count (40 designed, 39 released) and that the
Figshare licence was not verified.
Evidence: /Users/bruaristimunha/Projects/moabb/.paper-audit/reports/mi-large/Garro2025/report.md

* fix(MIND2026): align metadata with 10.57760/sciencedb.34326 (paper audit)

The ScienceDB record is CC BY-NC 4.0, not CC BY 4.0.
Evidence: /Users/bruaristimunha/Projects/moabb/.paper-audit/reports/mi-large/MIND2026/report.md

* fix(MOVING2024): document paper coverage for 10.3390/s24165207 (paper audit)

The paper states neither the participant count nor the raw rate; note the
sources of 11 subjects (Zenodo) and 500 Hz (EDF headers).
Evidence: /Users/bruaristimunha/Projects/moabb/.paper-audit/reports/mi-large/MOVING2024/report.md

* fix(Thapa2025): align metadata with 10.1038/s41597-025-06039-9 (paper audit)

Add the acquisition hardware (actiCHamp Plus + actiCAP snap, Brain Products)
stated in the paper.
Evidence: /Users/bruaristimunha/Projects/moabb/.paper-audit/reports/mi-large/Thapa2025/report.md

* refactor(Garro2025): rename to NeBULA2025 (naming rule)

The authors present NeBULA as the dataset's name in prose: the primary
paper, Garro et al., "An EEG-EMG dataset from a standardized reaching task
for biomarker research in upper limb assessment" (Scientific Data 2025,
10.1038/s41597-025-05042-4), states "we introduce NeBULA (Neuromechanical
Biomarkers for Upper Limb Assessment), a dataset designed to derive
neuromechanical biomarkers into objective movement metrics." Rule 1 gives
the official name with the primary-paper year: NeBULA2025. Renamed class,
module, code, registry, api.rst, whats_new, summary CSV, tests and the
NEMAR exemption list; no deprecated alias (the name was never released).

* refactor(MIND2026, MOVING2024): simplify loaders (no behaviour change)

- mind2026.py: hoist the zipfile import to module level (was imported inline inside data_path).
- moving2024.py: merge two adjacent single-statement warnings.catch_warnings() blocks in _get_single_subject_data into one.
No change to METADATA, class names, events, interval, or _get_single_subject_data output.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
bruAristimunha added a commit that referenced this pull request Oct 4, 2026
* Add draft WRCC and MIMED motor imagery loaders with isolated trials

* Link WRCC and MIMED changelog to PR 1196

* test: audit and trim #1196 tests (-6 tests, coverage 87.0%->87.0%)

Per-file coverage unchanged: wirawan2024 83%, wrcc2023_mi_a 87%, wrcc2023_mi_b 89%, wrcc2023_mi_c 89%.

- Reduce the invalid-label matrix to one case per branch of the shared check
  (trial-count mismatch, bad class code); [1,2,3] and [1,2.5] duplicated them.
- Drop the per-run filter self-comparison (run independence is already
  guarded by n_times == 4000 and the exact get_data() equality).

* refactor: simplify #1196 loaders and tests (-504 LOC)

- WRCC2023_MI_A/B/C: one module (wrcc2023.py) with a shared _WRCC2023 loader;
  three copies of data_path/_get_single_subject_data/_mat_to_raw collapsed.
  Trials are built as runs directly (no concat-then-split); dead branches
  (list paths, ndim==2 reshape, duplicate channel-count check) removed.
- Drop hand-written 'Dataset summary' tables (the metaclass renders them from
  summary_imagery.csv, so they appeared twice); shorten docstring prose.
- Wirawan2024: compact channel list, drop unused constant, shorter docstrings.
- Tests: shared fake-file helper; stored-window test on MI-A (fs) + MI-B (no fs);
  invalid-source table incl. fs check; URL asserts the per-class file id.

Behaviour: loader fingerprint (fake .mat, per-run data hash, annotations,
events, montage) and METADATA/summary/DOI fingerprint identical.

* refactor(datasets): shared loader helpers and montage-name compatibility

- resolve_montage_name (moabb.datasets._montage, re-exported by utils): MNE 1.13
  renamed standard_1005/1020 (and the other standard_* templates) to colin27_*,
  warns on the old names and 1.14 removes them. Returns the spelling the installed
  MNE knows; electrode files are byte-identical (dig positions checked equal on
  MNE 1.10.2, 1.12.1 and 1.13.2). Every make_standard_montage/set_montage call in
  moabb now goes through it; METADATA montage labels are descriptive and unchanged.
- download_and_extract_zip: download once, extract unless a marker exists,
  optional warn + forced re-download of a corrupted archive.
- read_raw_brainvision_repaired: repair stale DataFile/MarkerFile references in a
  temporary header (strict mode raises on missing entries/siblings).
- rename_stimulus_codes, edge_boundary_annotations; SetRawAnnotations keeps
  'EDGE boundary' markers.
- moabb.datasets._openneuro_mirror moved here verbatim (byte-identical copies in
  #1186 and #1189), with dataset-agnostic tests.

* DOC add PR number to the shared-helpers whats_new entries

* refactor: use shared loader helpers; exempt from NEMAR check; new montage names

Merges #1200 (datasets/shared-loader-helpers): local zip/BrainVision/EDGE-boundary
code replaced by moabb.datasets.utils helpers, montage calls spelled with the
MNE 1.13 colin27_* names via resolve_montage_name, new classes without a public
NEMAR mirror listed in NEMAR_ID_EXEMPT. Behaviour fingerprints unchanged.

* build: require mne>=1.13; spell colin27_* montages directly

MNE 1.13 renamed the standard_* templates to colin27_* (identical .elc
files). With the floor at 1.13 the resolve_montage_name shim and the
_montage module are not needed: every call site spells the new name.

* refactor(datasets): reuse existing code instead of new loader helpers

- download_and_extract_zip -> extend download_and_extract_subject_zip with
  keyword-only fname and redownload_corrupted (defaults keep the 10
  develop callers unchanged)
- read_raw_brainvision_repaired -> mne.io.read_raw_brainvision(overrides=)
  at the call sites (MNE >= 1.13)
- edge_boundary_annotations -> mne.Annotations(onsets, 0.0, 'EDGE boundary')
- drop_native_stim / relabel_annotations / write_dataset_description ->
  drop_channels / annotations.rename / mne_bids.make_dataset_description
- tests: no nested functions, Mock data_dl

* refactor: reuse download_and_extract_subject_zip in Wirawan2024

- download_and_extract_zip (Wirawan2024) -> develop's download_and_extract_subject_zip
  behind the usual extracted-folder check (keeps redownload_corrupted=True; the
  extension-less Mendeley download is renamed to .zip by the develop function)
- colin27_* montage names spelled directly (mne>=1.13)
- tests: Mock instead of monkeypatched lambdas

* fix(WRCC2023_MI_A/B/C): align metadata with the Harvard Dataverse records (paper audit)

Subject counts 9/9/8 confirmed from the Dataverse file lists (subjectN.mat);
the record description's 'two individuals' are the stroke patients. Add the
record creator as investigators for MI-A/MI-C (as MI-B already had).
Evidence: /Users/bruaristimunha/Projects/moabb/.paper-audit/reports/mi-wrcc/WRCC2023_MI_A/report.md

* fix(Wirawan2024): align metadata with 10.1016/j.dib.2024.110833 (paper audit)

Add gender (16 M / 14 F) and the acquisition institution (Universitas
Pendidikan Ganesha) from the Data in Brief article; docstring records the
24-trial design vs the 12 windows exposed by the loader.
Evidence: /Users/bruaristimunha/Projects/moabb/.paper-audit/reports/mi-wrcc/Wirawan2024/report.md

* refactor(Wirawan2024): rename to MIMED2024 (naming rule)

The authors present MIMED as the dataset's name: the primary paper is
titled "Acquisition and processing of Motor Imagery and Motor Execution
Dataset (MIMED) for six movement activities" (I Made Agus Wirawan et al.,
Data in Brief 2024, 10.1016/j.dib.2024.110833) and the Mendeley Data record
10.17632/zs25xxjkm9.3 is titled "MIMED" (2024). Rule 1 gives the official
name with the primary-paper year: MIMED2024. Renamed class, module, code,
registry, api.rst, whats_new, summary CSV, tests and the NEMAR exemption
list; no deprecated alias (the name was never released).

* [pre-commit.ci] auto fixes from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
bruAristimunha added a commit that referenced this pull request Oct 4, 2026
…#1197)

* feat(datasets): add Pan cross-session and Polo lower-limb MI loaders

* docs: link dataset draft PR in changelog

* test: audit and trim #1197 tests (-0 tests, coverage 68.8%->68.8%)

Replace the MNE-behaviour filter round-trip in test_stored_windows with a
direct assertion that the EDGE boundary annotation sits at the stored-trial
join (also subsumes the bare description-presence check). No test removed;
6 LOC fewer. Per-file coverage unchanged: pan2023 82%, pan2025 83%,
polohortiguela2025 70%, preprocessing 40%.

* refactor: simplify #1197 loaders and tests (-295 LOC)

Pass-2 review: kept the fail-closed/recovery path (corrupted-zip re-download or explicit extraction error) unchanged.

* refactor(datasets): shared loader helpers and montage-name compatibility

- resolve_montage_name (moabb.datasets._montage, re-exported by utils): MNE 1.13
  renamed standard_1005/1020 (and the other standard_* templates) to colin27_*,
  warns on the old names and 1.14 removes them. Returns the spelling the installed
  MNE knows; electrode files are byte-identical (dig positions checked equal on
  MNE 1.10.2, 1.12.1 and 1.13.2). Every make_standard_montage/set_montage call in
  moabb now goes through it; METADATA montage labels are descriptive and unchanged.
- download_and_extract_zip: download once, extract unless a marker exists,
  optional warn + forced re-download of a corrupted archive.
- read_raw_brainvision_repaired: repair stale DataFile/MarkerFile references in a
  temporary header (strict mode raises on missing entries/siblings).
- rename_stimulus_codes, edge_boundary_annotations; SetRawAnnotations keeps
  'EDGE boundary' markers.
- moabb.datasets._openneuro_mirror moved here verbatim (byte-identical copies in
  #1186 and #1189), with dataset-agnostic tests.

* DOC add PR number to the shared-helpers whats_new entries

* refactor: use shared loader helpers; exempt from NEMAR check; new montage names

Merges #1200 (datasets/shared-loader-helpers): local zip/BrainVision/EDGE-boundary
code replaced by moabb.datasets.utils helpers, montage calls spelled with the
MNE 1.13 colin27_* names via resolve_montage_name, new classes without a public
NEMAR mirror listed in NEMAR_ID_EXEMPT. Behaviour fingerprints unchanged.

* build: require mne>=1.13; spell colin27_* montages directly

MNE 1.13 renamed the standard_* templates to colin27_* (identical .elc
files). With the floor at 1.13 the resolve_montage_name shim and the
_montage module are not needed: every call site spells the new name.

* refactor(datasets): reuse existing code instead of new loader helpers

- download_and_extract_zip -> extend download_and_extract_subject_zip with
  keyword-only fname and redownload_corrupted (defaults keep the 10
  develop callers unchanged)
- read_raw_brainvision_repaired -> mne.io.read_raw_brainvision(overrides=)
  at the call sites (MNE >= 1.13)
- edge_boundary_annotations -> mne.Annotations(onsets, 0.0, 'EDGE boundary')
- drop_native_stim / relabel_annotations / write_dataset_description ->
  drop_channels / annotations.rename / mne_bids.make_dataset_description
- tests: no nested functions, Mock data_dl

* refactor: reuse download_and_extract_subject_zip and plain MNE annotations

- download_and_extract_zip -> develop's download_and_extract_subject_zip
  (fname=, redownload_corrupted=True) behind the usual extracted-folder check
- edge_boundary_annotations -> mne.Annotations(onsets, 0.0, "EDGE boundary")
- colin27_1005 montage name spelled directly (mne>=1.13)

* fix(Pan2023): align metadata with 10.7910/dvn/251now (paper audit)

Deposit description (DataCite): 14 subjects, five females, two left-handed,
0.01-200 Hz band-pass, Neuroscan SynAmps2, 120 trials/session with no
per-class breakdown; affiliation School of Precision Instruments and
Optoelectronics Engineering, Tianjin University; IsSupplementTo
10.1088/1741-2552/ad0a01 (closed access).
Evidence: ~/Projects/moabb/.paper-audit/reports/mi-zenodo/Pan2023/report.md

* fix(Pan2025): align metadata with 10.7910/dvn/gh74zg (paper audit)

Deposit description: Neuroscan SynAmps2, 1000 Hz original / 250 Hz released,
0.01-200 Hz band-pass + 50 Hz notch, 10 subjects (3 F, 2 left-handed,
22-25 y), ~180 trials/session with counts varying across sessions and
subjects, session 2 = 30 training + online-feedback test trials; record
References 10.1088/1741-2552/ad0a01 (related_paper_dois).
Evidence: ~/Projects/moabb/.paper-audit/reports/mi-zenodo/Pan2025/report.md

* fix(PoloHortiguela2025): align metadata with 10.5281/zenodo.14672334 (paper audit)

Zenodo description: single recording session per participant (static/motion
exoskeleton models exposed as MOABB sessions), dominant-foot dorsi/plantar
flexion imagery, open-loop auditory-cued protocol, 28 EEG + 4 EOG + 3 inertial
rows at 250 Hz, 11 repetitions per model, funding list; DataCite affiliation
Universitat de Miguel Hernandez d'Elx (fixes 'Universitas' spelling).
Evidence: ~/Projects/moabb/.paper-audit/reports/mi-zenodo/PoloHortiguela2025/report.md

* fix(Pan2023): align metadata with 10.1088/1741-2552/ad0a01 (paper audit)

Full paper now available (J. Neural Eng. 20, 066011): nose reference and forehead ground, 50 Hz notch, 4 blocks x 30 trials (15 left/15 right) per session confirming 60/60 per class, 7 s trial (1 s Ready + 0.25 s beep, 4 s rowing-game animation task, 2 s rest), 1000 Hz acquisition released at 250 Hz, full author list, funding and ethics approval (TJUE-2021-062). The authors' NeuroDeckit loader (interval [3, 7] of the 0-7 s stored trial) confirms the 3 s task-onset offset; loader behaviour unchanged. runs_per_session stays 1 (release has no block markers; documented).

* [pre-commit.ci] auto fixes from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
bruAristimunha added a commit that referenced this pull request Oct 4, 2026
…datasets (#1198)

* feat(datasets): add graded-force and MILimbEEG imagery loaders

* docs: link dataset draft PR in changelog

* test: audit and trim #1198 tests (-0 tests, coverage 68.7%->68.7%)

Replace the MNE-behaviour filter round-trip in test_milimb_si_and_last_window
with a direct assertion that the EDGE boundary annotation sits at the
stored-trial join (subsumes the bare description-presence check), and make
test_milimb_transport_flags assert the resolved subject folder instead of a
bare list length. No test removed; 6 LOC fewer. Per-file coverage unchanged:
kmi_handgrip2025 78%, milimbeeg 88%, preprocessing 40%.

* refactor: simplify #1198 loaders and tests (-174 LOC)

* refactor(datasets): shared loader helpers and montage-name compatibility

- resolve_montage_name (moabb.datasets._montage, re-exported by utils): MNE 1.13
  renamed standard_1005/1020 (and the other standard_* templates) to colin27_*,
  warns on the old names and 1.14 removes them. Returns the spelling the installed
  MNE knows; electrode files are byte-identical (dig positions checked equal on
  MNE 1.10.2, 1.12.1 and 1.13.2). Every make_standard_montage/set_montage call in
  moabb now goes through it; METADATA montage labels are descriptive and unchanged.
- download_and_extract_zip: download once, extract unless a marker exists,
  optional warn + forced re-download of a corrupted archive.
- read_raw_brainvision_repaired: repair stale DataFile/MarkerFile references in a
  temporary header (strict mode raises on missing entries/siblings).
- rename_stimulus_codes, edge_boundary_annotations; SetRawAnnotations keeps
  'EDGE boundary' markers.
- moabb.datasets._openneuro_mirror moved here verbatim (byte-identical copies in
  #1186 and #1189), with dataset-agnostic tests.

* DOC add PR number to the shared-helpers whats_new entries

* refactor: use shared loader helpers; exempt from NEMAR check; new montage names

Merges #1200 (datasets/shared-loader-helpers): local zip/BrainVision/EDGE-boundary
code replaced by moabb.datasets.utils helpers, montage calls spelled with the
MNE 1.13 colin27_* names via resolve_montage_name, new classes without a public
NEMAR mirror listed in NEMAR_ID_EXEMPT. Behaviour fingerprints unchanged.

* build: require mne>=1.13; spell colin27_* montages directly

MNE 1.13 renamed the standard_* templates to colin27_* (identical .elc
files). With the floor at 1.13 the resolve_montage_name shim and the
_montage module are not needed: every call site spells the new name.

* refactor(datasets): reuse existing code instead of new loader helpers

- download_and_extract_zip -> extend download_and_extract_subject_zip with
  keyword-only fname and redownload_corrupted (defaults keep the 10
  develop callers unchanged)
- read_raw_brainvision_repaired -> mne.io.read_raw_brainvision(overrides=)
  at the call sites (MNE >= 1.13)
- edge_boundary_annotations -> mne.Annotations(onsets, 0.0, 'EDGE boundary')
- drop_native_stim / relabel_annotations / write_dataset_description ->
  drop_channels / annotations.rename / mne_bids.make_dataset_description
- tests: no nested functions, Mock data_dl

* refactor: reuse download_and_extract_subject_zip and plain MNE annotations

- download_and_extract_zip -> develop's download_and_extract_subject_zip
  behind the usual extracted-folder check (MNE-milimbeeg-data/MILimbEEG)
- edge_boundary_annotations -> mne.Annotations(onsets, 0.0, "EDGE boundary")
- colin27_1020 montage name spelled directly (mne>=1.13)
- MILimbEEG header sniff: generator instead of Series.map(lambda)

* refactor(KMIHandGrip2025): rename to MartinezPeon2025 (naming rule)

The Mendeley record 10.17632/msgzn862ns.1 ('EEG signals of KMI levels of the
right and left hands', creators Martinez Peon, Dulce Citlalli; Perez Espinoza,
Marcos; issued 2025-12-12) gives the dataset no official name and links no
paper, so rule 2 applies: first-author compound surname + record year.
Also aligns metadata with the record description: reference unset (A2 is one
of the 20 recorded columns; the record states no reference), sampling rate
marked as inferred, all-right-handed cohort, protocol wording, level-list
discrepancy documented.
Evidence: ~/Projects/moabb/.paper-audit/reports/mi-clinical/KMIHandGrip2025/report.md

* fix(MILimbEEG): align metadata with 10.1016/j.dib.2023.109540 (paper audit)

Paper: cohort of 60 Ecuadorian adults recruited among ESPOL colleagues and
neurosurgery patients of the Hospital Luis Vernaza; two amputees, one
hydrocephalus after ventricular infarct, 18 post-COVID-19 -> health_status
'mixed' (was 'healthy'); 52%/48% female/male (31/29 in
Test_Subject_Annotations.csv), three left-handed, average age 36; monopolar
against a neutral ear-lobe electrode; only one subject performed up to four
repetitions; tasks presented randomly up to 5 times per run.
Evidence: ~/Projects/moabb/.paper-audit/reports/mi-clinical/MILimbEEG/report.md

* fix(MILimbEEG): detect the Mendeley v2 numeric header row

The published Mendeley v2 export (10.17632/x8psbz3f6x.2) prefixes every
per-trial CSV with a header row whose first cell is empty and whose
remaining cells are the integer column indices 0..15, followed by 500
data rows. pandas' type inference coerces those integer column names to
floats, so the previous header check ('any string in iloc[0]') never
triggered: _read_trial kept 501 rows and raised 'Expected a complete
four-second stored trial' for every real file.

The fix peeks at the raw first line and tries to parse every comma-
separated field as a float; a failure (empty leading cell or a textual
header) switches to header=0. Short trials (<500 samples) are still
rejected explicitly, with no zero-padding. Adds a regression test that
feeds the exact ',0,1,...,15' Mendeley v2 header and asserts the loader
yields (16, 500) in volts.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

* [pre-commit.ci] auto fixes from pre-commit.com hooks

---------

Co-authored-by: Bruno Aristimunha <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
bruAristimunha added a commit that referenced this pull request Oct 4, 2026
#1199)

* Add PerezBlanco, SitStand and Vagaja archive datasets

* Link archive dataset changelog to PR 1199

* test: audit and trim #1199 tests (-0 tests, coverage 77.7%->77.7%)

Per-file coverage unchanged: perezblanco2026 71%, sitstand2026 83%, vagaja2023 79%.

- Drop the reader call-shape asserts (preload/verbose) from the stale
  subject-31 BrainVision header test; the repaired-header contract remains.
- All other tests sit on the retention bar (first/last trial, SI units,
  bad-channel retention, missing/duplicate sessions, transport manifests,
  documented data bugs); no further coverage-neutral deletions were justified.

* refactor: simplify #1199 loaders and tests (-273 LOC)

- Drop the hand-written Vagaja2023 'Dataset summary' table (the metaclass
  renders it from summary_imagery.csv; it appeared twice); shorten docstrings
  (method Parameters/Returns boilerplate, trigger-code listing).
- Compact channel lists; Vagaja2023 subject->group map built from two lists;
  PerezBlanco2026 drops the identity _TARGET_TO_CODE map; empty-dict guards
  around MNE rename/set_channel_types removed; SitStand2026 session dict
  comprehension.
- Tests: the three PR test files merged into test_archive_c_regression.py.

Behaviour: loader fingerprint (Perez _build_run, SitStand _build_raw with and
without stored names, Vagaja _load_run EEG-only/all-modalities) and
METADATA/summary/DOI fingerprint identical.

* refactor(datasets): shared loader helpers and montage-name compatibility

- resolve_montage_name (moabb.datasets._montage, re-exported by utils): MNE 1.13
  renamed standard_1005/1020 (and the other standard_* templates) to colin27_*,
  warns on the old names and 1.14 removes them. Returns the spelling the installed
  MNE knows; electrode files are byte-identical (dig positions checked equal on
  MNE 1.10.2, 1.12.1 and 1.13.2). Every make_standard_montage/set_montage call in
  moabb now goes through it; METADATA montage labels are descriptive and unchanged.
- download_and_extract_zip: download once, extract unless a marker exists,
  optional warn + forced re-download of a corrupted archive.
- read_raw_brainvision_repaired: repair stale DataFile/MarkerFile references in a
  temporary header (strict mode raises on missing entries/siblings).
- rename_stimulus_codes, edge_boundary_annotations; SetRawAnnotations keeps
  'EDGE boundary' markers.
- moabb.datasets._openneuro_mirror moved here verbatim (byte-identical copies in
  #1186 and #1189), with dataset-agnostic tests.

* DOC add PR number to the shared-helpers whats_new entries

* refactor: use shared loader helpers; exempt from NEMAR check; new montage names

Merges #1200 (datasets/shared-loader-helpers): local zip/BrainVision/EDGE-boundary
code replaced by moabb.datasets.utils helpers, montage calls spelled with the
MNE 1.13 colin27_* names via resolve_montage_name, new classes without a public
NEMAR mirror listed in NEMAR_ID_EXEMPT. Behaviour fingerprints unchanged.

* build: require mne>=1.13; spell colin27_* montages directly

MNE 1.13 renamed the standard_* templates to colin27_* (identical .elc
files). With the floor at 1.13 the resolve_montage_name shim and the
_montage module are not needed: every call site spells the new name.

* refactor(datasets): reuse existing code instead of new loader helpers

- download_and_extract_zip -> extend download_and_extract_subject_zip with
  keyword-only fname and redownload_corrupted (defaults keep the 10
  develop callers unchanged)
- read_raw_brainvision_repaired -> mne.io.read_raw_brainvision(overrides=)
  at the call sites (MNE >= 1.13)
- edge_boundary_annotations -> mne.Annotations(onsets, 0.0, 'EDGE boundary')
- drop_native_stim / relabel_annotations / write_dataset_description ->
  drop_channels / annotations.rename / mne_bids.make_dataset_description
- tests: no nested functions, Mock data_dl

* refactor: reuse download_and_extract_subject_zip and MNE BrainVision overrides

- download_and_extract_zip -> develop's download_and_extract_subject_zip
  behind the usual extracted-folder check (PerezBlanco2026, Vagaja2023)
- read_raw_brainvision_repaired(strict=True) -> mne.io.read_raw_brainvision(overrides=)
- SitStand2026: nested resolve_mat_paths hoisted to module-level _resolve_mat_paths
- colin27_* montage names spelled directly (mne>=1.13)
- tests: Mock / autospec wraps instead of monkeypatched lambdas

* fix(SitStand2026): align metadata with 10.5281/zenodo.20348444 (paper audit)

Zenodo readme.pdf (fetched to the audit cache as readme.txt): 60 EEG + 2 EOG
at 1200 Hz, 6 EMG at 2000 Hz, eeg in uV, trigger codes 21/32; demographics
table (after excluding S05) 15 M / 7 F, 18-30 y, 19 right / 2 left / 1 both,
6 with prior EEG experience - the readme text instead says 22-28 y and
fifteen males (documented as a conflict); MI index table gives 2 rounds x 10
trials per task per session. Zenodo creator 'Leelakittisin, Benjakarn' vs
readme first author 'Benjakarn Uengsawapak' noted; class name left for a
naming decision.
Evidence: ~/Projects/moabb/.paper-audit/reports/mi-archive-c/SitStand2026/report.md

* fix(PerezBlanco2026): align metadata with 10.1038/s41597-026-07287-z (paper audit)

Paper describes an overt wrist motor-execution task (no imagery condition):
detected_paradigm/task_type set to motor_execution and Tags type to Motor
Execution, paradigm='imagery' kept only for MotorImagery compatibility (as
Schirrmeister2017). Adds age mean 38.50 / SD 19.87, the recommended
exclusion of subject 31, the Guadalajara recording site vs Monterrey sidecar
address, and the BIDS 'PD' vs Figshare CC BY 4.0 licence note.
Evidence: ~/Projects/moabb/.paper-audit/reports/mi-archive-c/PerezBlanco2026/report.md

* fix(Vagaja2023): align metadata with 10.5281/zenodo.8086086 (paper audit)

Zenodo description: 10 males (25.4 +/- 7.4 y) and 16 females (23 +/- 3.2 y),
all right-handed, three with previous BCI experience; session structure
(4 min resting state, 5 min embodiment, 15 min MI training, 90-120 min).
Evidence: ~/Projects/moabb/.paper-audit/reports/mi-archive-c/Vagaja2023/report.md

* refactor(SitStand2026): rename to Leelakittisin2025 (naming rule)

No source names the dataset "SitStand": that is the GitHub repository slug
(`eeg_sit_stand`). The Zenodo record 20348444 is titled "EEG-Based Dataset
Explicitly Targets the Transitions between Sitting and Standing for
Exploring Neural Activation Patterns in Motor Imagery and Execution", links
no paper, and lists creator #1 "Benjakarn Leelakittisin" (year 2025); the
readme byline spells the same first author "Benjakarn Uengsawapak", which
is recorded as an alias in the docstring. Rule 2 (no paper: record
creators and record year) gives Leelakittisin2025. Renamed class, module,
code, registry, api.rst, whats_new, summary CSV, tests and the NEMAR
exemption list; no deprecated alias (the name was never released).

* refactor(Leelakittisin2025, PerezBlanco2026, Vagaja2023): simplify loaders (no behaviour change)

Remove the unused 'import logging' / module-level 'log' logger in vagaja2023.py; it was never referenced.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
@bruAristimunha
bruAristimunha deleted the datasets/mi-openneuro-batch-2 branch October 6, 2026 10:18
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.

1 participant