OSCR

Block oscr:b:RVNQKYM9BAY3B-X

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:RVNQKYM9BAY3B-X
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1016/j.jneumeth.2024.110250 · its page here
Code
github.com/comp-imaging-sci/attention-based-bilstm-sleep-scoring, Scripts/utils.py, lines 10 to 42 (calculate_metrics)
Commit read
7cb0308389ce4c0bb685c76ce971dfeee6bcec62
SWHID
swh:1:cnt:2133d23b012215997bf5cbea90549b73a3bd6720;origin=https://github.com/comp-imaging-sci/attention-based-bilstm-sleep-scoring;anchor=swh:1:rev:7cb0308389ce4c0bb685c76ce971dfeee6bcec62;path=/Scripts/utils.py;lines=10-42 (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 18 (Methods › Performance evaluation)
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:RVNQKYM9BAY3B-X (https://openscicode.org/b/oscr:b:RVNQKYM9BAY3B-X)
Scripts/utils.py, lines 10 to 42, in github.com/comp-imaging-sci/attention-based-bilstm-sleep-scoring (https://github.com/comp-imaging-sci/attention-based-bilstm-sleep-scoring), commit 7cb0308389ce4c0bb685c76ce971dfeee6bcec62.
Paper: https://doi.org/10.1016/j.jneumeth.2024.110250
SWHID: swh:1:cnt:2133d23b012215997bf5cbea90549b73a3bd6720;origin=https://github.com/comp-imaging-sci/attention-based-bilstm-sleep-scoring;anchor=swh:1:rev:7cb0308389ce4c0bb685c76ce971dfeee6bcec62;path=/Scripts/utils.py;lines=10-42