OSCR

Block oscr:b:QKZAA4M787M7S-Q

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:QKZAA4M787M7S-Q
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41467-022-29632-7 · its page here
Code
github.com/ago109/ngc-learn, ngclearn/utils/metric_utils.py, lines 543 to 566 (measure_BCE)
Commit read
48209ae10993621690c3b8d44097025f72bee501
SWHID
swh:1:cnt:9de7437fa1236ae703cdc35a6dbc012f231ce862;origin=https://github.com/ago109/ngc-learn;anchor=swh:1:rev:48209ae10993621690c3b8d44097025f72bee501;path=/ngclearn/utils/metric_utils.py;lines=543-566 (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 76 (Methods › Experimental setup and task design › The density modeling task)
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:QKZAA4M787M7S-Q (https://openscicode.org/b/oscr:b:QKZAA4M787M7S-Q)
ngclearn/utils/metric_utils.py, lines 543 to 566, in github.com/ago109/ngc-learn (https://github.com/ago109/ngc-learn), commit 48209ae10993621690c3b8d44097025f72bee501.
Paper: https://doi.org/10.1038/s41467-022-29632-7
SWHID: swh:1:cnt:9de7437fa1236ae703cdc35a6dbc012f231ce862;origin=https://github.com/ago109/ngc-learn;anchor=swh:1:rev:48209ae10993621690c3b8d44097025f72bee501;path=/ngclearn/utils/metric_utils.py;lines=543-566