7 of 8 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 0 have no contract verdict; 4 failures of our instrument; 1 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/2407.20337.json · badge: /api/ran/2407.20337.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 |
|---|---|---|
| aimagelab/code | canonical (classifier label) classifier basis: census |
7 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| custom_range | Ran ran, honoured the contract we drafted |
aimagelab/code/src/dataset/CustomTransform.py code served (permissive licence) · get_code("76293afb49fb8256") 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 (5,) 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.
|
| cv2_jpg | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
aimagelab/code/src/dataset/standardtransform.py code served (permissive licence) · get_code("86961d87fd5fab69") 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 ndarray, ndim 3, dtype family int, shape (4, 3, 3) 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.
|
| load_all_dictionary | Ran ran; our contract draft was wrong, not the code |
aimagelab/code/src/data_download/download_elsa_v2.py code served (permissive licence) · get_code("2d3091c8c8848b77") 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 defaultdict. 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.
|
| load_faulty_parquet | Ran ran; our contract draft was wrong, not the code |
aimagelab/code/src/data_download/download_elsa_v2.py code served (permissive licence) · get_code("ca7e7f75bdff0684") 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 tuple, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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.
|
| np_images | Ran ran, honoured the contract we drafted |
aimagelab/code/src/data_download/wds_creation.py code served (permissive licence) · get_code("5113cb3c7498031a") 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 tuple, ndim 4, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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.
|
| pil_jpg | Ran ran; our contract draft was wrong, not the code |
aimagelab/code/src/dataset/standardtransform.py code served (permissive licence) · get_code("5632d030545bf59a") 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 ndarray, ndim 3, dtype family int, shape (4, 3, 3) 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.
|
| sample_discrete | Ran ran, violated the contract we drafted |
aimagelab/code/src/dataset/standardtransform.py code served (permissive licence) · get_code("e3287363e619218a") 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.
|
| tar_creation | Not yet run unverified (harvested, no recorded run) |
aimagelab/code/src/data_download/wds_creation.py code served (permissive licence) · get_code("e151f6cecae4a02d") How it ranno invocation recorded. |
Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 3 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 5 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 |
|---|---|---|---|
| cv2_jpg | 3 other papers 2 dated earlier, 1 later |
2008.04115 (2020-08) T-GD: Transferable GAN-generated Images Detection Framework |
2402.12927 (2024-02) CLIPping the Deception: Adapting Vision-Language Models for Universal Deepfake Detection 2503.18286 (2025-03) CO-SPY: Combining Semantic and Pixel Features to Detect Synthetic Images by AI |
| pil_jpg | 1 other paper 1 later |
2503.18286 (2025-03) CO-SPY: Combining Semantic and Pixel Features to Detect Synthetic Images by AI |
|
| sample_discrete | 1 other paper 1 dated earlier |
2402.01123 (2024-02) A Single Simple Patch is All You Need for AI-generated Image Detection |
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.
Discerning between authentic content and that generated by advanced AI methods has become increasingly challenging. While previous research primarily addresses the detection of fake faces, the identification of generated natural images has only recently surfaced. This prompted the recent exploration of solutions that employ foundation vision-and-language models, like CLIP. However, the CLIP embedding space is optimized for global image-to-text alignment and is not inherently designed for deepfake detection, neglecting the potential benefits of tailored training and local image features. In this study, we propose CoDE (Contrastive Deepfake Embeddings), a novel embedding space specifically designed for deepfake detection. CoDE is trained via contrastive learning by additionally enforcing global-local similarities. To sustain the training of our model, we generate a comprehensive dataset that focuses on images generated by diffusion models and encompasses a collection of 9.2 million images produced by using four different generators. Experimental results demonstrate that CoDE achieves state-of-the-art accuracy on the newly collected dataset, while also showing excellent generalization capabilities to unseen image generators. Our source code, trained models, and collected dataset are publicly available at: https://github.com/aimagelab/CoDE.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2407.20337")
get_code_for_paper("2407.20337")
have("2407.20337")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2407.20337.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2407.20337)
Connect an agent — have() is free.