OSCR

Block oscr:b:7JBN5AP9HV37Q-1

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:7JBN5AP9HV37Q-1
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.3389/fgene.2022.977968 · its page here
Code
github.com/ddb-qiwang/scctclust-torch, code/loss.py, lines 34 to 54 (d_cs)
Commit read
de71566b30285b7c12b99722938ca8d507a06356
SWHID
swh:1:cnt:50842c8e47865a070282c0c9756fb30bde292a71;origin=https://github.com/ddb-qiwang/scctclust-torch;anchor=swh:1:rev:de71566b30285b7c12b99722938ca8d507a06356;path=/code/loss.py;lines=34-54 (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 16 (2 Materials and methods › 2.3 C-S divergence-based clustering); paragraph 15 (2 Materials and methods › 2.3 C-S divergence-based clustering)
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:7JBN5AP9HV37Q-1 (https://openscicode.org/b/oscr:b:7JBN5AP9HV37Q-1)
code/loss.py, lines 34 to 54, in github.com/ddb-qiwang/scctclust-torch (https://github.com/ddb-qiwang/scctclust-torch), commit de71566b30285b7c12b99722938ca8d507a06356.
Paper: https://doi.org/10.3389/fgene.2022.977968
SWHID: swh:1:cnt:50842c8e47865a070282c0c9756fb30bde292a71;origin=https://github.com/ddb-qiwang/scctclust-torch;anchor=swh:1:rev:de71566b30285b7c12b99722938ca8d507a06356;path=/code/loss.py;lines=34-54