SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.17983 · 2024

Optimized Conformal Selection: Powerful Selective Inference After Conformity Score Optimization

arXiv · PDF · Open in the Atlas

Code that ran

6 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2411.17983.json · badge: /api/ran/2411.17983.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
tian-bai/optcs canonical (classifier label)
classifier basis: census
6 ran · 2 no recorded run
FunctionStatusWhere it lives
BH Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
tian-bai/optcs/real/drug/utils.py
pointer only (licence: NONE) · get_code("42773c0d592b0147")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tian-bai/optcs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

eBH Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
tian-bai/optcs/real/drug/utils.py
pointer only (licence: NONE) · get_code("7d6865421f767fac")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tian-bai/optcs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

eval Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
tian-bai/optcs/real/drug/utils.py
pointer only (licence: NONE) · get_code("a8245eae3f7da9dc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tian-bai/optcs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_D_mat Ran
ran, honoured the contract we drafted
tian-bai/optcs/real/llm/clustering.py
pointer only (licence: NONE) · get_code("8d0c51ce26ff6e51")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tian-bai/optcs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_L_mat Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
tian-bai/optcs/real/llm/clustering.py
pointer only (licence: NONE) · get_code("cf36dbb016c0d562")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tian-bai/optcs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_before_findings Ran
ran; our contract draft was wrong, not the code
tian-bai/optcs/real/llm/_utils.py
pointer only (licence: NONE) · get_code("9f7e0e4fe016a10b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tian-bai/optcs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

chexbert_eval Not yet run
unverified (harvested, no recorded run)
tian-bai/optcs/real/llm/chexbert.py
pointer only (licence: NONE) · get_code("4907d4e99bf14682")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tian-bai/optcs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_affinity_mat Not yet run
unverified (harvested, no recorded run)
tian-bai/optcs/real/llm/clustering.py
pointer only (licence: NONE) · get_code("55a378893dbf86d4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tian-bai/optcs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 0 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_D_mat 2 other papers
2 dated earlier
2406.01806 (2024-06)
Contextualized Sequence Likelihood: Enhanced Confidence Scores for Natural Language Generation
2406.03158 (2024-06)
CSS: Contrastive Semantic Similarity for Uncertainty Quantification of LLMs
get_L_mat 2 other papers
2 dated earlier
2406.01806 (2024-06)
Contextualized Sequence Likelihood: Enhanced Confidence Scores for Natural Language Generation
2406.03158 (2024-06)
CSS: Contrastive Semantic Similarity for Uncertainty Quantification of LLMs

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Model selection/optimization in conformal inference is challenging, since it may break the exchangeability between labeled and unlabeled data. We study this problem in the context of conformal selection, which uses conformal p-values to select ``interesting'' instances with large unobserved labels from a pool of unlabeled data, while controlling the FDR in finite sample. For validity, existing solutions require the model choice to be independent of the data used to construct the p-values and calibrate the selection set. However, when presented with many model choices and limited labeled data, it is desirable to (i) select the best model in a data-driven manner, and (ii) mitigate power loss due to sample splitting. This paper presents OptCS, a general framework that allows valid statistical testing (selection) after flexible data-driven model optimization. We introduce general conditions under which OptCS constructs valid conformal p-values despite substantial data reuse and handles complex p-value dependencies to maintain finite-sample FDR control via a novel multiple testing procedure. We instantiate this general recipe to propose three FDR-controlling procedures, each optimizing the models differently: (i) selecting the most powerful one among multiple pre-trained candidate models, (ii) using all data for model fitting without sample splitting, and (iii) combining full-sample model fitting and selection. We demonstrate the efficacy of our methods via simulation studies and real applications in drug discovery and alignment of large language models in radiology report generation.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2411.17983")
get_code_for_paper("2411.17983")
have("2411.17983")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2411.17983.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2411.17983.svg)](https://syntology.ai/paper/2411.17983)

Connect an agent — have() is free.