OSCR

Block oscr:b:WBVTRGTF9BJNG-A

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:WBVTRGTF9BJNG-A
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pcbi.1010747 · its page here
Code
github.com/sappelhoff/ecomp_analysis, beh_weightings.py, lines 174 to 298 (calc_CP_weights)
Commit read
38e6acdb20a63e2fefeda9734fa9c739d223da75
SWHID
swh:1:cnt:93d7a271e8c69aa8dabf9653dfa38f8e6a68c17d;origin=https://github.com/sappelhoff/ecomp_analysis;anchor=swh:1:rev:38e6acdb20a63e2fefeda9734fa9c739d223da75;path=/beh_weightings.py;lines=174-298 (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 42 (Materials and methods › Behavioral data analysis)
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:WBVTRGTF9BJNG-A (https://openscicode.org/b/oscr:b:WBVTRGTF9BJNG-A)
beh_weightings.py, lines 174 to 298, in github.com/sappelhoff/ecomp_analysis (https://github.com/sappelhoff/ecomp_analysis), commit 38e6acdb20a63e2fefeda9734fa9c739d223da75.
Paper: https://doi.org/10.1371/journal.pcbi.1010747
SWHID: swh:1:cnt:93d7a271e8c69aa8dabf9653dfa38f8e6a68c17d;origin=https://github.com/sappelhoff/ecomp_analysis;anchor=swh:1:rev:38e6acdb20a63e2fefeda9734fa9c739d223da75;path=/beh_weightings.py;lines=174-298