OSCR

Block oscr:b:J4QDPJPTWY7M6-R

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:J4QDPJPTWY7M6-R
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.59275/j.melba.2025-gc4c · its page here
Code
github.com/kbressem/prostate158, prostate158/loss.py, lines 5 to 23 (get_loss)
Commit read
8187638887409c95ba0b091f249a40c0822c89e0
SWHID
swh:1:cnt:9873fcb148c3a13daaf1d33884d3a546b72858d6;origin=https://github.com/kbressem/prostate158;anchor=swh:1:rev:8187638887409c95ba0b091f249a40c0822c89e0;path=/prostate158/loss.py;lines=5-23 (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 44 (Experiments › Implementation Details and Evaluation Metrics › Training Details)
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:J4QDPJPTWY7M6-R (https://openscicode.org/b/oscr:b:J4QDPJPTWY7M6-R)
prostate158/loss.py, lines 5 to 23, in github.com/kbressem/prostate158 (https://github.com/kbressem/prostate158), commit 8187638887409c95ba0b091f249a40c0822c89e0.
Paper: https://doi.org/10.59275/j.melba.2025-gc4c
SWHID: swh:1:cnt:9873fcb148c3a13daaf1d33884d3a546b72858d6;origin=https://github.com/kbressem/prostate158;anchor=swh:1:rev:8187638887409c95ba0b091f249a40c0822c89e0;path=/prostate158/loss.py;lines=5-23