Add competition holdout loader + wire submissions to real data#1
Merged
Conversation
pnpl.competition.LibriBrainCompetitionHoldout downloads the LibriBrain 2026 holdout (pnpl/LibriBrain-Competition-2026) and enumerates the canonical submission rows: one (306, 250) window per word, for the Deep (subj0) and Broad (subj1-39) tracks, across both the sentence and isolated-word sources, every valid word. The loader is the single source of truth for row order / submission index. - holdout.py: streaming loader (iter_windows with a one-file MEG cache), track presets, and an npy-header shape read so index building never decompresses the large meg arrays. - competition/__init__.py: export the loader + track/source constants. - tests/test_competition_holdout.py: offline tests over synthetic npz fixtures (enumeration order, window extraction, batching, guards). - examples/submit_pnpl2026.ipynb: build the submission from the real holdout loader instead of range(N). - docs/competition.md (+ _toc.yml): document the format, tracks, and the canonical row ordering.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pnpl.competition.LibriBrainCompetitionHoldout downloads the LibriBrain 2026 holdout (pnpl/LibriBrain-Competition-2026) and enumerates the canonical submission rows: one (306, 250) window per word, for the Deep (subj0) and Broad (subj1-39) tracks, across both the sentence and isolated-word sources, every valid word. The loader is the single source of truth for row order / submission index.