Block oscr:b:NP46M91FGH59T-Q
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:NP46M91FGH59T-Q- Status
- Current: the registry links these lines to the paper today.
- Paper
- doi:10.1371/journal.pbio.3001627 · its page here
- Code
- github.com/oualidbenkarim/ps_diversity,
propensity_score.py, lines 19 to 49 (estimate_ps) - Commit read
de34914a1cd71f41bce163a13dcd4141b8d611fd- SWHID
swh:1:cnt:be43b9dfccc5757f8fa6f96507513471c760d7ac;origin=https://github.com/oualidbenkarim/ps_diversity;anchor=swh:1:rev:de34914a1cd71f41bce163a13dcd4141b8d611fd;path=/propensity_score.py;lines=19-49(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 16 (Methods › Quantifying diversity using propensity scores)
- Linked by
- the registry's matching program (lexical-v1), which can be wrong
- Identifier given
- 2026-11-16
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:NP46M91FGH59T-Q (https://openscicode.org/b/oscr:b:NP46M91FGH59T-Q)
propensity_score.py, lines 19 to 49, in github.com/oualidbenkarim/ps_diversity (https://github.com/oualidbenkarim/ps_diversity), commit de34914a1cd71f41bce163a13dcd4141b8d611fd.
Paper: https://doi.org/10.1371/journal.pbio.3001627
SWHID: swh:1:cnt:be43b9dfccc5757f8fa6f96507513471c760d7ac;origin=https://github.com/oualidbenkarim/ps_diversity;anchor=swh:1:rev:de34914a1cd71f41bce163a13dcd4141b8d611fd;path=/propensity_score.py;lines=19-49