OSCR

Block oscr:b:ZBBZHWW0C4P0X-4

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:ZBBZHWW0C4P0X-4
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pcbi.1013291 · its page here
Code
github.com/robinvloeberghs/hmfc, hmfc/gibbs.py, lines 136 to 162 (random_walk_mh)
Commit read
01044d50b4c57c001eea3aef35e45e1181ed72e8
SWHID
swh:1:cnt:20de14580f8b6beb88e6ab9a1e851bb8faf897d2;origin=https://github.com/robinvloeberghs/hmfc;anchor=swh:1:rev:01044d50b4c57c001eea3aef35e45e1181ed72e8;path=/hmfc/gibbs.py;lines=136-162 (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 34 (Methods › A posterior inference algorithm)
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:ZBBZHWW0C4P0X-4 (https://openscicode.org/b/oscr:b:ZBBZHWW0C4P0X-4)
hmfc/gibbs.py, lines 136 to 162, in github.com/robinvloeberghs/hmfc (https://github.com/robinvloeberghs/hmfc), commit 01044d50b4c57c001eea3aef35e45e1181ed72e8.
Paper: https://doi.org/10.1371/journal.pcbi.1013291
SWHID: swh:1:cnt:20de14580f8b6beb88e6ab9a1e851bb8faf897d2;origin=https://github.com/robinvloeberghs/hmfc;anchor=swh:1:rev:01044d50b4c57c001eea3aef35e45e1181ed72e8;path=/hmfc/gibbs.py;lines=136-162