Repository navigation
Fetch ds003194 for the EEGLAB reference workflow - #639
Conversation
Co-authored-by: Suraj Ranganath <[email protected]>
There was a problem hiding this comment.
If your organization's extra usage balance is empty, an organization admin can add extra usage credits at claude.ai/admin-settings/usage. If its monthly spend limit was reached, an admin can raise it on the same page. If neither applies, contact Anthropic support.
Once extra usage is available, someone with write access to this repository can comment @claude review on this pull request to trigger a review.
|
Claude finished @suraj-ranganath's task in 48s —— View job Code review
BlockingNone. ImportantNone. Nits
Test gapsNone. This changes CI only, so AGENTS.md doesn't require the MATLAB reference run. One EEGLAB parity notesNone. This PR doesn't change any EEGPrep code. |
| key: openneuro-ds003194-1.0.3-nepo01 | ||
|
|
||
| - name: Fetch ds003194 | ||
| if: steps.ds003194-cache.outputs.cache-hit != 'true' |
There was a problem hiding this comment.
Nit: Only the core shard reads ds003194. tests/test_bids_load_frombids_helpers.py isn't in any named shard list, so it only runs in core. With this condition, all 7 shards download the dataset when the cache is cold. A single S3 failure or checksum mismatch would then also fail heavy, stats, study, misc, hybrid and parity, which never use these files.
eegprep/.github/workflows/eeglab-reference.yml
Lines 130 to 168 in 1bb7234
Suggested fix: add matrix.shard == 'core' to the restore and fetch steps, and save the cache from core instead of heavy. The heavy pattern makes sense for eeglab_tests because every shard needs it, but that isn't the case here.
There was a problem hiding this comment.
Agreed that only the core shard runs test_openneuro_edf_import_matches_matlab_pop_importbids, since that file is outside the named shard lists. On a cache miss the current steps still give core the files, and the checksums match the live OpenNeuro 1.0.3 objects. After a successful save from heavy, later runs just restore. Gating restore and fetch to core, and saving from core, is a reasonable follow-up, but it is not required for this fix.
Cache OpenNeuro ds003194 snapshot 1.0.3 in the EEGLAB reference workflow and download it on a cache miss into openneuro/ds003194. The core shard's pop_importbids comparison fails when those files are absent, and the eeglab_tests checkout that supplies ds003061 does not contain this dataset.
Fixes #638