7 of 7 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 0 have no contract verdict; 3 failures of our instrument; 0 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/2108.07610.json · badge: /api/ran/2108.07610.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 |
|---|---|---|
| vitjanz/draem | canonical (classifier label) classifier basis: plan_row |
7 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| create_window | Ran ran, honoured the contract we drafted |
vitjanz/draem/loss.py pointer only (licence: MIT); the stored copy get_code serves, from Chhro123/fast-foreground-aware-anomaly-synthesis, is pointer only (licence: NONE) · get_code("443341084ce76798") 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 Chhro123/fast-foreground-aware-anomaly-synthesis, 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. |
| gaussian | Ran ran, honoured the contract we drafted |
vitjanz/draem/loss.py code served (permissive licence) · get_code("c56b7ef16f309a45") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) 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.
|
| generate_fractal_noise_2d | Ran ran; our contract draft was wrong, not the code |
vitjanz/draem/perlin.py pointer only (licence: MIT); the stored copy get_code serves, from anindyasdas/adl4vad, is pointer only (licence: NONE) · get_code("293a2b1189b747fd") 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 anindyasdas/adl4vad, 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. |
| generate_perlin_noise_2d | Ran ran; our contract draft was wrong, not the code |
vitjanz/draem/perlin.py pointer only (licence: MIT); the stored copy get_code serves, from anindyasdas/adl4vad, is pointer only (licence: NONE) · get_code("ed9e127befc02046") 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 anindyasdas/adl4vad, 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. |
| get_lr | Ran ran, honoured the contract we drafted |
vitjanz/draem/train_DRAEM.py pointer only (licence: MIT); the stored copy get_code serves, from yjzhang96/UTI-VFI, is pointer only (licence: NONE) · get_code("7337f1f5ff01dcd0") 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 yjzhang96/UTI-VFI, 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. |
| lerp_np | Ran ran, honoured the contract we drafted |
vitjanz/draem/perlin.py pointer only (licence: MIT); the stored copy get_code serves, from Chhro123/fast-foreground-aware-anomaly-synthesis, is pointer only (licence: NONE) · get_code("4de91a4627a51ea2") 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 Chhro123/fast-foreground-aware-anomaly-synthesis, 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. |
| ssim | Ran ran; our contract draft was wrong, not the code |
vitjanz/draem/loss.py pointer only (licence: MIT); the stored copy get_code serves, from Chhro123/fast-foreground-aware-anomaly-synthesis, is pointer only (licence: NONE) · get_code("bff794bd9bd73f94") 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 Chhro123/fast-foreground-aware-anomaly-synthesis, 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. |
Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 7 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 1 the same month, 7 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 |
|---|---|---|---|
| gaussian | 160 other papers 11 dated earlier, 1 the same month, 147 later, 1 same year, order not determinable · 7 only as an assembly brick |
1812.11941 (2018-12) High Quality Monocular Depth Estimation via Transfer Learning |
1904.01538 (2019-04) Spatial Attentive Single-Image Deraining with a High Quality Real Rain Dataset 1907.11628 (2019-07) Unsupervised Learning for Optical Flow Estimation Using Pyramid Convolution LSTM and 157 more not named here |
| get_lr | 25 other papers 9 dated earlier, 15 later, 1 same year, order not determinable · 2 only as an assembly brick |
1605.07148 (2016-05) Backprop KF: Learning Discriminative Deterministic State Estimators |
1606.00915 (2016-06) DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFs 1904.01355 (2019-04) FCOS: Fully Convolutional One-Stage Object Detection and 22 more not named here |
| create_window | 19 other papers 1 dated earlier, 17 later, 1 same year, order not determinable |
1812.11941 (2018-12) High Quality Monocular Depth Estimation via Transfer Learning |
Zavrtanik_DRAEM_-_A_Discriminatively_Trained_Reconstruction_Embedding_for_Surface_Anomaly_ICCV_2021_paper (2021 (year only)) DRAEM -A discriminatively trained reconstruction embedding for surface anomaly detection 2111.15666 (2021-11) HyperStyle: StyleGAN Inversion with HyperNetworks for Real Image Editing and 16 more not named here |
| lerp_np | 8 other papers 7 later, 1 same year, order not determinable |
Zavrtanik_DRAEM_-_A_Discriminatively_Trained_Reconstruction_Embedding_for_Surface_Anomaly_ICCV_2021_paper (2021 (year only)) DRAEM -A discriminatively trained reconstruction embedding for surface anomaly detection |
2308.06748 (2023-08) Target before Shooting: Accurate Anomaly Detection and Localization under One Millisecond via Cascade Patch Retrieval 2403.05897 (2024-03) RealNet: A Feature Selection Network with Realistic Synthetic Anomaly for Anomaly Detection and 5 more not named here |
| generate_fractal_noise_2d | 5 other papers 4 later, 1 same year, order not determinable |
Zavrtanik_DRAEM_-_A_Discriminatively_Trained_Reconstruction_Embedding_for_Surface_Anomaly_ICCV_2021_paper (2021 (year only)) DRAEM -A discriminatively trained reconstruction embedding for surface anomaly detection |
2308.06748 (2023-08) Target before Shooting: Accurate Anomaly Detection and Localization under One Millisecond via Cascade Patch Retrieval 2406.07487 (2024-06) GLAD: Towards Better Reconstruction with Global and Local Adaptive Diffusion Models for Unsupervised Anomaly Detection and 2 more not named here |
| generate_perlin_noise_2d | 5 other papers 4 later, 1 same year, order not determinable |
Zavrtanik_DRAEM_-_A_Discriminatively_Trained_Reconstruction_Embedding_for_Surface_Anomaly_ICCV_2021_paper (2021 (year only)) DRAEM -A discriminatively trained reconstruction embedding for surface anomaly detection |
2308.06748 (2023-08) Target before Shooting: Accurate Anomaly Detection and Localization under One Millisecond via Cascade Patch Retrieval 2406.07487 (2024-06) GLAD: Towards Better Reconstruction with Global and Local Adaptive Diffusion Models for Unsupervised Anomaly Detection and 2 more not named here |
| ssim | 5 other papers 4 later, 1 same year, order not determinable |
Zavrtanik_DRAEM_-_A_Discriminatively_Trained_Reconstruction_Embedding_for_Surface_Anomaly_ICCV_2021_paper (2021 (year only)) DRAEM -A discriminatively trained reconstruction embedding for surface anomaly detection |
2302.08769 (2023-02) Collaborative Discrepancy Optimization for Reliable Image Anomaly Localization 2312.05767 (2023-12) AnomalyDiffusion: Few-Shot Anomaly Image Generation with Diffusion Model and 2 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-23.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Visual surface anomaly detection aims to detect local image regions that significantly deviate from normal appearance. Recent surface anomaly detection methods rely on generative models to accurately reconstruct the normal areas and to fail on anomalies. These methods are trained only on anomaly-free images, and often require hand-crafted post-processing steps to localize the anomalies, which prohibits optimizing the feature extraction for maximal detection capability. In addition to reconstructive approach, we cast surface anomaly detection primarily as a discriminative problem and propose a discriminatively trained reconstruction anomaly embedding model (DRAEM). The proposed method learns a joint representation of an anomalous image and its anomaly-free reconstruction, while simultaneously learning a decision boundary between normal and anomalous examples. The method enables direct anomaly localization without the need for additional complicated post-processing of the network output and can be trained using simple and general anomaly simulations. On the challenging MVTec anomaly detection dataset, DRAEM outperforms the current state-of-the-art unsupervised methods by a large margin and even delivers detection performance close to the fully-supervised methods on the widely used DAGM surface-defect detection dataset, while substantially outperforming them in localization accuracy.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2108.07610")
get_code_for_paper("2108.07610")
have("2108.07610")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2108.07610.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2108.07610)
Connect an agent — have() is free.