OSCR

Block oscr:b:7SYF4EY7WRZJC-B

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:7SYF4EY7WRZJC-B
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41593-025-01985-4 · its page here
Code
github.com/giocomolab/sosa_et_al_2024, src/reward_relative/glmUtils.py, lines 323 to 412 (create_design_matrix)
Commit read
adf0f9ed3defa22275d92fa0ed996f47008e05b3
SWHID
swh:1:cnt:8f3a1f057f3f29f244265f720442360eb14f4afa;origin=https://github.com/giocomolab/sosa_et_al_2024;anchor=swh:1:rev:adf0f9ed3defa22275d92fa0ed996f47008e05b3;path=/src/reward_relative/glmUtils.py;lines=323-412 (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 111 (Methods › GLM › Design matrix)
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:7SYF4EY7WRZJC-B (https://openscicode.org/b/oscr:b:7SYF4EY7WRZJC-B)
src/reward_relative/glmUtils.py, lines 323 to 412, in github.com/giocomolab/sosa_et_al_2024 (https://github.com/giocomolab/sosa_et_al_2024), commit adf0f9ed3defa22275d92fa0ed996f47008e05b3.
Paper: https://doi.org/10.1038/s41593-025-01985-4
SWHID: swh:1:cnt:8f3a1f057f3f29f244265f720442360eb14f4afa;origin=https://github.com/giocomolab/sosa_et_al_2024;anchor=swh:1:rev:adf0f9ed3defa22275d92fa0ed996f47008e05b3;path=/src/reward_relative/glmUtils.py;lines=323-412