OSCR

Block oscr:b:04HRP81XCAV4X-4

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:04HRP81XCAV4X-4
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41531-026-01354-3 · its page here
Code
github.com/psymarker/leida-python, pyleida/clustering/_clustering.py, lines 250 to 374 (identify_states)
Commit read
0f06c2713795eb05584c5436151e25637f35aed4
SWHID
swh:1:cnt:d23de33ee2539cbafd67289caa23044678db5de2;origin=https://github.com/psymarker/leida-python;anchor=swh:1:rev:0f06c2713795eb05584c5436151e25637f35aed4;path=/pyleida/clustering/_clustering.py;lines=250-374 (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 66 (Methods › Sensitivity 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:04HRP81XCAV4X-4 (https://openscicode.org/b/oscr:b:04HRP81XCAV4X-4)
pyleida/clustering/_clustering.py, lines 250 to 374, in github.com/psymarker/leida-python (https://github.com/psymarker/leida-python), commit 0f06c2713795eb05584c5436151e25637f35aed4.
Paper: https://doi.org/10.1038/s41531-026-01354-3
SWHID: swh:1:cnt:d23de33ee2539cbafd67289caa23044678db5de2;origin=https://github.com/psymarker/leida-python;anchor=swh:1:rev:0f06c2713795eb05584c5436151e25637f35aed4;path=/pyleida/clustering/_clustering.py;lines=250-374