OSCR

Block oscr:b:NAVE6F6WYPH5K-7

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:NAVE6F6WYPH5K-7
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1002/mrm.70431 · its page here
Code
github.com/chiew-group/selexnet, src/selexnet/train.py, lines 473 to 497 (Trainer._criterion)
Commit read
ef28e2706b41325f09c90d603f15dca2a2101dc9
SWHID
swh:1:cnt:8fa27793ba894028f4a30e3cc21104ff78ea3271;origin=https://github.com/chiew-group/selexnet;anchor=swh:1:rev:ef28e2706b41325f09c90d603f15dca2a2101dc9;path=/src/selexnet/train.py;lines=473-497 (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 29 (Methods › Loss Functions › Gradient Constraint 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:NAVE6F6WYPH5K-7 (https://openscicode.org/b/oscr:b:NAVE6F6WYPH5K-7)
src/selexnet/train.py, lines 473 to 497, in github.com/chiew-group/selexnet (https://github.com/chiew-group/selexnet), commit ef28e2706b41325f09c90d603f15dca2a2101dc9.
Paper: https://doi.org/10.1002/mrm.70431
SWHID: swh:1:cnt:8fa27793ba894028f4a30e3cc21104ff78ea3271;origin=https://github.com/chiew-group/selexnet;anchor=swh:1:rev:ef28e2706b41325f09c90d603f15dca2a2101dc9;path=/src/selexnet/train.py;lines=473-497