OSCR

Block oscr:b:7CG7G4EJ0GZVC-6

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:7CG7G4EJ0GZVC-6
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41467-026-78777-2 · its page here
Code
github.com/priesemann-group/infomorphic_networks, paper_hopfield/src/hopfield.py, lines 157 to 267 (IMHopfield)
Commit read
ecc3d7e066049fac89a6a42c8ad37b382e0bd996
SWHID
swh:1:cnt:7bff2cb1dbffc3796fa1ca3c7516d0d218e3ffbb;origin=https://github.com/priesemann-group/infomorphic_networks;anchor=swh:1:rev:ecc3d7e066049fac89a6a42c8ad37b382e0bd996;path=/paper_hopfield/src/hopfield.py;lines=157-267 (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 51 (Methods › Information-theoretic learning)
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:7CG7G4EJ0GZVC-6 (https://openscicode.org/b/oscr:b:7CG7G4EJ0GZVC-6)
paper_hopfield/src/hopfield.py, lines 157 to 267, in github.com/priesemann-group/infomorphic_networks (https://github.com/priesemann-group/infomorphic_networks), commit ecc3d7e066049fac89a6a42c8ad37b382e0bd996.
Paper: https://doi.org/10.1038/s41467-026-78777-2
SWHID: swh:1:cnt:7bff2cb1dbffc3796fa1ca3c7516d0d218e3ffbb;origin=https://github.com/priesemann-group/infomorphic_networks;anchor=swh:1:rev:ecc3d7e066049fac89a6a42c8ad37b382e0bd996;path=/paper_hopfield/src/hopfield.py;lines=157-267