ibl-bwb-eval
The evaluation contract for the IBL BrainWideBench benchmark: everything needed to build a valid submission and to score one, and nothing else. It is independent of the benchmark's training code, so it installs on a CPU-only box without torch-brain, hydra, ray or wandb.
Install
pip install ibl-bwb-eval --extra-index-url https://download.pytorch.org/whl/cpu
Without that index torch resolves from PyPI to a CUDA build, around 4 GB of NVIDIA
packages the scorer never calls, so keep the flag in automated scoring environments too.
uv needs --index-strategy unsafe-best-match as well, since it will not fall back to
PyPI for a package found on another index.
The import name is ibl_bwb_eval:
import ibl_bwb_eval
What it gives you
import ibl_bwb_eval
ibl_bwb_eval.EVAL_RECORDING_IDS # path to the eval session list
ibl_bwb_eval.EVAL_SEEDS # the seeds a reported number is averaged over
ibl_bwb_eval.SELECTION_METRIC # what model selection optimizes
ibl_bwb_eval.SUITE_TASKS # task vocabulary, per suite
Reading the protocol or the task list costs no torch or numpy import. The task names and
readout specs live in ibl_bwb_eval.tasks, the reported metrics (bits-per-spike, Poisson D²)
in ibl_bwb_eval.metrics, and the write side of the submission format in
ibl_bwb_eval.predictions.PredictionsWriter.
Scoring a submission
python -m ibl_bwb_eval.scoring.ts1 --pred_dir predictions/ts1 --gt_dir ground_truth/ts1
python -m ibl_bwb_eval.scoring.ts2 --pred_dir predictions/<label> --gt_dir ground_truth/ts2
python -m ibl_bwb_eval.scoring.ts3 --pred_dir predictions/<label> --gt_dir ground_truth/
# all three suites, aggregated and ranked
python -m ibl_bwb_eval.scoring.aggregation --pred_dir predictions/ --gt_dir ground_truth/
Versioning
Metric definitions and readout specs are part of published numbers, so this package is
versioned as API. COSMOS_LABELS is the sharpest case: it is the column order of every
TS3 pred_proba, and the TS3 scorer rejects a submission whose label_names disagree
with the ground truth. Pin the version you scored with.
License
MIT.
Metadata
Release files for ibl-bwb-eval 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ibl_bwb_eval-0.1.0.tar.gz | 31.1 kB | Without provenance | Details for ibl_bwb_eval-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ibl_bwb_eval-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ibl_bwb_eval-0.1.0-py3-none-any.whl |
Total release size: 71.5 kB
Release files / ibl_bwb_eval-0.1.0.tar.gz
| Download URL | ibl_bwb_eval-0.1.0.tar.gz |
|---|---|
| Size | 31.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1354c181dc87459d99e98e97dc718965ad87e20c0aa859884d8b3da74508a42
|
|
BLAKE2b-256 checksum How to use checksums |
41a4d51f1ca26b48caea38eb1932ca88646e8f6b60303629eaeb740372cdb924
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / ibl_bwb_eval-0.1.0-py3-none-any.whl
| Download URL | ibl_bwb_eval-0.1.0-py3-none-any.whl |
|---|---|
| Size | 40.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
baba6efafbb978708ec939eccdf58daca3297dcc5c17fd777f0623b98d8c51be
|
|
BLAKE2b-256 checksum How to use checksums |
bf2f542914fb2e2ae773101e83a76b5b8275506a826924e63e13398a11849620
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for ibl-bwb-eval 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.