OSCR

Block oscr:b:MJCGRB7E9MBBG-Q

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:MJCGRB7E9MBBG-Q
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.7554/elife.98351 · its page here
Code
github.com/pauljaffe/vam, vam/transforms.py, lines 37 to 58 (RandomTranslate)
Commit read
22cff4702d19f3ffd7a64f9fce7bac29cea42ca0
SWHID
swh:1:cnt:1521681e8297dccd1e2d5e517026c75e4c27d4c9;origin=https://github.com/pauljaffe/vam;anchor=swh:1:rev:22cff4702d19f3ffd7a64f9fce7bac29cea42ca0;path=/vam/transforms.py;lines=37-58 (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 › Modeling framework › Image preprocessing and data augmentation)
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:MJCGRB7E9MBBG-Q (https://openscicode.org/b/oscr:b:MJCGRB7E9MBBG-Q)
vam/transforms.py, lines 37 to 58, in github.com/pauljaffe/vam (https://github.com/pauljaffe/vam), commit 22cff4702d19f3ffd7a64f9fce7bac29cea42ca0.
Paper: https://doi.org/10.7554/elife.98351
SWHID: swh:1:cnt:1521681e8297dccd1e2d5e517026c75e4c27d4c9;origin=https://github.com/pauljaffe/vam;anchor=swh:1:rev:22cff4702d19f3ffd7a64f9fce7bac29cea42ca0;path=/vam/transforms.py;lines=37-58