OSCR

Block oscr:b:D574MZ5W9A3HC-8

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:D574MZ5W9A3HC-8
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41467-024-52355-w · its page here
Code
github.com/skojaku/community-detection-via-neural-embedding, libs/LFR-benchmark/lfr/generator.py, lines 16 to 142 (NetworkGenerator)
Commit read
e844e56a1941efc68e0fe5371e7bb1c8c5bfd508
SWHID
swh:1:cnt:792ad9894c22b8a1e32af810252c21ff15a9151a;origin=https://github.com/skojaku/community-detection-via-neural-embedding;anchor=swh:1:rev:e844e56a1941efc68e0fe5371e7bb1c8c5bfd508;path=/libs/LFR-benchmark/lfr/generator.py;lines=16-142 (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 6 (Results › Planted partition model); paragraph 22 (Results › Simulations: LFR benchmark)
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:D574MZ5W9A3HC-8 (https://openscicode.org/b/oscr:b:D574MZ5W9A3HC-8)
libs/LFR-benchmark/lfr/generator.py, lines 16 to 142, in github.com/skojaku/community-detection-via-neural-embedding (https://github.com/skojaku/community-detection-via-neural-embedding), commit e844e56a1941efc68e0fe5371e7bb1c8c5bfd508.
Paper: https://doi.org/10.1038/s41467-024-52355-w
SWHID: swh:1:cnt:792ad9894c22b8a1e32af810252c21ff15a9151a;origin=https://github.com/skojaku/community-detection-via-neural-embedding;anchor=swh:1:rev:e844e56a1941efc68e0fe5371e7bb1c8c5bfd508;path=/libs/LFR-benchmark/lfr/generator.py;lines=16-142