OSCR

Block oscr:b:E93J08F1525X6-Q

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:E93J08F1525X6-Q
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1162/imag_a_00374 · its page here
Code
github.com/waadgo/fondue, compute_similarity.py, lines 599 to 722 (compute_metrics)
Commit read
b585fa0e17b9bfa524a2622e5fe0f49e16434dac
SWHID
swh:1:cnt:09c5c0ce8213ee6c69e64d4541e2d44d596321b1;origin=https://github.com/waadgo/fondue;anchor=swh:1:rev:b585fa0e17b9bfa524a2622e5fe0f49e16434dac;path=/compute_similarity.py;lines=599-722 (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 52 (Methods › Loss functions and image similarity metrics › On the election of the p)
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:E93J08F1525X6-Q (https://openscicode.org/b/oscr:b:E93J08F1525X6-Q)
compute_similarity.py, lines 599 to 722, in github.com/waadgo/fondue (https://github.com/waadgo/fondue), commit b585fa0e17b9bfa524a2622e5fe0f49e16434dac.
Paper: https://doi.org/10.1162/imag_a_00374
SWHID: swh:1:cnt:09c5c0ce8213ee6c69e64d4541e2d44d596321b1;origin=https://github.com/waadgo/fondue;anchor=swh:1:rev:b585fa0e17b9bfa524a2622e5fe0f49e16434dac;path=/compute_similarity.py;lines=599-722