OSCR

Block oscr:b:6MWSEBB3MM8D9-9

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:6MWSEBB3MM8D9-9
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1016/j.isci.2025.112124 · its page here
Code
github.com/ibm/causallib, causallib/metrics/propensity_metrics.py, lines 17 to 37 (weighted_roc_auc_error)
Commit read
267e0c72df81ea8264ece46496107f99a599b60d
SWHID
swh:1:cnt:898be3f128f467cb2e60ac4bbd6b505def495a03;origin=https://github.com/ibm/causallib;anchor=swh:1:rev:267e0c72df81ea8264ece46496107f99a599b60d;path=/causallib/metrics/propensity_metrics.py;lines=17-37 (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 25 (Results › Validating zonisamide as a potential therapeutic agent)
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:6MWSEBB3MM8D9-9 (https://openscicode.org/b/oscr:b:6MWSEBB3MM8D9-9)
causallib/metrics/propensity_metrics.py, lines 17 to 37, in github.com/ibm/causallib (https://github.com/ibm/causallib), commit 267e0c72df81ea8264ece46496107f99a599b60d.
Paper: https://doi.org/10.1016/j.isci.2025.112124
SWHID: swh:1:cnt:898be3f128f467cb2e60ac4bbd6b505def495a03;origin=https://github.com/ibm/causallib;anchor=swh:1:rev:267e0c72df81ea8264ece46496107f99a599b60d;path=/causallib/metrics/propensity_metrics.py;lines=17-37