3 of 5 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; 0 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 0 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/2205.13094.json · badge: /api/ran/2205.13094.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.
| Repository | Role | Ran |
|---|---|---|
| niladri-chatterji/undersampling-minimax | canonical (classifier label) classifier basis not recorded on the link |
3 ran · 2 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| size_to_int | Ran ran on a synthesized input |
niladri-chatterji/undersampling-minimax/src/architectures/simple_models.py code served (permissive licence) · get_code("e800928d4f822a38") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| subsample_groups | Ran ran on a synthesized input |
niladri-chatterji/undersampling-minimax/src/pl_datamodules/celeba_datamodule.py code served (permissive licence) · get_code("e6e8883a68fd5457") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Subset. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| undersampling_schedule | Ran ran on a synthesized input |
niladri-chatterji/undersampling-minimax/src/datasets/utils.py code served (permissive licence) · get_code("de524736ca317085") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned generator. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_transforms_list | Not yet run unverified (harvested, no recorded run) |
niladri-chatterji/undersampling-minimax/src/pl_datamodules/celeba_datamodule.py code served (permissive licence) · get_code("c946a1ff1f518dd9") How it ranno invocation recorded. |
| split_dataset | Not yet run unverified (harvested, no recorded run) |
niladri-chatterji/undersampling-minimax/src/datasets/utils.py code served (permissive licence) · get_code("47d36c87f2335145") How it ranno invocation recorded. |
Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 0 later) and 0 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| get_transforms_list | 1 other paper 1 dated earlier |
2112.12986 (2021-12) Is Importance Weighting Incompatible with Interpolating Classifiers? |
|
| size_to_int | 1 other paper 1 dated earlier |
2112.12986 (2021-12) Is Importance Weighting Incompatible with Interpolating Classifiers? |
|
| split_dataset | 1 other paper 1 dated earlier |
2112.12986 (2021-12) Is Importance Weighting Incompatible with Interpolating Classifiers? |
|
| subsample_groups | 1 other paper 1 dated earlier |
2112.12986 (2021-12) Is Importance Weighting Incompatible with Interpolating Classifiers? |
|
| undersampling_schedule | 1 other paper 1 dated earlier |
2112.12986 (2021-12) Is Importance Weighting Incompatible with Interpolating Classifiers? |
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.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
While a broad range of techniques have been proposed to tackle distribution shift, the simple baseline of training on an $\textit{undersampled}$ balanced dataset often achieves close to state-of-the-art-accuracy across several popular benchmarks. This is rather surprising, since undersampling algorithms discard excess majority group data. To understand this phenomenon, we ask if learning is fundamentally constrained by a lack of minority group samples. We prove that this is indeed the case in the setting of nonparametric binary classification. Our results show that in the worst case, an algorithm cannot outperform undersampling unless there is a high degree of overlap between the train and test distributions (which is unlikely to be the case in real-world datasets), or if the algorithm leverages additional structure about the distribution shift. In particular, in the case of label shift we show that there is always an undersampling algorithm that is minimax optimal. In the case of group-covariate shift we show that there is an undersampling algorithm that is minimax optimal when the overlap between the group distributions is small. We also perform an experimental case study on a label shift dataset and find that in line with our theory, the test accuracy of robust neural network classifiers is constrained by the number of minority samples.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2205.13094")
get_code_for_paper("2205.13094")
have("2205.13094")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2205.13094.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2205.13094)
Connect an agent — have() is free.