OSCR

Block oscr:b:W5B09TH1322R6-F

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:W5B09TH1322R6-F
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41598-022-07570-0 · its page here
Code
github.com/hhchen1105/networkx_addon, information_propagation/linear_threshold.py, lines 17 to 97 (linear_threshold)
Commit read
66e464358a7db7f108d716838470f41cbeefd257
SWHID
swh:1:cnt:1ceb24cb9917772728b1d3ce85b09a9d4996b8a2;origin=https://github.com/hhchen1105/networkx_addon;anchor=swh:1:rev:66e464358a7db7f108d716838470f41cbeefd257;path=/information_propagation/linear_threshold.py;lines=17-97 (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 22 (Methods › Linear threshold model); paragraph 23 (Methods › Linear threshold model)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-16

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:W5B09TH1322R6-F (https://openscicode.org/b/oscr:b:W5B09TH1322R6-F)
information_propagation/linear_threshold.py, lines 17 to 97, in github.com/hhchen1105/networkx_addon (https://github.com/hhchen1105/networkx_addon), commit 66e464358a7db7f108d716838470f41cbeefd257.
Paper: https://doi.org/10.1038/s41598-022-07570-0
SWHID: swh:1:cnt:1ceb24cb9917772728b1d3ce85b09a9d4996b8a2;origin=https://github.com/hhchen1105/networkx_addon;anchor=swh:1:rev:66e464358a7db7f108d716838470f41cbeefd257;path=/information_propagation/linear_threshold.py;lines=17-97