Wangmeng Zuo, Yabo Zhang, Mingshuai Yao, Yuxiang Wei, Zhilong Ji, Jinfeng Bai
4 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, 1 violated it and 2 have no contract verdict; 1 failure of our instrument; 1 no recorded run), measured 2026-11-22; 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/2207.08736.json · badge: /api/ran/2207.08736.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 |
|---|---|---|
| 1170300521/DiFa | canonical (classifier label) classifier basis not recorded on the link |
4 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| adjust_sigmoid | Ran ran on a synthesized input |
1170300521/DiFa/ZSSGAN/criteria/psp_loss.py code served (permissive licence) · get_code("3a3b4e84f1ea35c7") 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 2, dtype family float, shape (2, 4) 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.
|
| get_avg_image | Ran ran on a synthesized input |
1170300521/DiFa/ZSSGAN/inference.py code served (permissive licence) · get_code("c8a3d94bda16bb05") 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 4, dtype family float, shape (1, 3, 4, 4) as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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.
|
| get_keys | Ran ran; our contract draft was wrong, not the code |
1170300521/DiFa/ZSSGAN/model/psp.py code served (permissive licence) · get_code("29b9a890f149a3a6") 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 dict. 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_kernel | Ran ran, violated the contract we drafted |
1170300521/DiFa/ZSSGAN/model/sg2_model.py pointer only (licence: MIT); the stored copy get_code serves, from dkn16/multi-fidel-gan-21cm, is pointer only (licence: NOASSERTION) · get_code("6f65e378a4313f87") 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 dkn16/multi-fidel-gan-21cm, and GitHub could not classify the licence of that repository (NOASSERTION). 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. |
| run_alignment | Not yet run unverified (harvested, no recorded run) |
1170300521/DiFa/ZSSGAN/inference.py code served (permissive licence) · get_code("0e7dc2426faf9c81") 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, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 3 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 |
|---|---|---|---|
| make_kernel | 40 other papers 25 dated earlier, 15 later · 10 only as an assembly brick |
1812.04948 (2018-12) A Style-Based Generator Architecture for Generative Adversarial Networks |
1912.04958 (2019-12) Analyzing and Improving the Image Quality of StyleGAN 2007.06600 (2020-07) Closed-Form Factorization of Latent Semantics in GANs and 37 more not named here |
| get_keys | 14 other papers 7 dated earlier, 7 later |
2008.00951 (2020-08) Encoding in Style: a StyleGAN Encoder for Image-to-Image Translation |
2011.12799 (2020-11) StyleSpace Analysis: Disentangled Controls for StyleGAN Image Generation 2103.17249 (2021-03) StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery and 11 more not named here |
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.
One-shot generative domain adaption aims to transfer a pre-trained generator on one domain to a new domain using one reference image only. However, it remains very challenging for the adapted generator (i) to generate diverse images inherited from the pre-trained generator while (ii) faithfully acquiring the domain-specific attributes and styles of the reference image. In this paper, we present a novel one-shot generative domain adaption method, i.e., DiFa, for diverse generation and faithful adaptation. For global-level adaptation, we leverage the difference between the CLIP embedding of reference image and the mean embedding of source images to constrain the target generator. For local-level adaptation, we introduce an attentive style loss which aligns each intermediate token of adapted image with its corresponding token of the reference image. To facilitate diverse generation, selective cross-domain consistency is introduced to select and retain the domain-sharing attributes in the editing latent W+ space to inherit the diversity of pre-trained generator. Extensive experiments show that our method outperforms the state-of-the-arts both quantitatively and qualitatively, especially for the cases of large domain gaps. Moreover, our DiFa can easily be extended to zero-shot generative domain adaption with appealing results. Code is available at https: //github.com/1170300521/DiFa.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2207.08736")
get_code_for_paper("2207.08736")
have("2207.08736")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2207.08736.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2207.08736)
Connect an agent — have() is free.