OSCR

Block oscr:b:3G1CA6TAQ56XT-2

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:3G1CA6TAQ56XT-2
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pone.0249846 · its page here
Code
github.com/qihangyao/weighted-hourglass, main.py, lines 127 to 248 (compare_path_weighting)
Commit read
421585494731b17867200f8df6c3dda87a5d94f3
SWHID
swh:1:cnt:9c139a083ec3b422f3750cf6f782f88384277d18;origin=https://github.com/qihangyao/weighted-hourglass;anchor=swh:1:rev:421585494731b17867200f8df6c3dda87a5d94f3;path=/main.py;lines=127-248 (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 64 (Results › Comparison with random networks)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-21

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:3G1CA6TAQ56XT-2 (https://openscicode.org/b/oscr:b:3G1CA6TAQ56XT-2)
main.py, lines 127 to 248, in github.com/qihangyao/weighted-hourglass (https://github.com/qihangyao/weighted-hourglass), commit 421585494731b17867200f8df6c3dda87a5d94f3.
Paper: https://doi.org/10.1371/journal.pone.0249846
SWHID: swh:1:cnt:9c139a083ec3b422f3750cf6f782f88384277d18;origin=https://github.com/qihangyao/weighted-hourglass;anchor=swh:1:rev:421585494731b17867200f8df6c3dda87a5d94f3;path=/main.py;lines=127-248