OSCR

Block oscr:b:2P3ZQTDKF2ENY-P

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:2P3ZQTDKF2ENY-P
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41598-026-38221-3 · its page here
Code
github.com/mbagherian/no-rank-tensor-decomposition, metric learning/utils.py, lines 12 to 76 (improved_smart_triplet_mining)
Commit read
331dee62bd6618c4667c9a35f46f0d0b96df50d0
SWHID
swh:1:cnt:0d709ea59ec3c9faf05a15d2a9fc82e292c9b38d;origin=https://github.com/mbagherian/no-rank-tensor-decomposition;anchor=swh:1:rev:331dee62bd6618c4667c9a35f46f0d0b96df50d0;path=/metric%20learning/utils.py;lines=12-76 (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 53 (Metric learning framework › Locality preservation framework)
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:2P3ZQTDKF2ENY-P (https://openscicode.org/b/oscr:b:2P3ZQTDKF2ENY-P)
metric learning/utils.py, lines 12 to 76, in github.com/mbagherian/no-rank-tensor-decomposition (https://github.com/mbagherian/no-rank-tensor-decomposition), commit 331dee62bd6618c4667c9a35f46f0d0b96df50d0.
Paper: https://doi.org/10.1038/s41598-026-38221-3
SWHID: swh:1:cnt:0d709ea59ec3c9faf05a15d2a9fc82e292c9b38d;origin=https://github.com/mbagherian/no-rank-tensor-decomposition;anchor=swh:1:rev:331dee62bd6618c4667c9a35f46f0d0b96df50d0;path=/metric%20learning/utils.py;lines=12-76