OSCR

Block oscr:b:NT6BY5EDRYYE5-2

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:NT6BY5EDRYYE5-2
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41598-025-94806-4 · its page here
Code
github.com/imicslab/tumor_location_weighted_mri_report_contrastive_learning, losses/losses.py, lines 76 to 174 (ContrastiveLoss_cosine2)
Commit read
d66547f09efed20af9ff8bd1092cd9d784ab1389
SWHID
swh:1:cnt:ec564139024a6abc8ed3db5f5e67d2b8f6f119d9;origin=https://github.com/imicslab/tumor_location_weighted_mri_report_contrastive_learning;anchor=swh:1:rev:d66547f09efed20af9ff8bd1092cd9d784ab1389;path=/losses/losses.py;lines=76-174 (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 23 (Materials and methods › Pretraining MRI-report contrastive learning › Global CL )
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:NT6BY5EDRYYE5-2 (https://openscicode.org/b/oscr:b:NT6BY5EDRYYE5-2)
losses/losses.py, lines 76 to 174, in github.com/imicslab/tumor_location_weighted_mri_report_contrastive_learning (https://github.com/imicslab/tumor_location_weighted_mri_report_contrastive_learning), commit d66547f09efed20af9ff8bd1092cd9d784ab1389.
Paper: https://doi.org/10.1038/s41598-025-94806-4
SWHID: swh:1:cnt:ec564139024a6abc8ed3db5f5e67d2b8f6f119d9;origin=https://github.com/imicslab/tumor_location_weighted_mri_report_contrastive_learning;anchor=swh:1:rev:d66547f09efed20af9ff8bd1092cd9d784ab1389;path=/losses/losses.py;lines=76-174