OSCR

Block oscr:b:P2X49JVVBMHCX-D

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:P2X49JVVBMHCX-D
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pcbi.1011385 · its page here
Code
github.com/neurord/td2q, BanditTask.py, lines 284 to 343
Commit read
c05a2aee54188f940b23e8a9b56528f0dbbeec68
SWHID
swh:1:cnt:49a95ac9ca710d01a8d2be2e558ec853de6c8bdc;origin=https://github.com/neurord/td2q;anchor=swh:1:rev:c05a2aee54188f940b23e8a9b56528f0dbbeec68;path=/BanditTask.py;lines=284-343 (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 29 (Methods › Tasks)
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:P2X49JVVBMHCX-D (https://openscicode.org/b/oscr:b:P2X49JVVBMHCX-D)
BanditTask.py, lines 284 to 343, in github.com/neurord/td2q (https://github.com/neurord/td2q), commit c05a2aee54188f940b23e8a9b56528f0dbbeec68.
Paper: https://doi.org/10.1371/journal.pcbi.1011385
SWHID: swh:1:cnt:49a95ac9ca710d01a8d2be2e558ec853de6c8bdc;origin=https://github.com/neurord/td2q;anchor=swh:1:rev:c05a2aee54188f940b23e8a9b56528f0dbbeec68;path=/BanditTask.py;lines=284-343