OSCR

Block oscr:b:XK3EDPMSP5C1T-K

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:XK3EDPMSP5C1T-K
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41467-025-61531-5 · its page here
Code
github.com/kohpangwei/group_dro, train.py, lines 83 to 225 (train)
Commit read
cbbc1c5b06844e46b87e264326b56056d2a437d1
SWHID
swh:1:cnt:fc2e7c1438bcc6f8f23cf9073737dfaf80f14cf9;origin=https://github.com/kohpangwei/group_dro;anchor=swh:1:rev:cbbc1c5b06844e46b87e264326b56056d2a437d1;path=/train.py;lines=83-225 (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 49 (Methods › Implementation details); paragraph 51 (Methods › Implementation details)
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:XK3EDPMSP5C1T-K (https://openscicode.org/b/oscr:b:XK3EDPMSP5C1T-K)
train.py, lines 83 to 225, in github.com/kohpangwei/group_dro (https://github.com/kohpangwei/group_dro), commit cbbc1c5b06844e46b87e264326b56056d2a437d1.
Paper: https://doi.org/10.1038/s41467-025-61531-5
SWHID: swh:1:cnt:fc2e7c1438bcc6f8f23cf9073737dfaf80f14cf9;origin=https://github.com/kohpangwei/group_dro;anchor=swh:1:rev:cbbc1c5b06844e46b87e264326b56056d2a437d1;path=/train.py;lines=83-225