OSCR

Block oscr:b:DZ1XST06QZ0FR-U

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:DZ1XST06QZ0FR-U
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41598-025-96223-z · its page here
Code
github.com/cplab/sapinet_regularization, src/utils/math/__init__.py, lines 62 to 198 (density_from_breaks)
Commit read
6e40173f2291ff17d0555a79fc52b885cbdf138f
SWHID
swh:1:cnt:3e0d0fd7afdddb54a71d18fb8ecd259b897a0bdf;origin=https://github.com/cplab/sapinet_regularization;anchor=swh:1:rev:6e40173f2291ff17d0555a79fc52b885cbdf138f;path=/src/utils/math/__init__.py;lines=62-198 (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 26 (Results › Adaptive quantization jointly optimizes resolution and activity regula); paragraph 51 (Methods › Experimental design)
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:DZ1XST06QZ0FR-U (https://openscicode.org/b/oscr:b:DZ1XST06QZ0FR-U)
src/utils/math/__init__.py, lines 62 to 198, in github.com/cplab/sapinet_regularization (https://github.com/cplab/sapinet_regularization), commit 6e40173f2291ff17d0555a79fc52b885cbdf138f.
Paper: https://doi.org/10.1038/s41598-025-96223-z
SWHID: swh:1:cnt:3e0d0fd7afdddb54a71d18fb8ecd259b897a0bdf;origin=https://github.com/cplab/sapinet_regularization;anchor=swh:1:rev:6e40173f2291ff17d0555a79fc52b885cbdf138f;path=/src/utils/math/__init__.py;lines=62-198