OSCR

Block oscr:b:Q87FZQS69BKB6-2

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:Q87FZQS69BKB6-2
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41467-025-63229-0 · its page here
Code
github.com/ahwillia/lvl, lvl/factor_models/nonstationary_kmeans.py, lines 141 to 212 (nonstat_soft_kmeans)
Commit read
1a390bd43d99571a43316c2cf9cfdee95271a89c
SWHID
swh:1:cnt:b688104b838b5b882136eb8b6eb8db7d44f2ca13;origin=https://github.com/ahwillia/lvl;anchor=swh:1:rev:1a390bd43d99571a43316c2cf9cfdee95271a89c;path=/lvl/factor_models/nonstationary_kmeans.py;lines=141-212 (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 89 (Methods › Population analysis and clustering algorithm with optimized k-values)
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:Q87FZQS69BKB6-2 (https://openscicode.org/b/oscr:b:Q87FZQS69BKB6-2)
lvl/factor_models/nonstationary_kmeans.py, lines 141 to 212, in github.com/ahwillia/lvl (https://github.com/ahwillia/lvl), commit 1a390bd43d99571a43316c2cf9cfdee95271a89c.
Paper: https://doi.org/10.1038/s41467-025-63229-0
SWHID: swh:1:cnt:b688104b838b5b882136eb8b6eb8db7d44f2ca13;origin=https://github.com/ahwillia/lvl;anchor=swh:1:rev:1a390bd43d99571a43316c2cf9cfdee95271a89c;path=/lvl/factor_models/nonstationary_kmeans.py;lines=141-212