OSCR

Block oscr:b:A0P4K28PA8R9B-I

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:A0P4K28PA8R9B-I
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pcbi.1009458 · its page here
Code
github.com/carolinscholl/pruningbms, bm/dbm.py, lines 19 to 95 (DBM)
Commit read
974f254672a0a956b904b9be9049525c18f3b3a0
SWHID
swh:1:cnt:08fcaca26bf0273a4565d4745b550bce51af93f3;origin=https://github.com/carolinscholl/pruningbms;anchor=swh:1:rev:974f254672a0a956b904b9be9049525c18f3b3a0;path=/bm/dbm.py;lines=19-95 (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 74 (Materials and methods › Model fitting and sampling › DBMs for MNIST digits); paragraph 73 (Materials and methods › Model fitting and sampling › DBMs for MNIST digits)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-20

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:A0P4K28PA8R9B-I (https://openscicode.org/b/oscr:b:A0P4K28PA8R9B-I)
bm/dbm.py, lines 19 to 95, in github.com/carolinscholl/pruningbms (https://github.com/carolinscholl/pruningbms), commit 974f254672a0a956b904b9be9049525c18f3b3a0.
Paper: https://doi.org/10.1371/journal.pcbi.1009458
SWHID: swh:1:cnt:08fcaca26bf0273a4565d4745b550bce51af93f3;origin=https://github.com/carolinscholl/pruningbms;anchor=swh:1:rev:974f254672a0a956b904b9be9049525c18f3b3a0;path=/bm/dbm.py;lines=19-95