OSCR

Block oscr:b:Z2ZCXP76DP1GH-Q

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:Z2ZCXP76DP1GH-Q
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41598-022-11210-y · its page here
Code
github.com/dslaborg/sumo, sumo/loss/loss.py, lines 6 to 112 (GeneralizedDiceLoss)
Commit read
1f1a61c1f576245cb82be39e7548fba4fda79db5
SWHID
swh:1:cnt:ff7c995308485548873ddfb7fbc431817b829c17;origin=https://github.com/dslaborg/sumo;anchor=swh:1:rev:1f1a61c1f576245cb82be39e7548fba4fda79db5;path=/sumo/loss/loss.py;lines=6-112 (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 14 (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:Z2ZCXP76DP1GH-Q (https://openscicode.org/b/oscr:b:Z2ZCXP76DP1GH-Q)
sumo/loss/loss.py, lines 6 to 112, in github.com/dslaborg/sumo (https://github.com/dslaborg/sumo), commit 1f1a61c1f576245cb82be39e7548fba4fda79db5.
Paper: https://doi.org/10.1038/s41598-022-11210-y
SWHID: swh:1:cnt:ff7c995308485548873ddfb7fbc431817b829c17;origin=https://github.com/dslaborg/sumo;anchor=swh:1:rev:1f1a61c1f576245cb82be39e7548fba4fda79db5;path=/sumo/loss/loss.py;lines=6-112