{"id":"oscr:b:RSD9TXXMWACR0-O","url":"https://openscicode.org/b/oscr:b:RSD9TXXMWACR0-O","status":"current","doi":"10.1371/journal.pcbi.1014093","since":"2026-11-14","page":"doi_10.1371_journal.pcbi.1014093","repo":"github.com/jespass/contextual_rl","commit":"940840a8f02b11352369441edb0a86c5c401469f","path":"algorithm.py","swhid":"swh:1:cnt:20581767b52d2fc2404b14f17822f2e55bebefff","lines":[445,579],"symbol":"Agent","paragraphs":[[29,"Materials and methods › Choice via temporal difference learning"]],"method":"lexical-v1","origin":"machine","paper":"https://doi.org/10.1371/journal.pcbi.1014093","swhid_qualified":"swh:1:cnt:20581767b52d2fc2404b14f17822f2e55bebefff;origin=https://github.com/jespass/contextual_rl;anchor=swh:1:rev:940840a8f02b11352369441edb0a86c5c401469f;path=/algorithm.py;lines=445-579","reader":"https://openscicode.org/paper/doi_10.1371_journal.pcbi.1014093/?path=algorithm.py#L445-L579","citation":"Code block oscr:b:RSD9TXXMWACR0-O (https://openscicode.org/b/oscr:b:RSD9TXXMWACR0-O)\nalgorithm.py, lines 445 to 579, in github.com/jespass/contextual_rl (https://github.com/jespass/contextual_rl), commit 940840a8f02b11352369441edb0a86c5c401469f.\nPaper: https://doi.org/10.1371/journal.pcbi.1014093\nSWHID: swh:1:cnt:20581767b52d2fc2404b14f17822f2e55bebefff;origin=https://github.com/jespass/contextual_rl;anchor=swh:1:rev:940840a8f02b11352369441edb0a86c5c401469f;path=/algorithm.py;lines=445-579"}