OSCR

Block oscr:b:9CFBED9GD8B5D-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:9CFBED9GD8B5D-I
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41467-021-26703-z · its page here
Code
github.com/zhijian-yang/smilegan, SmileGAN/utils.py, lines 20 to 38 (find_highest_ari_model)
Commit read
c2df20efbf2f3d55c1f9ad93ac5c94d4a6c73ad2
SWHID
swh:1:cnt:cc132aaa62d48e8254ef72f17a83317c98c2ad20;origin=https://github.com/zhijian-yang/smilegan;anchor=swh:1:rev:c2df20efbf2f3d55c1f9ad93ac5c94d4a6c73ad2;path=/SmileGAN/utils.py;lines=20-38 (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 49 (Methods › Pattern memberships and probabilities assignments)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-17

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:9CFBED9GD8B5D-I (https://openscicode.org/b/oscr:b:9CFBED9GD8B5D-I)
SmileGAN/utils.py, lines 20 to 38, in github.com/zhijian-yang/smilegan (https://github.com/zhijian-yang/smilegan), commit c2df20efbf2f3d55c1f9ad93ac5c94d4a6c73ad2.
Paper: https://doi.org/10.1038/s41467-021-26703-z
SWHID: swh:1:cnt:cc132aaa62d48e8254ef72f17a83317c98c2ad20;origin=https://github.com/zhijian-yang/smilegan;anchor=swh:1:rev:c2df20efbf2f3d55c1f9ad93ac5c94d4a6c73ad2;path=/SmileGAN/utils.py;lines=20-38