OSCR

Block oscr:b:YB4WFT6WQP2RJ-0

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:YB4WFT6WQP2RJ-0
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1073/pnas.2503576122 · its page here
Code
github.com/xu-onion/da-net, train.py, lines 75 to 134
Commit read
42dfc780c8e1d3386fc95b7394fa80a2d6a58251
SWHID
swh:1:cnt:a8580929d1ff0d5b76f27ed93846664248cd118e;origin=https://github.com/xu-onion/da-net;anchor=swh:1:rev:42dfc780c8e1d3386fc95b7394fa80a2d6a58251;path=/train.py;lines=75-134 (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 48 (Materials and Methods › Loss Function.); paragraph 64 (Materials and Methods › Training.)
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:YB4WFT6WQP2RJ-0 (https://openscicode.org/b/oscr:b:YB4WFT6WQP2RJ-0)
train.py, lines 75 to 134, in github.com/xu-onion/da-net (https://github.com/xu-onion/da-net), commit 42dfc780c8e1d3386fc95b7394fa80a2d6a58251.
Paper: https://doi.org/10.1073/pnas.2503576122
SWHID: swh:1:cnt:a8580929d1ff0d5b76f27ed93846664248cd118e;origin=https://github.com/xu-onion/da-net;anchor=swh:1:rev:42dfc780c8e1d3386fc95b7394fa80a2d6a58251;path=/train.py;lines=75-134