OSCR

Block oscr:b:9VWPM5CD93WXK-8

A block of code linked to a paper, with an identifier OSCR gives it for good: it is never reused nor deleted. What a block identifier is · this block in JSON

Identifier
oscr:b:9VWPM5CD93WXK-8
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41592-025-02855-4 · its page here
Code
github.com/cantinilab/stories, stories/tools.py, lines 22 to 157 (DataLoader)
Commit read
7d8269b8cc940b3d85c34729dd1f715822e74a97
SWHID
swh:1:cnt:a457f102889bea545eee93be592bbdb346236d87;origin=https://github.com/cantinilab/stories;anchor=swh:1:rev:7d8269b8cc940b3d85c34729dd1f715822e74a97;path=/stories/tools.py;lines=22-157 (the Software Heritage identifier of the file as its authors published it, before any email address is hidden for display; it opens in Software Heritage's archive once the repository is archived there)
In the paper
paragraph 102 (Methods › Neural network training › Data loading)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-14

Open these lines beside the paper

Cite this block

Copy this text: the identifier and its page first, then the code, the paper and the SWHID.

Code block oscr:b:9VWPM5CD93WXK-8 (https://openscicode.org/b/oscr:b:9VWPM5CD93WXK-8)
stories/tools.py, lines 22 to 157, in github.com/cantinilab/stories (https://github.com/cantinilab/stories), commit 7d8269b8cc940b3d85c34729dd1f715822e74a97.
Paper: https://doi.org/10.1038/s41592-025-02855-4
SWHID: swh:1:cnt:a457f102889bea545eee93be592bbdb346236d87;origin=https://github.com/cantinilab/stories;anchor=swh:1:rev:7d8269b8cc940b3d85c34729dd1f715822e74a97;path=/stories/tools.py;lines=22-157