version_of#

ibl_bwb_eval.predictions.version_of(metadata)[source]#

The ibl_bwb_eval_version a prediction file was written under.

None for a file written before the stamp existed, which is not malformed: no release predates the stamp, so there is no version to attribute it to.

Not yet gated on by any scorer: today every on-disk shape is read the same way regardless of version. When a future release changes that shape, branch the reader on version_of(metadata) and freeze a new fixture under src/tests/fixtures/legacy/v<N>_* (see make_v01_fixtures.py) rather than updating the v01 ones in place.

Return type:

str | None