OSCR

Block oscr:b:E2Q41TT8HTTSC-C

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:E2Q41TT8HTTSC-C
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.3390/s24061981 · its page here
Code
github.com/marianocabezas/rethinking_dsc, criterions.py, lines 49 to 131 (gendsc_loss)
Commit read
83f4f458bf76c7e26138346e9c887bd063a315e0
SWHID
swh:1:cnt:d54c808680912b8b7b08020015ed8b5f008427ed;origin=https://github.com/marianocabezas/rethinking_dsc;anchor=swh:1:rev:83f4f458bf76c7e26138346e9c887bd063a315e0;path=/criterions.py;lines=49-131 (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 17 (2. Materials and Methods › 2.3. Loss Functions › 2.3.3. Generalised Dice Loss); paragraph 16 (2. Materials and Methods › 2.3. Loss Functions › 2.3.3. Generalised Dice 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:E2Q41TT8HTTSC-C (https://openscicode.org/b/oscr:b:E2Q41TT8HTTSC-C)
criterions.py, lines 49 to 131, in github.com/marianocabezas/rethinking_dsc (https://github.com/marianocabezas/rethinking_dsc), commit 83f4f458bf76c7e26138346e9c887bd063a315e0.
Paper: https://doi.org/10.3390/s24061981
SWHID: swh:1:cnt:d54c808680912b8b7b08020015ed8b5f008427ed;origin=https://github.com/marianocabezas/rethinking_dsc;anchor=swh:1:rev:83f4f458bf76c7e26138346e9c887bd063a315e0;path=/criterions.py;lines=49-131