OSCR

Block oscr:b:SA7BSK0PZ3SCY-A

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:SA7BSK0PZ3SCY-A
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41467-023-40651-w · its page here
Code
github.com/matteosaponati/predictive_neuron, models/NeuronClass.py, lines 104 to 205 (NeuronClassPyTorch)
Commit read
9b0214d8cd2d85ce28d2f3868003b6d00110c27e
SWHID
swh:1:cnt:8d7938d707c477beddc37660b029e81d1ce46724;origin=https://github.com/matteosaponati/predictive_neuron;anchor=swh:1:rev:9b0214d8cd2d85ce28d2f3868003b6d00110c27e;path=/models/NeuronClass.py;lines=104-205 (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 40 (Methods › Derivation of the learning rule)
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:SA7BSK0PZ3SCY-A (https://openscicode.org/b/oscr:b:SA7BSK0PZ3SCY-A)
models/NeuronClass.py, lines 104 to 205, in github.com/matteosaponati/predictive_neuron (https://github.com/matteosaponati/predictive_neuron), commit 9b0214d8cd2d85ce28d2f3868003b6d00110c27e.
Paper: https://doi.org/10.1038/s41467-023-40651-w
SWHID: swh:1:cnt:8d7938d707c477beddc37660b029e81d1ce46724;origin=https://github.com/matteosaponati/predictive_neuron;anchor=swh:1:rev:9b0214d8cd2d85ce28d2f3868003b6d00110c27e;path=/models/NeuronClass.py;lines=104-205