12 of 17 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; 2 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 8 failures of our instrument; 5 no recorded run), measured 2026-11-22; 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/2111.12853.json · badge: /api/ran/2111.12853.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 |
|---|---|---|
| shogi880/DPLCLIP | canonical (classifier label) classifier basis: plan_row |
12 ran · 5 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| Classifier | Ran ran; our contract draft was wrong, not the code |
shogi880/DPLCLIP/domainbed/networks.py pointer only (licence: MIT) · get_code("ce7990d7ad5821ff") How it ranThe body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shogi880/DPLCLIP, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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. |
| configure_model | Ran ran; our contract draft was wrong, not the code |
shogi880/DPLCLIP/domainbed/adapt_algorithms.py pointer only (licence: MIT) · get_code("09762c09de098b26") How it ranThe body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shogi880/DPLCLIP, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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. |
| conv1x1 | Ran ran; our contract draft was wrong, not the code |
shogi880/DPLCLIP/domainbed/lib/big_transfer.py pointer only (licence: MIT) · get_code("ee80cf467065076b") How it ranThe body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shogi880/DPLCLIP, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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. |
| conv3x3 | Ran ran; our contract draft was wrong, not the code |
shogi880/DPLCLIP/domainbed/lib/big_transfer.py pointer only (licence: MIT) · get_code("f01b8d3901f0b289") How it ranThe body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shogi880/DPLCLIP, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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. |
| copy_model_and_optimizer | Ran ran on a synthesized input |
shogi880/DPLCLIP/domainbed/adapt_algorithms.py pointer only (licence: MIT) · get_code("eeef10dc6caedb9c") How it ranThe body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shogi880/DPLCLIP, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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_test_records | Ran ran; our contract draft was wrong, not the code |
shogi880/DPLCLIP/domainbed/model_selection.py pointer only (licence: MIT) · get_code("53fac8d8d949e72b") How it ranThe body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shogi880/DPLCLIP, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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. |
| hashable | Ran ran, honoured the contract we drafted |
shogi880/DPLCLIP/domainbed/lib/query.py pointer only (licence: MIT) · get_code("71a3a61ceed99bf3") How it ranThe body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shogi880/DPLCLIP, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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. |
| make_selector_fn | Ran ran; our contract draft was wrong, not the code |
shogi880/DPLCLIP/domainbed/lib/query.py pointer only (licence: MIT) · get_code("2f8af5779e1edcb6") How it ranThe body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shogi880/DPLCLIP, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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. |
| make_weights_for_balanced_classes | Ran ran, honoured the contract we drafted |
shogi880/DPLCLIP/domainbed/lib/misc.py pointer only (licence: MIT) · get_code("5f576ed342c48a0a") How it ranThe body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shogi880/DPLCLIP, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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. |
| remove_batch_norm_from_resnet | Ran ran; our contract draft was wrong, not the code |
shogi880/DPLCLIP/domainbed/networks.py pointer only (licence: MIT) · get_code("196cab71d7129d62") How it ranThe body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shogi880/DPLCLIP, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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. |
| split_dataset | Ran ran; our contract draft was wrong, not the code |
shogi880/DPLCLIP/domainbed/lib/misc.py pointer only (licence: MIT) · get_code("18e820e42046bc45") How it ranThe body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shogi880/DPLCLIP, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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. |
| tf2th | Ran ran, violated the contract we drafted |
shogi880/DPLCLIP/domainbed/lib/big_transfer.py pointer only (licence: MIT) · get_code("7023eb86801bb3a3") How it ranThe body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shogi880/DPLCLIP, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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_algorithm_class | Not yet run unverified (harvested, no recorded run) |
shogi880/DPLCLIP/domainbed/adapt_algorithms.py pointer only (licence: MIT) · get_code("b0bc80b1655a6802") How it ranThe body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shogi880/DPLCLIP, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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_dataset_class | Not yet run unverified (harvested, no recorded run) |
shogi880/DPLCLIP/domainbed/datasets.py pointer only (licence: MIT) · get_code("d0ea85d74c20dea9") How it ranThe body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shogi880/DPLCLIP, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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. |
| multi_gpu_launcher | Not yet run unverified (harvested, no recorded run) |
shogi880/DPLCLIP/domainbed/command_launchers.py pointer only (licence: MIT) · get_code("ede61a3f47f1cb21") How it ranThe body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shogi880/DPLCLIP, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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. |
| num_environments | Not yet run unverified (harvested, no recorded run) |
shogi880/DPLCLIP/domainbed/datasets.py pointer only (licence: MIT) · get_code("73f32252eedba6a4") How it ranThe body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shogi880/DPLCLIP, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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. |
| print_row | Not yet run unverified (harvested, no recorded run) |
shogi880/DPLCLIP/domainbed/lib/misc.py pointer only (licence: MIT) · get_code("af3c9a80c8fd1f7a") How it ranThe body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shogi880/DPLCLIP, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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. |
Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 15 are also present in other papers whose code we hold (14 with at least one paper dated earlier, 4 the same month, 15 later) and 2 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_algorithm_class | 39 other papers 7 dated earlier, 32 later |
1907.02893 (2019-07) Invariant Risk Minimization |
2007.01434 (2020-07) In Search of Lost Domain Generalization 2007.02931 (2020-07) Adaptive Risk Minimization: Learning to Adapt to Domain Shift and 36 more not named here |
| conv1x1 | 33 other papers 8 dated earlier, 2 the same month, 23 later · 3 only as an assembly brick |
1912.11370 (2019-12) Big Transfer (BiT): General Visual Representation Learning |
2010.11929 (2020-10) An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 2102.04306 (2021-02) TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation and 30 more not named here |
| conv3x3 | 33 other papers 8 dated earlier, 2 the same month, 23 later · 3 only as an assembly brick |
1912.11370 (2019-12) Big Transfer (BiT): General Visual Representation Learning |
2010.11929 (2020-10) An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 2102.04306 (2021-02) TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation and 30 more not named here |
| Classifier | 24 other papers 1 dated earlier, 23 later · 4 only as an assembly brick |
2106.02266 (2021-06) SAND-mask: An Enhanced Gradient Masking Strategy for the Discovery of Invariances in Domain Generalization |
2205.09739 (2022-05) Diverse Weight Averaging for Out-of-Distribution Generalization 2205.13462 (2022-05) FedBR: Improving Federated Learning on Heterogeneous Data via Local Learning Bias Reduction and 21 more not named here |
| remove_batch_norm_from_resnet | 23 other papers 2 dated earlier, 21 later |
1907.02893 (2019-07) Invariant Risk Minimization |
2106.02266 (2021-06) SAND-mask: An Enhanced Gradient Masking Strategy for the Discovery of Invariances in Domain Generalization 2205.09739 (2022-05) Diverse Weight Averaging for Out-of-Distribution Generalization and 20 more not named here |
| get_test_records | 22 other papers 3 dated earlier, 1 the same month, 18 later |
1710.03077 (2017-10) Deeper, Broader and Artier Domain Generalization |
1907.02893 (2019-07) Invariant Risk Minimization 2106.02266 (2021-06) SAND-mask: An Enhanced Gradient Masking Strategy for the Discovery of Invariances in Domain Generalization and 19 more not named here |
| get_dataset_class | 21 other papers 4 dated earlier, 17 later |
1907.02893 (2019-07) Invariant Risk Minimization |
2007.01434 (2020-07) In Search of Lost Domain Generalization 2106.02266 (2021-06) SAND-mask: An Enhanced Gradient Masking Strategy for the Discovery of Invariances in Domain Generalization and 18 more not named here |
| num_environments | 21 other papers 4 dated earlier, 17 later |
1907.02893 (2019-07) Invariant Risk Minimization |
2007.01434 (2020-07) In Search of Lost Domain Generalization 2106.02266 (2021-06) SAND-mask: An Enhanced Gradient Masking Strategy for the Discovery of Invariances in Domain Generalization and 18 more not named here |
| hashable | 20 other papers 1 dated earlier, 19 later |
2106.02266 (2021-06) SAND-mask: An Enhanced Gradient Masking Strategy for the Discovery of Invariances in Domain Generalization |
2203.10789 (2022-03) Domain Generalization by Mutual-Information Regularization with Pre-trained Models 2205.09739 (2022-05) Diverse Weight Averaging for Out-of-Distribution Generalization and 17 more not named here |
| make_selector_fn | 20 other papers 1 dated earlier, 19 later |
2106.02266 (2021-06) SAND-mask: An Enhanced Gradient Masking Strategy for the Discovery of Invariances in Domain Generalization |
2203.10789 (2022-03) Domain Generalization by Mutual-Information Regularization with Pre-trained Models 2205.09739 (2022-05) Diverse Weight Averaging for Out-of-Distribution Generalization and 17 more not named here |
| make_weights_for_balanced_classes | 18 other papers 2 dated earlier, 16 later |
1907.02893 (2019-07) Invariant Risk Minimization |
2106.02266 (2021-06) SAND-mask: An Enhanced Gradient Masking Strategy for the Discovery of Invariances in Domain Generalization 2203.10789 (2022-03) Domain Generalization by Mutual-Information Regularization with Pre-trained Models and 15 more not named here |
| tf2th | 17 other papers 4 dated earlier, 1 the same month, 12 later |
1912.11370 (2019-12) Big Transfer (BiT): General Visual Representation Learning |
2104.02610 (2021-04) On the Robustness of Vision Transformers to Adversarial Examples 2106.01127 (2021-06) Towards Robust Classification Model by Counterfactual and Invariant Data Generation and 14 more not named here |
| print_row | 11 other papers 2 dated earlier, 9 later |
1907.02893 (2019-07) Invariant Risk Minimization |
2106.02266 (2021-06) SAND-mask: An Enhanced Gradient Masking Strategy for the Discovery of Invariances in Domain Generalization 2205.13462 (2022-05) FedBR: Improving Federated Learning on Heterogeneous Data via Local Learning Bias Reduction and 8 more not named here |
| split_dataset | 5 other papers 1 dated earlier, 4 later |
2106.02266 (2021-06) SAND-mask: An Enhanced Gradient Masking Strategy for the Discovery of Invariances in Domain Generalization |
2207.10792 (2022-07) Test-Time Adaptation via Self-Training with Nearest Neighbor Information 2307.08187 (2023-07) An Empirical Study of Pre-trained Model Selection for Out-of-Distribution Generalization and Calibration and 2 more not named here |
| configure_model | 3 other papers 3 later |
2203.05574 (2022-03) On-the-Fly Test-time Adaptation for Medical Image Segmentation |
2207.10792 (2022-07) Test-Time Adaptation via Self-Training with Nearest Neighbor Information 2407.09498 (2024-07) OT-VP: Optimal Transport-guided Visual Prompting for Test-Time Adaptation |
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-22.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Domain generalization (DG) is a difficult transfer learning problem aiming to learn a generalizable model for unseen domains. Recent foundation models (FMs) are robust to many distribution shifts and, therefore, should substantially improve the performance of DG. In this work, we study generic ways to adopt CLIP, a Visual-Language Foundation Model, for DG problems in image classification. While ERM greatly improves the accuracy with bigger backbones and training datasets using standard DG benchmarks, fine-tuning FMs is not practical in many real-world situations. We propose Domain Prompt Learning (DPL) as a novel approach for domain inference in the form of conditional prompt generation. DPL achieved a significant accuracy improvement with only training a lightweight prompt generator (a three-layer MLP), whose parameter is of equivalent scale to the classification projector in the previous DG literature. Combining \dplshort~with CLIP provides surprising performance, raising the accuracy of zero-shot CLIP from 73.7% to 79.3% on several standard datasets, namely PACS, VLCS, OfficeHome, and TerraIncognita. We hope the simplicity and success of our approach lead to broader adoption and analysis of foundation models in the domain generalization field. Our code is available at https://github.com/shogi880/DPLCLIP.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2111.12853")
get_code_for_paper("2111.12853")
have("2111.12853")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2111.12853.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2111.12853)
Connect an agent — have() is free.