OSCR

Block oscr:b:31Z6ZKCNJHVDR-F

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:31Z6ZKCNJHVDR-F
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41467-025-60122-8 · its page here
Code
github.com/stephprince/update-project, update_project/example_trials/example_trial_visualizer.py, lines 52 to 167 (ExampleTrialVisualizer.plot_behavior_trial)
Commit read
d8557f031f45cb04532484a8a4f730af954a881d
SWHID
swh:1:cnt:ad93811d8d839ffc73bb1ac159b9314486f7b0a8;origin=https://github.com/stephprince/update-project;anchor=swh:1:rev:d8557f031f45cb04532484a8a4f730af954a881d;path=/update_project/example_trials/example_trial_visualizer.py;lines=52-167 (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 5 (Results › Animals rapidly update their choices in response to new information in); paragraph 37 (Methods › Behavioral task and training)
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:31Z6ZKCNJHVDR-F (https://openscicode.org/b/oscr:b:31Z6ZKCNJHVDR-F)
update_project/example_trials/example_trial_visualizer.py, lines 52 to 167, in github.com/stephprince/update-project (https://github.com/stephprince/update-project), commit d8557f031f45cb04532484a8a4f730af954a881d.
Paper: https://doi.org/10.1038/s41467-025-60122-8
SWHID: swh:1:cnt:ad93811d8d839ffc73bb1ac159b9314486f7b0a8;origin=https://github.com/stephprince/update-project;anchor=swh:1:rev:d8557f031f45cb04532484a8a4f730af954a881d;path=/update_project/example_trials/example_trial_visualizer.py;lines=52-167