OSCR

Block oscr:b:W185YQP1VADMC-B

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:W185YQP1VADMC-B
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pcbi.1012175 · its page here
Code
github.com/fwurm/2023_wurm_surpriseminimization, Routines/SIM_simulateBehavior.m, lines 52 to 158 (simulateBehavior)
Commit read
3790f120e19231ece4210da22c0e41d6b78abf33
SWHID
swh:1:cnt:616dc3fa2c3aec9d2a568235e7fe457b2ce193dd;origin=https://github.com/fwurm/2023_wurm_surpriseminimization;anchor=swh:1:rev:3790f120e19231ece4210da22c0e41d6b78abf33;path=/Routines/SIM_simulateBehavior.m;lines=52-158 (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 13 (Results › Surprise minimization enables successful credit assignment)
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:W185YQP1VADMC-B (https://openscicode.org/b/oscr:b:W185YQP1VADMC-B)
Routines/SIM_simulateBehavior.m, lines 52 to 158, in github.com/fwurm/2023_wurm_surpriseminimization (https://github.com/fwurm/2023_wurm_surpriseminimization), commit 3790f120e19231ece4210da22c0e41d6b78abf33.
Paper: https://doi.org/10.1371/journal.pcbi.1012175
SWHID: swh:1:cnt:616dc3fa2c3aec9d2a568235e7fe457b2ce193dd;origin=https://github.com/fwurm/2023_wurm_surpriseminimization;anchor=swh:1:rev:3790f120e19231ece4210da22c0e41d6b78abf33;path=/Routines/SIM_simulateBehavior.m;lines=52-158