OSCR

Block oscr:b:5ACDT05YT3TJ4-B

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:5ACDT05YT3TJ4-B
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41467-026-71759-4 · its page here
Code
github.com/super-lzzz/cellniche, cellniche/model.py, lines 8 to 101 (ContrastiveLoss)
Commit read
af58974ded7cf57299a9f8952d4cc6dffee39c6f
SWHID
swh:1:cnt:c99021dde4594fb42c42fc47a2435e7612f832e5;origin=https://github.com/super-lzzz/cellniche;anchor=swh:1:rev:af58974ded7cf57299a9f8952d4cc6dffee39c6f;path=/cellniche/model.py;lines=8-101 (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 70 (Methods › Loss function); paragraph 73 (Methods › Loss function)
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:5ACDT05YT3TJ4-B (https://openscicode.org/b/oscr:b:5ACDT05YT3TJ4-B)
cellniche/model.py, lines 8 to 101, in github.com/super-lzzz/cellniche (https://github.com/super-lzzz/cellniche), commit af58974ded7cf57299a9f8952d4cc6dffee39c6f.
Paper: https://doi.org/10.1038/s41467-026-71759-4
SWHID: swh:1:cnt:c99021dde4594fb42c42fc47a2435e7612f832e5;origin=https://github.com/super-lzzz/cellniche;anchor=swh:1:rev:af58974ded7cf57299a9f8952d4cc6dffee39c6f;path=/cellniche/model.py;lines=8-101