OSCR

Block oscr:b:K834YR7WPQ8Q1-V

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:K834YR7WPQ8Q1-V
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/behavior/behavior_analyzer.py, lines 175 to 193 (BehaviorAnalyzer._get_event_durations)
Commit read
d8557f031f45cb04532484a8a4f730af954a881d
SWHID
swh:1:cnt:3d8bd31ccabb8c55ab5974a752da61a137f01d1c;origin=https://github.com/stephprince/update-project;anchor=swh:1:rev:d8557f031f45cb04532484a8a4f730af954a881d;path=/update_project/behavior/behavior_analyzer.py;lines=175-193 (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 39 (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:K834YR7WPQ8Q1-V (https://openscicode.org/b/oscr:b:K834YR7WPQ8Q1-V)
update_project/behavior/behavior_analyzer.py, lines 175 to 193, 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:3d8bd31ccabb8c55ab5974a752da61a137f01d1c;origin=https://github.com/stephprince/update-project;anchor=swh:1:rev:d8557f031f45cb04532484a8a4f730af954a881d;path=/update_project/behavior/behavior_analyzer.py;lines=175-193