OSCR

Block oscr:b:PD152TNSTZ2D0-X

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:PD152TNSTZ2D0-X
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pcbi.1012019 · its page here
Code
github.com/cjarvers/shapelearningtheory, shapelearningtheory/datasets/rectangledataset.py, lines 11 to 103 (RectangleDataset)
Commit read
8e227d4b055765b016638005810007e252b83ada
SWHID
swh:1:cnt:dc815f2c723c4488603f6b8add6e26cd9f29da4b;origin=https://github.com/cjarvers/shapelearningtheory;anchor=swh:1:rev:8e227d4b055765b016638005810007e252b83ada;path=/shapelearningtheory/datasets/rectangledataset.py;lines=11-103 (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 84 (Materials and methods › Datasets › Color rectangles); paragraph 88 (Materials and methods › Datasets › Color rectangles)
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:PD152TNSTZ2D0-X (https://openscicode.org/b/oscr:b:PD152TNSTZ2D0-X)
shapelearningtheory/datasets/rectangledataset.py, lines 11 to 103, in github.com/cjarvers/shapelearningtheory (https://github.com/cjarvers/shapelearningtheory), commit 8e227d4b055765b016638005810007e252b83ada.
Paper: https://doi.org/10.1371/journal.pcbi.1012019
SWHID: swh:1:cnt:dc815f2c723c4488603f6b8add6e26cd9f29da4b;origin=https://github.com/cjarvers/shapelearningtheory;anchor=swh:1:rev:8e227d4b055765b016638005810007e252b83ada;path=/shapelearningtheory/datasets/rectangledataset.py;lines=11-103