Lei Zhang, Zhaoxiang Zhang, Pengfei Wang, Zhen Lei
10 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (8 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 8 have no contract verdict; 2 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/2303.10353.json · badge: /api/ran/2303.10353.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 |
|---|---|---|
| wang-pengfei/sagm | marked official in Papers with Code Papers with Code archive |
9 ran · 5 no recorded run |
| copy not recorded | community not in the paper's declared repositories |
1 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| Algorithm | Ran ran on a synthesized input · constructed an object; no result was computed |
wang-pengfei/sagm/domainbed/algorithms/algorithms.py code served (permissive licence) · get_code("d67127a3c5e535a0") 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 an instance of its own class, Algorithm: the run constructed the object and did not call it, so no result was computed. 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.
|
| Identity | Ran ran on a synthesized input · constructed an object; no result was computed |
wang-pengfei/sagm/domainbed/algorithms/algorithms.py code served (permissive licence) · get_code("c090fe2ca8acedb3") 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 an instance of its own class, Identity: the run constructed the object and did not call it, so no result was computed. 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.
|
| MLP | Ran ran on a synthesized input · constructed an object; no result was computed |
wang-pengfei/sagm/domainbed/algorithms/algorithms.py code served (permissive licence) · get_code("bacc92fd6ae22e2c") 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 an instance of its own class, MLP: the run constructed the object and did not call it, so no result was computed. 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.
|
| MNIST_CNN | Ran ran on a synthesized input · constructed an object; no result was computed |
wang-pengfei/sagm/domainbed/algorithms/algorithms.py code served (permissive licence) · get_code("c998f65811a9d80f") 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 an instance of its own class, MNIST_CNN: the run constructed the object and did not call it, so no result was computed. 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.
|
| ResNet | Ran ran on a synthesized input · constructed an object; no result was computed |
wang-pengfei/sagm/domainbed/algorithms/algorithms.py code served (permissive licence) · get_code("73d7253036166f22") 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 an instance of its own class, ResNet: the run constructed the object and did not call it, so no result was computed. 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.
|
| SqueezeLastTwo | Ran ran on a synthesized input · constructed an object; no result was computed |
wang-pengfei/sagm/domainbed/algorithms/algorithms.py code served (permissive licence) · get_code("01b81ca81d7a2e60") 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 an instance of its own class, SqueezeLastTwo: the run constructed the object and did not call it, so no result was computed. 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.
|
| Wide_ResNet | Ran ran on a synthesized input · constructed an object; no result was computed |
wang-pengfei/sagm/domainbed/algorithms/algorithms.py code served (permissive licence) · get_code("6a63af402870932f") 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 an instance of its own class, Wide_ResNet: the run constructed the object and did not call it, so no result was computed. 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 |
this paper's copy was not recorded; identical code first harvested from DaikiTanak/manifold_mixup pointer only; 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 copy of the code was not recorded (its link names no repository or source path), so no licence was read for 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_optimizer | Ran ran; our contract draft was wrong, not the code |
wang-pengfei/sagm/domainbed/algorithms/algorithms.py code served (permissive licence) · get_code("5a8d4d0e1bf66cd4") 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 Adam. 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.
|
| wide_basic | Ran ran on a synthesized input · constructed an object; no result was computed |
wang-pengfei/sagm/domainbed/algorithms/algorithms.py code served (permissive licence) · get_code("a47120fe8df1b363") 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 an instance of its own class, wide_basic: the run constructed the object and did not call it, so no result was computed. 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.
|
| Featurizer | Not yet run unverified (harvested, no recorded run) |
wang-pengfei/sagm/domainbed/algorithms/algorithms.py code served (permissive licence) · get_code("467b3583a59f952e") How it ranno invocation recorded. |
| SAGM | Not yet run unverified (harvested, no recorded run) |
wang-pengfei/sagm/domainbed/algorithms/algorithms.py code served (permissive licence) · get_code("9da593320c9aef89") How it ranno invocation recorded. |
| SAGM_DG | Not yet run unverified (harvested, no recorded run) |
wang-pengfei/sagm/domainbed/algorithms/algorithms.py code served (permissive licence) · get_code("7686c49c58187b1d") How it ranno invocation recorded. |
| disable_running_stats | Not yet run unverified (harvested, no recorded run) |
wang-pengfei/sagm/domainbed/algorithms/algorithms.py code served (permissive licence) · get_code("957cadb71fb37e35") How it ranno invocation recorded. |
| enable_running_stats | Not yet run unverified (harvested, no recorded run) |
wang-pengfei/sagm/domainbed/algorithms/algorithms.py code served (permissive licence) · get_code("5ad5be23a3cf2d30") 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, 13 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 2 the same month, 13 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 |
|---|---|---|---|
| conv3x3 brick of this paper's assembly: helper |
74 other papers 39 dated earlier, 1 the same month, 34 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 |
| Identity brick of this paper's assembly: helper |
26 other papers 17 dated earlier, 1 the same month, 8 later · 22 only as an assembly brick |
1512.03385 (2015-12) Deep Residual Learning for Image Recognition |
1806.09055 (2018-06) DARTS: Differentiable Architecture Search 2002.05709 (2020-02) A Simple Framework for Contrastive Learning of Visual Representations and 23 more not named here |
| MLP brick of this paper's assembly: helper |
6 other papers 2 dated earlier, 4 later · 6 only as an assembly brick |
2201.11259 (2022-01) Controlling Directions Orthogonal to a Classifier |
2205.14546 (2022-05) The Missing Invariance Principle Foundthe Reciprocal Twin of Invariant Risk Minimization 2307.12502 (2023-07) Cross Contrasting Feature Perturbation for Domain Generalization and 3 more not named here |
| wide_basic brick of this paper's assembly: helper |
5 other papers 2 dated earlier, 3 later · 5 only as an assembly brick |
1605.07146 (2016-05) Wide Residual Networks |
2205.14546 (2022-05) The Missing Invariance Principle Foundthe Reciprocal Twin of Invariant Risk Minimization 2402.11682 (2024-02) Learning Conditional Invariances through Non-Commutativity and 2 more not named here |
| Wide_ResNet brick of this paper's assembly: helper |
4 other papers 1 dated earlier, 3 later · 4 only as an assembly brick |
2205.14546 (2022-05) The Missing Invariance Principle Foundthe Reciprocal Twin of Invariant Risk Minimization |
2402.11682 (2024-02) Learning Conditional Invariances through Non-Commutativity 2502.20162 (2025-02) Gradient-Guided Annealing for Domain Generalization and 1 more not named here |
| SqueezeLastTwo brick of this paper's assembly: helper |
2 other papers 1 dated earlier, 1 later · 1 only as an assembly brick |
2201.11259 (2022-01) Controlling Directions Orthogonal to a Classifier |
2502.20162 (2025-02) Gradient-Guided Annealing for Domain Generalization |
| Algorithm brick of this paper's assembly: helper |
1 other paper 1 later · 1 only as an assembly brick |
2502.20162 (2025-02) Gradient-Guided Annealing for Domain Generalization |
|
| Featurizer brick of this paper's assembly: helper |
1 other paper 1 later · 1 only as an assembly brick |
2502.20162 (2025-02) Gradient-Guided Annealing for Domain Generalization |
|
| MNIST_CNN brick of this paper's assembly: helper |
1 other paper 1 later · 1 only as an assembly brick |
2502.20162 (2025-02) Gradient-Guided Annealing for Domain Generalization |
|
| ResNet brick of this paper's assembly: helper |
1 other paper 1 later · 1 only as an assembly brick |
2502.20162 (2025-02) Gradient-Guided Annealing for Domain Generalization |
|
| disable_running_stats brick of this paper's assembly: helper |
1 other paper 1 later · 1 only as an assembly brick |
2404.17805 (2024-04) From Optimization to Generalization: Fair Federated Learning against Quality Shift via Inter-Client Sharpness Matching |
|
| enable_running_stats brick of this paper's assembly: helper |
1 other paper 1 later · 1 only as an assembly brick |
2404.17805 (2024-04) From Optimization to Generalization: Fair Federated Learning against Quality Shift via Inter-Client Sharpness Matching |
|
| get_optimizer brick of this paper's assembly: helper |
1 other paper 1 later · 1 only as an assembly brick |
2502.20162 (2025-02) Gradient-Guided Annealing for Domain Generalization |
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.
The goal of domain generalization (DG) is to enhance the generalization capability of the model learned from a source domain to other unseen domains. The recently developed Sharpness-Aware Minimization (SAM) method aims to achieve this goal by minimizing the sharpness measure of the loss landscape. Though SAM and its variants have demonstrated impressive DG performance, they may not always converge to the desired flat region with a small loss value. In this paper, we present two conditions to ensure that the model could converge to a flat minimum with a small loss, and present an algorithm, named Sharpness-Aware Gradient Matching (SAGM), to meet the two conditions for improving model generalization capability. Specifically, the optimization objective of SAGM will simultaneously minimize the empirical risk, the perturbed loss (i.e., the maximum loss within a neighborhood in the parameter space), and the gap between them. By implicitly aligning the gradient directions between the empirical risk and the perturbed loss, SAGM improves the generalization capability over SAM and its variants without increasing the computational cost. Extensive experimental results show that our proposed SAGM method consistently outperforms the state-of-the-art methods on five DG benchmarks, including PACS, VLCS, OfficeHome, TerraIncognita, and DomainNet. Codes are available at https://github.com/Wangpengfei/SAGM .
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2303.10353")
get_code_for_paper("2303.10353")
have("2303.10353")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2303.10353.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2303.10353)
Connect an agent — have() is free.