OSCR

Block oscr:b:AEF0GY7SQ2FHX-E

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:AEF0GY7SQ2FHX-E
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41684-026-01695-9 · its page here
Code
github.com/ethz-ins/grimace_manuscript, GrimaceModelTraining/criterion/grimace_cross_entropy.py, lines 4 to 20 (GrimaceCrossEntropyLoss)
Commit read
765eb426dcc13b383334cb77f838774725cdb500
SWHID
swh:1:cnt:e4516307ae6f3cafea51bda30943b5cf003f6a8d;origin=https://github.com/ethz-ins/grimace_manuscript;anchor=swh:1:rev:765eb426dcc13b383334cb77f838774725cdb500;path=/GrimaceModelTraining/criterion/grimace_cross_entropy.py;lines=4-20 (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 43 (Methods › MGS network)
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:AEF0GY7SQ2FHX-E (https://openscicode.org/b/oscr:b:AEF0GY7SQ2FHX-E)
GrimaceModelTraining/criterion/grimace_cross_entropy.py, lines 4 to 20, in github.com/ethz-ins/grimace_manuscript (https://github.com/ethz-ins/grimace_manuscript), commit 765eb426dcc13b383334cb77f838774725cdb500.
Paper: https://doi.org/10.1038/s41684-026-01695-9
SWHID: swh:1:cnt:e4516307ae6f3cafea51bda30943b5cf003f6a8d;origin=https://github.com/ethz-ins/grimace_manuscript;anchor=swh:1:rev:765eb426dcc13b383334cb77f838774725cdb500;path=/GrimaceModelTraining/criterion/grimace_cross_entropy.py;lines=4-20