OSCR

Block oscr:b:NE633TNT1PMMB-8

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:NE633TNT1PMMB-8
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.53941/tai.2025.100001 · its page here
Code
github.com/dukekuang/smg_ddi, utils.py, lines 159 to 178 (get_loss_func)
Commit read
df6397355b080a9c274797f42f6097ac258746af
SWHID
swh:1:cnt:ccf3292186cc86c032187f1f635ca4e366d4779d;origin=https://github.com/dukekuang/smg_ddi;anchor=swh:1:rev:df6397355b080a9c274797f42f6097ac258746af;path=/utils.py;lines=159-178 (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 30 (Material and Methods › Objective Function for Model 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:NE633TNT1PMMB-8 (https://openscicode.org/b/oscr:b:NE633TNT1PMMB-8)
utils.py, lines 159 to 178, in github.com/dukekuang/smg_ddi (https://github.com/dukekuang/smg_ddi), commit df6397355b080a9c274797f42f6097ac258746af.
Paper: https://doi.org/10.53941/tai.2025.100001
SWHID: swh:1:cnt:ccf3292186cc86c032187f1f635ca4e366d4779d;origin=https://github.com/dukekuang/smg_ddi;anchor=swh:1:rev:df6397355b080a9c274797f42f6097ac258746af;path=/utils.py;lines=159-178