OSCR

Block oscr:b:1Y8XS4DSWQZWS-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:1Y8XS4DSWQZWS-M
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pone.0282268 · its page here
Code
github.com/jcraley/jhu-sz-detect, utils/evaluation.py, lines 218 to 273 (compute_metrics)
Commit read
45898b557cc3bcdd39c49a1044dcad8505601212
SWHID
swh:1:cnt:35096469680a9dad6522c336e41fa2b6fc8fd865;origin=https://github.com/jcraley/jhu-sz-detect;anchor=swh:1:rev:45898b557cc3bcdd39c49a1044dcad8505601212;path=/utils/evaluation.py;lines=218-273 (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 42 (Real-world use case: Seizure detection › Experimental setup › Performance metric)
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:1Y8XS4DSWQZWS-M (https://openscicode.org/b/oscr:b:1Y8XS4DSWQZWS-M)
utils/evaluation.py, lines 218 to 273, in github.com/jcraley/jhu-sz-detect (https://github.com/jcraley/jhu-sz-detect), commit 45898b557cc3bcdd39c49a1044dcad8505601212.
Paper: https://doi.org/10.1371/journal.pone.0282268
SWHID: swh:1:cnt:35096469680a9dad6522c336e41fa2b6fc8fd865;origin=https://github.com/jcraley/jhu-sz-detect;anchor=swh:1:rev:45898b557cc3bcdd39c49a1044dcad8505601212;path=/utils/evaluation.py;lines=218-273