OSCR

Block oscr:b:961KKS45JA2B2-9

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:961KKS45JA2B2-9
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pcbi.1012531 · its page here
Code
gitlab.com/kappeld/synaptic-predictive-processing, core/utils.py, lines 11 to 15 (kl_div)
Commit read
5c4780534a0fed7124ad9c79a1d1d76c1a4851bd
SWHID
swh:1:cnt:6f8216d2f9f290b533c4091f7ae1e4becc0a422c;origin=https://gitlab.com/kappeld/synaptic-predictive-processing;anchor=swh:1:rev:5c4780534a0fed7124ad9c79a1d1d76c1a4851bd;path=/core/utils.py;lines=11-15 (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 14 (Materials and methods › Numerical simulations)
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:961KKS45JA2B2-9 (https://openscicode.org/b/oscr:b:961KKS45JA2B2-9)
core/utils.py, lines 11 to 15, in gitlab.com/kappeld/synaptic-predictive-processing (https://gitlab.com/kappeld/synaptic-predictive-processing), commit 5c4780534a0fed7124ad9c79a1d1d76c1a4851bd.
Paper: https://doi.org/10.1371/journal.pcbi.1012531
SWHID: swh:1:cnt:6f8216d2f9f290b533c4091f7ae1e4becc0a422c;origin=https://gitlab.com/kappeld/synaptic-predictive-processing;anchor=swh:1:rev:5c4780534a0fed7124ad9c79a1d1d76c1a4851bd;path=/core/utils.py;lines=11-15