OSCR

Block oscr:b:Y4R9JA49W5P8M-3

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:Y4R9JA49W5P8M-3
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41598-026-35627-x · its page here
Code
github.com/ahmeddemad7/brain-tumor-segmentation-advancing-generalizability, AI/inference/postprocess.py, lines 5 to 29 (generate_prediction_mask)
Commit read
248789f547fba152cc4f61c1f4026871246c762a
SWHID
swh:1:cnt:24f6699bbade7998d4bea3fbb21f1d7a34497940;origin=https://github.com/ahmeddemad7/brain-tumor-segmentation-advancing-generalizability;anchor=swh:1:rev:248789f547fba152cc4f61c1f4026871246c762a;path=/AI/inference/postprocess.py;lines=5-29 (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 60 (Materials and methods › Inference)
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:Y4R9JA49W5P8M-3 (https://openscicode.org/b/oscr:b:Y4R9JA49W5P8M-3)
AI/inference/postprocess.py, lines 5 to 29, in github.com/ahmeddemad7/brain-tumor-segmentation-advancing-generalizability (https://github.com/ahmeddemad7/brain-tumor-segmentation-advancing-generalizability), commit 248789f547fba152cc4f61c1f4026871246c762a.
Paper: https://doi.org/10.1038/s41598-026-35627-x
SWHID: swh:1:cnt:24f6699bbade7998d4bea3fbb21f1d7a34497940;origin=https://github.com/ahmeddemad7/brain-tumor-segmentation-advancing-generalizability;anchor=swh:1:rev:248789f547fba152cc4f61c1f4026871246c762a;path=/AI/inference/postprocess.py;lines=5-29