Block oscr:b:2GMAQJJ3KRYBH-W
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:2GMAQJJ3KRYBH-W- Status
- Current: the registry links these lines to the paper today.
- Paper
- doi:10.3389/frai.2025.1549085 · its page here
- Code
- github.com/olfub/xlp,
lp_encodings.py, lines 46 to 102 (cost_costpenalty) - Commit read
4cd53c7b31a4ff1fad0d70e52df1df927aac60d9- SWHID
swh:1:cnt:c8fb01f5ff928964a9d2de427ef219f355e649ae;origin=https://github.com/olfub/xlp;anchor=swh:1:rev:4cd53c7b31a4ff1fad0d70e52df1df927aac60d9;path=/lp_encodings.py;lines=46-102(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 27 (3 Encoding priors for linear programs › 3.2 Gain-penalty encoding)
- 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:2GMAQJJ3KRYBH-W (https://openscicode.org/b/oscr:b:2GMAQJJ3KRYBH-W)
lp_encodings.py, lines 46 to 102, in github.com/olfub/xlp (https://github.com/olfub/xlp), commit 4cd53c7b31a4ff1fad0d70e52df1df927aac60d9.
Paper: https://doi.org/10.3389/frai.2025.1549085
SWHID: swh:1:cnt:c8fb01f5ff928964a9d2de427ef219f355e649ae;origin=https://github.com/olfub/xlp;anchor=swh:1:rev:4cd53c7b31a4ff1fad0d70e52df1df927aac60d9;path=/lp_encodings.py;lines=46-102