11 of 15 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; 4 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 6 failures of our instrument; 4 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/2208.08914.json · badge: /api/ran/2208.08914.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 |
|---|---|---|
| zhengzangw/DoPrompt | canonical (classifier label) classifier basis not recorded on the link |
11 ran · 4 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| Classifier | Ran ran; our contract draft was wrong, not the code |
zhengzangw/DoPrompt/domainbed/networks.py code served (permissive licence) · get_code("ce7990d7ad5821ff") 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 Linear. 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.
|
| conv3x3 | Ran ran; our contract draft was wrong, not the code |
zhengzangw/DoPrompt/domainbed/lib/wide_resnet.py pointer only (licence: MIT); the stored copy get_code serves, from DaikiTanak/manifold_mixup, is pointer only (licence: NONE) · get_code("00e569acd6b45ef0") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from DaikiTanak/manifold_mixup, and GitHub detected no licence in that repository 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. |
| dataloader | Ran ran on a synthesized input |
zhengzangw/DoPrompt/domainbed/lib/torchmisc.py code served (permissive licence) · get_code("8722522e3721ebfe") 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 DataLoader. 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_test_records | Ran ran; our contract draft was wrong, not the code |
zhengzangw/DoPrompt/domainbed/model_selection.py code served (permissive licence) · get_code("53fac8d8d949e72b") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned MockRecords. 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.
|
| grad_reverse | Ran ran; our contract draft was wrong, not the code |
zhengzangw/DoPrompt/domainbed/lib/torchmisc.py pointer only (licence: MIT); the stored copy get_code serves, from guanqun-yang/reproducibility_challenge_neurips_2019, is pointer only (licence: NONE) · get_code("b5becb520f35423a") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from guanqun-yang/reproducibility_challenge_neurips_2019, and GitHub detected no licence in that repository 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. |
| hashable | Ran ran, honoured the contract we drafted |
zhengzangw/DoPrompt/domainbed/lib/query.py code served (permissive licence) · get_code("71a3a61ceed99bf3") 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.
|
| l2_between_dicts | Ran ran, honoured the contract we drafted |
zhengzangw/DoPrompt/domainbed/lib/misc.py code served (permissive licence) · get_code("1fdaff04251a0d51") 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 Tensor, ndim 0, dtype family float, 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.
|
| make_selector_fn | Ran ran; our contract draft was wrong, not the code |
zhengzangw/DoPrompt/domainbed/lib/query.py code served (permissive licence) · get_code("2f8af5779e1edcb6") 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 function. 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.
|
| make_weights_for_balanced_classes | Ran ran, honoured the contract we drafted |
zhengzangw/DoPrompt/domainbed/lib/misc.py code served (permissive licence) · get_code("3cb172d2f57f12cf") 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 Tensor, ndim 1, dtype family float, shape (6,) 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.
|
| net_dist | Ran ran, honoured the contract we drafted |
zhengzangw/DoPrompt/domainbed/lib/torchmisc.py code served (permissive licence) · get_code("d3981d403538b1d3") 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 Tensor, ndim 0, dtype family float, 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.
|
| remove_batch_norm_from_resnet | Ran ran; our contract draft was wrong, not the code |
zhengzangw/DoPrompt/domainbed/networks.py code served (permissive licence) · get_code("196cab71d7129d62") 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 MinimalResNet. 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_algorithm_class | Not yet run unverified (harvested, no recorded run) |
zhengzangw/DoPrompt/domainbed/algorithms.py code served (permissive licence) · get_code("b0bc80b1655a6802") How it ranno invocation recorded. |
| get_dataset_class | Not yet run unverified (harvested, no recorded run) |
zhengzangw/DoPrompt/domainbed/datasets.py code served (permissive licence) · get_code("d0ea85d74c20dea9") How it ranno invocation recorded. |
| num_environments | Not yet run unverified (harvested, no recorded run) |
zhengzangw/DoPrompt/domainbed/datasets.py code served (permissive licence) · get_code("73f32252eedba6a4") How it ranno invocation recorded. |
| print_row | Not yet run unverified (harvested, no recorded run) |
zhengzangw/DoPrompt/domainbed/lib/misc.py code served (permissive licence) · get_code("af3c9a80c8fd1f7a") How it ranno invocation recorded. |
Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 15 are also present in other papers whose code we hold (13 with at least one paper dated earlier, 1 the same month, 15 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 |
|---|---|---|---|
| conv3x3 | 74 other papers 34 dated earlier, 1 the same month, 39 later · 5 only as an assembly brick |
1605.07146 (2016-05) Wide Residual Networks |
1707.01629 (2017-07) Dual Path Networks 1802.05668 (2018-02) Model compression via distillation and quantization and 71 more not named here |
| get_algorithm_class | 39 other papers 15 dated earlier, 24 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 |
| Classifier | 24 other papers 6 dated earlier, 18 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 |
2111.12853 (2021-11) Domain Prompt Learning for Efficiently Adapting CLIP to Unseen Domains 2205.09739 (2022-05) Diverse Weight Averaging for Out-of-Distribution Generalization and 21 more not named here |
| remove_batch_norm_from_resnet | 23 other papers 7 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 2111.12853 (2021-11) Domain Prompt Learning for Efficiently Adapting CLIP to Unseen Domains and 20 more not named here |
| get_test_records | 22 other papers 9 dated earlier, 13 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 10 dated earlier, 11 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 9 dated earlier, 12 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 7 dated earlier, 13 later |
2106.02266 (2021-06) SAND-mask: An Enhanced Gradient Masking Strategy for the Discovery of Invariances in Domain Generalization |
2111.12853 (2021-11) Domain Prompt Learning for Efficiently Adapting CLIP to Unseen Domains 2203.10789 (2022-03) Domain Generalization by Mutual-Information Regularization with Pre-trained Models and 17 more not named here |
| make_selector_fn | 20 other papers 7 dated earlier, 13 later |
2106.02266 (2021-06) SAND-mask: An Enhanced Gradient Masking Strategy for the Discovery of Invariances in Domain Generalization |
2111.12853 (2021-11) Domain Prompt Learning for Efficiently Adapting CLIP to Unseen Domains 2203.10789 (2022-03) Domain Generalization by Mutual-Information Regularization with Pre-trained Models and 17 more not named here |
| make_weights_for_balanced_classes | 18 other papers 7 dated earlier, 11 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 2111.12853 (2021-11) Domain Prompt Learning for Efficiently Adapting CLIP to Unseen Domains and 15 more not named here |
| print_row | 11 other papers 5 dated earlier, 6 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 2111.12853 (2021-11) Domain Prompt Learning for Efficiently Adapting CLIP to Unseen Domains and 8 more not named here |
| l2_between_dicts | 9 other papers 4 dated earlier, 5 later |
1907.02893 (2019-07) Invariant Risk Minimization |
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 6 more not named here |
| grad_reverse | 2 other papers 1 dated earlier, 1 later |
1905.13549 (2019-05) Learning Robust Global Representations by Penalizing Local Predictive Power |
2407.09498 (2024-07) OT-VP: Optimal Transport-guided Visual Prompting for Test-Time Adaptation |
| dataloader | 1 other paper 1 later |
2407.09498 (2024-07) OT-VP: Optimal Transport-guided Visual Prompting for Test-Time Adaptation |
|
| net_dist | 1 other paper 1 later |
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-23.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Though vision transformers (ViTs) have exhibited impressive ability for representation learning, we empirically find that they cannot generalize well to unseen domains with previous domain generalization algorithms. In this paper, we propose a novel approach DoPrompt based on prompt learning to embed the knowledge of source domains in domain prompts for target domain prediction. Specifically, domain prompts are prepended before ViT input tokens from the corresponding source domain. Each domain prompt learns domain-specific knowledge efficiently since it is optimized only for one domain. Meanwhile, we train a prompt adapter to produce a suitable prompt for each input image based on the learned source domain prompts. At test time, the adapted prompt generated by the prompt adapter can exploit the similarity between the feature of the out-of-domain image and source domains to properly integrate the source domain knowledge. Extensive experiments are conducted on four benchmark datasets. Our approach achieves 1.4% improvements in the averaged accuracy, which is 3.5 times the improvement of the state-of-the-art algorithm with a ViT backbone.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2208.08914")
get_code_for_paper("2208.08914")
have("2208.08914")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2208.08914.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2208.08914)
Connect an agent — have() is free.