OSCR

Block oscr:b:B3NYP5J9G6DJ9-9

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:B3NYP5J9G6DJ9-9
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.3390/biology15141097 · its page here
Code
github.com/wenhuiding/spad-cfr, metrics/loss_function.py, lines 8 to 146 (LossFunction)
Commit read
3b034fa1b929facb13453dccab46a388feccbdcc
SWHID
swh:1:cnt:6dfb49a452b3f4d27e18b9630af229b31529169e;origin=https://github.com/wenhuiding/spad-cfr;anchor=swh:1:rev:3b034fa1b929facb13453dccab46a388feccbdcc;path=/metrics/loss_function.py;lines=8-146 (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 18 (2. Methods › 2.4. Forward Diffusion and Joint Training Objective); paragraph 17 (2. Methods › 2.4. Forward Diffusion and Joint Training Objective)
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:B3NYP5J9G6DJ9-9 (https://openscicode.org/b/oscr:b:B3NYP5J9G6DJ9-9)
metrics/loss_function.py, lines 8 to 146, in github.com/wenhuiding/spad-cfr (https://github.com/wenhuiding/spad-cfr), commit 3b034fa1b929facb13453dccab46a388feccbdcc.
Paper: https://doi.org/10.3390/biology15141097
SWHID: swh:1:cnt:6dfb49a452b3f4d27e18b9630af229b31529169e;origin=https://github.com/wenhuiding/spad-cfr;anchor=swh:1:rev:3b034fa1b929facb13453dccab46a388feccbdcc;path=/metrics/loss_function.py;lines=8-146