OSCR

Block oscr:b:DJG4Q0F9185VR-Z

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:DJG4Q0F9185VR-Z
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1167/jov.23.5.16 · its page here
Code
github.com/hosseinadeli/ocra_samediff, ocra.py, lines 537 to 636 (loss_fn)
Commit read
6fe11fd8d9b27470b41f8d63da39dbac2317f887
SWHID
swh:1:cnt:f3f9ff3cdcc1225c9d2bc1a4373d4f4f992d8abb;origin=https://github.com/hosseinadeli/ocra_samediff;anchor=swh:1:rev:6fe11fd8d9b27470b41f8d63da39dbac2317f887;path=/ocra.py;lines=537-636 (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 11 (Materials and methods › Loss function); paragraph 21 (Results › Overlapping objects)
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:DJG4Q0F9185VR-Z (https://openscicode.org/b/oscr:b:DJG4Q0F9185VR-Z)
ocra.py, lines 537 to 636, in github.com/hosseinadeli/ocra_samediff (https://github.com/hosseinadeli/ocra_samediff), commit 6fe11fd8d9b27470b41f8d63da39dbac2317f887.
Paper: https://doi.org/10.1167/jov.23.5.16
SWHID: swh:1:cnt:f3f9ff3cdcc1225c9d2bc1a4373d4f4f992d8abb;origin=https://github.com/hosseinadeli/ocra_samediff;anchor=swh:1:rev:6fe11fd8d9b27470b41f8d63da39dbac2317f887;path=/ocra.py;lines=537-636