Block oscr:b:NAE62BZ7G1JSD-7
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:NAE62BZ7G1JSD-7- 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/kMeansDistScore.py, lines 130 to 231 (optimal_k) - Commit read
adf0f9ed3defa22275d92fa0ed996f47008e05b3- SWHID
swh:1:cnt:ada4f8aa43b7c047c897bb3a466bfa897f4b87f3;origin=https://github.com/giocomolab/sosa_et_al_2024;anchor=swh:1:rev:adf0f9ed3defa22275d92fa0ed996f47008e05b3;path=/src/reward_relative/kMeansDistScore.py;lines=130-231(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 121 (Methods › K-means clustering and distance score 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:NAE62BZ7G1JSD-7 (https://openscicode.org/b/oscr:b:NAE62BZ7G1JSD-7)
src/reward_relative/kMeansDistScore.py, lines 130 to 231, 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:ada4f8aa43b7c047c897bb3a466bfa897f4b87f3;origin=https://github.com/giocomolab/sosa_et_al_2024;anchor=swh:1:rev:adf0f9ed3defa22275d92fa0ed996f47008e05b3;path=/src/reward_relative/kMeansDistScore.py;lines=130-231