OSCR

Block oscr:b:AVWH68AGB8TWZ-4

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:AVWH68AGB8TWZ-4
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pcbi.1010813 · its page here
Code
github.com/sgoldt/reconstructing_memories, hopfield.py, lines 112 to 147 (get_samples)
Commit read
23fd32f0e63235284a04c722556d03e8557b9a59
SWHID
swh:1:cnt:f25ceb606c9a306340147b5bb7ef4ef16a684519;origin=https://github.com/sgoldt/reconstructing_memories;anchor=swh:1:rev:23fd32f0e63235284a04c722556d03e8557b9a59;path=/hopfield.py;lines=112-147 (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 57 (Results › Sparse patterns)
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:AVWH68AGB8TWZ-4 (https://openscicode.org/b/oscr:b:AVWH68AGB8TWZ-4)
hopfield.py, lines 112 to 147, in github.com/sgoldt/reconstructing_memories (https://github.com/sgoldt/reconstructing_memories), commit 23fd32f0e63235284a04c722556d03e8557b9a59.
Paper: https://doi.org/10.1371/journal.pcbi.1010813
SWHID: swh:1:cnt:f25ceb606c9a306340147b5bb7ef4ef16a684519;origin=https://github.com/sgoldt/reconstructing_memories;anchor=swh:1:rev:23fd32f0e63235284a04c722556d03e8557b9a59;path=/hopfield.py;lines=112-147