OSCR

Block oscr:b:YTY6SZZ09AGS0-B

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:YTY6SZZ09AGS0-B
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41598-026-53876-8 · its page here
Code
github.com/sumit945/anomaly-detection, evaluation/metrics.py, lines 5 to 31 (compute_classification_metrics)
Commit read
39deafc204114c444a169eac91f6da022beb9d93
SWHID
swh:1:cnt:0ccd6c26143f64cd223d2b29ad533931493b3d3a;origin=https://github.com/sumit945/anomaly-detection;anchor=swh:1:rev:39deafc204114c444a169eac91f6da022beb9d93;path=/evaluation/metrics.py;lines=5-31 (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 176 (Materials and methods › Evaluation metrics); paragraph 212 (Experimental results › Ablation study)
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:YTY6SZZ09AGS0-B (https://openscicode.org/b/oscr:b:YTY6SZZ09AGS0-B)
evaluation/metrics.py, lines 5 to 31, in github.com/sumit945/anomaly-detection (https://github.com/sumit945/anomaly-detection), commit 39deafc204114c444a169eac91f6da022beb9d93.
Paper: https://doi.org/10.1038/s41598-026-53876-8
SWHID: swh:1:cnt:0ccd6c26143f64cd223d2b29ad533931493b3d3a;origin=https://github.com/sumit945/anomaly-detection;anchor=swh:1:rev:39deafc204114c444a169eac91f6da022beb9d93;path=/evaluation/metrics.py;lines=5-31