OSCR

Block oscr:b:BTRV1R8P8251E-M

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:BTRV1R8P8251E-M
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1162/imag_a_00537 · its page here
Code
github.com/liuweide01/mlft, Dice.py, lines 44 to 65 (calculate_dice)
Commit read
df989a5f1d1b06e7587e54f9862f8c8326e940e3
SWHID
swh:1:cnt:838714d0e88ddf187564f846dd107e7231da20f8;origin=https://github.com/liuweide01/mlft;anchor=swh:1:rev:df989a5f1d1b06e7587e54f9862f8c8326e940e3;path=/Dice.py;lines=44-65 (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 49 (Methods › Experiments and evaluation criteria)
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:BTRV1R8P8251E-M (https://openscicode.org/b/oscr:b:BTRV1R8P8251E-M)
Dice.py, lines 44 to 65, in github.com/liuweide01/mlft (https://github.com/liuweide01/mlft), commit df989a5f1d1b06e7587e54f9862f8c8326e940e3.
Paper: https://doi.org/10.1162/imag_a_00537
SWHID: swh:1:cnt:838714d0e88ddf187564f846dd107e7231da20f8;origin=https://github.com/liuweide01/mlft;anchor=swh:1:rev:df989a5f1d1b06e7587e54f9862f8c8326e940e3;path=/Dice.py;lines=44-65