OSCR

Block oscr:b:RSD9TXXMWACR0-O

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:RSD9TXXMWACR0-O
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pcbi.1014093 · its page here
Code
github.com/jespass/contextual_rl, algorithm.py, lines 445 to 579 (Agent)
Commit read
940840a8f02b11352369441edb0a86c5c401469f
SWHID
swh:1:cnt:20581767b52d2fc2404b14f17822f2e55bebefff;origin=https://github.com/jespass/contextual_rl;anchor=swh:1:rev:940840a8f02b11352369441edb0a86c5c401469f;path=/algorithm.py;lines=445-579 (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 (Materials and methods › Choice via temporal difference 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:RSD9TXXMWACR0-O (https://openscicode.org/b/oscr:b:RSD9TXXMWACR0-O)
algorithm.py, lines 445 to 579, in github.com/jespass/contextual_rl (https://github.com/jespass/contextual_rl), commit 940840a8f02b11352369441edb0a86c5c401469f.
Paper: https://doi.org/10.1371/journal.pcbi.1014093
SWHID: swh:1:cnt:20581767b52d2fc2404b14f17822f2e55bebefff;origin=https://github.com/jespass/contextual_rl;anchor=swh:1:rev:940840a8f02b11352369441edb0a86c5c401469f;path=/algorithm.py;lines=445-579