OSCR

Block oscr:b:WTTT7HXA7JTCF-1

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:WTTT7HXA7JTCF-1
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pone.0338580 · its page here
Code
github.com/wpennyuea/mlc, data/get_reward_data.m, lines 1 to 148 (get_reward_data)
Commit read
60e6affb5daba82583d309292ef031accf1ad5b1
SWHID
swh:1:cnt:fef14331f8d9ee6b522f01932707545777e660de;origin=https://github.com/wpennyuea/mlc;anchor=swh:1:rev:60e6affb5daba82583d309292ef031accf1ad5b1;path=/data/get_reward_data.m;lines=1-148 (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 72 (Materials and methods › Reward 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:WTTT7HXA7JTCF-1 (https://openscicode.org/b/oscr:b:WTTT7HXA7JTCF-1)
data/get_reward_data.m, lines 1 to 148, in github.com/wpennyuea/mlc (https://github.com/wpennyuea/mlc), commit 60e6affb5daba82583d309292ef031accf1ad5b1.
Paper: https://doi.org/10.1371/journal.pone.0338580
SWHID: swh:1:cnt:fef14331f8d9ee6b522f01932707545777e660de;origin=https://github.com/wpennyuea/mlc;anchor=swh:1:rev:60e6affb5daba82583d309292ef031accf1ad5b1;path=/data/get_reward_data.m;lines=1-148