OSCR

Block oscr:b:02Z56NRH87K5E-2

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:02Z56NRH87K5E-2
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1073/pnas.2318521121 · its page here
Code
github.com/ulisespereira/foragingmodels, Fig1/classes/plotting_behavior.py, lines 44 to 92 (plot_comulative_choice)
Commit read
3ec9445619e853ad20e8b646091ad38203746480
SWHID
swh:1:cnt:194589c001ba1825d99343555f6836852aab201b;origin=https://github.com/ulisespereira/foragingmodels;anchor=swh:1:rev:3ec9445619e853ad20e8b646091ad38203746480;path=/Fig1/classes/plotting_behavior.py;lines=44-92 (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 18 (Results › Foraging Behavior.)
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:02Z56NRH87K5E-2 (https://openscicode.org/b/oscr:b:02Z56NRH87K5E-2)
Fig1/classes/plotting_behavior.py, lines 44 to 92, in github.com/ulisespereira/foragingmodels (https://github.com/ulisespereira/foragingmodels), commit 3ec9445619e853ad20e8b646091ad38203746480.
Paper: https://doi.org/10.1073/pnas.2318521121
SWHID: swh:1:cnt:194589c001ba1825d99343555f6836852aab201b;origin=https://github.com/ulisespereira/foragingmodels;anchor=swh:1:rev:3ec9445619e853ad20e8b646091ad38203746480;path=/Fig1/classes/plotting_behavior.py;lines=44-92