OSCR

Block oscr:b:HX57H78BWSEPR-N

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:HX57H78BWSEPR-N
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41586-026-10331-y · its page here
Code
github.com/abidlabs/contrastive, contrastive/__init__.py, lines 12 to 20 (CPCA)
Commit read
f0d3c330009cfdc76675f95859e70dc96adc3689
SWHID
swh:1:cnt:6e00d289fbdbb93e7974c112c79bd8c846f36513;origin=https://github.com/abidlabs/contrastive;anchor=swh:1:rev:f0d3c330009cfdc76675f95859e70dc96adc3689;path=/contrastive/__init__.py;lines=12-20 (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 56 (Methods › cPCA)
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:HX57H78BWSEPR-N (https://openscicode.org/b/oscr:b:HX57H78BWSEPR-N)
contrastive/__init__.py, lines 12 to 20, in github.com/abidlabs/contrastive (https://github.com/abidlabs/contrastive), commit f0d3c330009cfdc76675f95859e70dc96adc3689.
Paper: https://doi.org/10.1038/s41586-026-10331-y
SWHID: swh:1:cnt:6e00d289fbdbb93e7974c112c79bd8c846f36513;origin=https://github.com/abidlabs/contrastive;anchor=swh:1:rev:f0d3c330009cfdc76675f95859e70dc96adc3689;path=/contrastive/__init__.py;lines=12-20