OSCR

Block oscr:b:ZYW4D1GWCFX9D-B

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:ZYW4D1GWCFX9D-B
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pcbi.1010811 · its page here
Code
github.com/giulioruffini/lsd-paper-code-ruffini-et-al.-2022, neurotwin/applications/smith/inet.py, lines 62 to 100 (Inet.run_metropolis)
Commit read
50bb2958aa3a991933c2aada9f2330ddb750793f
SWHID
swh:1:cnt:4334f431d4bdac2992c804f7eb5cab0ec8d7ae27;origin=https://github.com/giulioruffini/lsd-paper-code-ruffini-et-al.-2022;anchor=swh:1:rev:50bb2958aa3a991933c2aada9f2330ddb750793f;path=/neurotwin/applications/smith/inet.py;lines=62-100 (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 23 (Materials and methods › Ising spin model › Metropolis algorithm and Ising model ); paragraph 22 (Materials and methods › Ising spin model › Metropolis algorithm and Ising model )
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:ZYW4D1GWCFX9D-B (https://openscicode.org/b/oscr:b:ZYW4D1GWCFX9D-B)
neurotwin/applications/smith/inet.py, lines 62 to 100, in github.com/giulioruffini/lsd-paper-code-ruffini-et-al.-2022 (https://github.com/giulioruffini/lsd-paper-code-ruffini-et-al.-2022), commit 50bb2958aa3a991933c2aada9f2330ddb750793f.
Paper: https://doi.org/10.1371/journal.pcbi.1010811
SWHID: swh:1:cnt:4334f431d4bdac2992c804f7eb5cab0ec8d7ae27;origin=https://github.com/giulioruffini/lsd-paper-code-ruffini-et-al.-2022;anchor=swh:1:rev:50bb2958aa3a991933c2aada9f2330ddb750793f;path=/neurotwin/applications/smith/inet.py;lines=62-100