OSCR

Block oscr:b:MYC8BN0CPDBN4-3

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:MYC8BN0CPDBN4-3
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pdig.0000874 · its page here
Code
github.com/jarvisarmy/simpleslicenet, src/losses.py, lines 52 to 71 (get_logp_boundary)
Commit read
e6e043c863e7a99ea2a15dba81e536e93610f0fe
SWHID
swh:1:cnt:a304a1ad43f9bfded9b685565d08a84112d6f154;origin=https://github.com/jarvisarmy/simpleslicenet;anchor=swh:1:rev:e6e043c863e7a99ea2a15dba81e536e93610f0fe;path=/src/losses.py;lines=52-71 (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 66 (Results › Ablation study › Study on contrastive losses)
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:MYC8BN0CPDBN4-3 (https://openscicode.org/b/oscr:b:MYC8BN0CPDBN4-3)
src/losses.py, lines 52 to 71, in github.com/jarvisarmy/simpleslicenet (https://github.com/jarvisarmy/simpleslicenet), commit e6e043c863e7a99ea2a15dba81e536e93610f0fe.
Paper: https://doi.org/10.1371/journal.pdig.0000874
SWHID: swh:1:cnt:a304a1ad43f9bfded9b685565d08a84112d6f154;origin=https://github.com/jarvisarmy/simpleslicenet;anchor=swh:1:rev:e6e043c863e7a99ea2a15dba81e536e93610f0fe;path=/src/losses.py;lines=52-71