OSCR

Block oscr:b:E4SV71CKXWQ7S-F

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:E4SV71CKXWQ7S-F
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41593-026-02206-2 · its page here
Code
github.com/namboodirilab/duration_between_rewards_controls_learning_rate, CODE_simulations/functions/calculate_rss.m, lines 1 to 18 (calculate_rss)
Commit read
b7687eba02128049eb50f8a13a7201443e180a21
SWHID
swh:1:cnt:bb38e592a14b22bd9a6ca18e4749ecc77e650722;origin=https://github.com/namboodirilab/duration_between_rewards_controls_learning_rate;anchor=swh:1:rev:b7687eba02128049eb50f8a13a7201443e180a21;path=/CODE_simulations/functions/calculate_rss.m;lines=1-18 (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 73 (Methods › Theory and simulations › Comparison of learning models)
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:E4SV71CKXWQ7S-F (https://openscicode.org/b/oscr:b:E4SV71CKXWQ7S-F)
CODE_simulations/functions/calculate_rss.m, lines 1 to 18, in github.com/namboodirilab/duration_between_rewards_controls_learning_rate (https://github.com/namboodirilab/duration_between_rewards_controls_learning_rate), commit b7687eba02128049eb50f8a13a7201443e180a21.
Paper: https://doi.org/10.1038/s41593-026-02206-2
SWHID: swh:1:cnt:bb38e592a14b22bd9a6ca18e4749ecc77e650722;origin=https://github.com/namboodirilab/duration_between_rewards_controls_learning_rate;anchor=swh:1:rev:b7687eba02128049eb50f8a13a7201443e180a21;path=/CODE_simulations/functions/calculate_rss.m;lines=1-18