OSCR

Block oscr:b:Y0E6Y7MW80NXF-4

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:Y0E6Y7MW80NXF-4
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41593-022-01214-2 · its page here
Code
github.com/paulbrodersen/somnotate, somnotate/_automated_state_annotation.py, lines 1 to 14
Commit read
a20f33de62511d8c172e333896608b7fc166d0f0
SWHID
swh:1:cnt:34334ee397ec28f0c03404db0924cd417caa8e6d;origin=https://github.com/paulbrodersen/somnotate;anchor=swh:1:rev:a20f33de62511d8c172e333896608b7fc166d0f0;path=/somnotate/_automated_state_annotation.py;lines=1-14 (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 50 (Methods › Vigilance state scoring)
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:Y0E6Y7MW80NXF-4 (https://openscicode.org/b/oscr:b:Y0E6Y7MW80NXF-4)
somnotate/_automated_state_annotation.py, lines 1 to 14, in github.com/paulbrodersen/somnotate (https://github.com/paulbrodersen/somnotate), commit a20f33de62511d8c172e333896608b7fc166d0f0.
Paper: https://doi.org/10.1038/s41593-022-01214-2
SWHID: swh:1:cnt:34334ee397ec28f0c03404db0924cd417caa8e6d;origin=https://github.com/paulbrodersen/somnotate;anchor=swh:1:rev:a20f33de62511d8c172e333896608b7fc166d0f0;path=/somnotate/_automated_state_annotation.py;lines=1-14