OSCR

Block oscr:b:QDJ8Z5MXE2TSE-L

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:QDJ8Z5MXE2TSE-L
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1016/j.nicl.2023.103441 · its page here
Code
github.com/shih-yen/dga3net, lossfun.py, lines 85 to 108 (BinaryFocalLoss_2)
Commit read
3f7b597951b96bd83c83813110e2a189d3029f3c
SWHID
swh:1:cnt:8816397232acc4dac2f0e6a4d411db14cc0d4574;origin=https://github.com/shih-yen/dga3net;anchor=swh:1:rev:3f7b597951b96bd83c83813110e2a189d3029f3c;path=/lossfun.py;lines=85-108 (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 26 (Materials and methods › Class-Balanced focal loss)
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:QDJ8Z5MXE2TSE-L (https://openscicode.org/b/oscr:b:QDJ8Z5MXE2TSE-L)
lossfun.py, lines 85 to 108, in github.com/shih-yen/dga3net (https://github.com/shih-yen/dga3net), commit 3f7b597951b96bd83c83813110e2a189d3029f3c.
Paper: https://doi.org/10.1016/j.nicl.2023.103441
SWHID: swh:1:cnt:8816397232acc4dac2f0e6a4d411db14cc0d4574;origin=https://github.com/shih-yen/dga3net;anchor=swh:1:rev:3f7b597951b96bd83c83813110e2a189d3029f3c;path=/lossfun.py;lines=85-108