OSCR

Block oscr:b:67QBKHMBXHZWD-I

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:67QBKHMBXHZWD-I
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41467-023-38585-4 · its page here
Code
github.com/netneurolab/bazinet_assortativity, functions.py, lines 39 to 98 (weighted_assort)
Commit read
baab96d173b8c5a265667a4259cf228713dabcc7
SWHID
swh:1:cnt:c7533cfc11dc2bf7a0b33620d2e305344471f4df;origin=https://github.com/netneurolab/bazinet_assortativity;anchor=swh:1:rev:baab96d173b8c5a265667a4259cf228713dabcc7;path=/functions.py;lines=39-98 (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 (Methods › Ranked-based assortativity); paragraph 56 (Methods › Assortativity)
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:67QBKHMBXHZWD-I (https://openscicode.org/b/oscr:b:67QBKHMBXHZWD-I)
functions.py, lines 39 to 98, in github.com/netneurolab/bazinet_assortativity (https://github.com/netneurolab/bazinet_assortativity), commit baab96d173b8c5a265667a4259cf228713dabcc7.
Paper: https://doi.org/10.1038/s41467-023-38585-4
SWHID: swh:1:cnt:c7533cfc11dc2bf7a0b33620d2e305344471f4df;origin=https://github.com/netneurolab/bazinet_assortativity;anchor=swh:1:rev:baab96d173b8c5a265667a4259cf228713dabcc7;path=/functions.py;lines=39-98