13 of 14 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 10 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/2307.10792.json · badge: /api/ran/2307.10792.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 |
|---|---|---|
| scortexio/patchcore-few-shot | canonical (classifier label) classifier basis: census |
13 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| add_anomalous_label | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
scortexio/patchcore-few-shot/src/anomalib/post_processing/post_process.py pointer only (licence: NONE); the stored copy get_code serves, from sukanyapatra1997/ulsad-2024, is pointer only (licence: NONE) · get_code("943f15268bdd462e") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, scortexio/patchcore-few-shot 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. |
| add_label | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
scortexio/patchcore-few-shot/src/anomalib/post_processing/post_process.py pointer only (licence: NONE); the stored copy get_code serves, from sukanyapatra1997/ulsad-2024, is pointer only (licence: NONE) · get_code("4447ac929ca7ab0c") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, scortexio/patchcore-few-shot 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. |
| add_normal_label | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
scortexio/patchcore-few-shot/src/anomalib/post_processing/post_process.py pointer only (licence: NONE); the stored copy get_code serves, from sukanyapatra1997/ulsad-2024, is pointer only (licence: NONE) · get_code("fe1771d45fa5b75a") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, scortexio/patchcore-few-shot 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. |
| compute_new_image_size | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
scortexio/patchcore-few-shot/src/anomalib/pre_processing/tiler.py pointer only (licence: NONE); the stored copy get_code serves, from sukanyapatra1997/ulsad-2024, is pointer only (licence: NONE) · get_code("a2dff7977c4b3db4") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, scortexio/patchcore-few-shot 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. |
| downscale_image | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
scortexio/patchcore-few-shot/src/anomalib/pre_processing/tiler.py pointer only (licence: NONE) · get_code("0df9110a3e902c84") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, scortexio/patchcore-few-shot 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. |
| filter_dataframe_experiment | Ran ran, honoured the contract we drafted |
scortexio/patchcore-few-shot/src/anomalib/utils/general.py pointer only (licence: NONE) · get_code("09ec852941ee7b97") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, scortexio/patchcore-few-shot 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_image_height_and_width | Ran ran, honoured the contract we drafted |
scortexio/patchcore-few-shot/src/anomalib/pre_processing/pre_process.py pointer only (licence: NONE); the stored copy get_code serves, from sukanyapatra1997/ulsad-2024, is pointer only (licence: NONE) · get_code("7703e3fe0138f8d3") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, scortexio/patchcore-few-shot 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_indexes_from_filenames | Ran ran, honoured the contract we drafted |
scortexio/patchcore-few-shot/src/anomalib/utils/general.py pointer only (licence: NONE) · get_code("55219966131ba694") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, scortexio/patchcore-few-shot 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_transforms | Ran ran; our contract draft was wrong, not the code |
scortexio/patchcore-few-shot/src/anomalib/pre_processing/pre_process.py pointer only (licence: NONE); the stored copy get_code serves, from sukanyapatra1997/ulsad-2024, is pointer only (licence: NONE) · get_code("36ed981842aa4e86") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, scortexio/patchcore-few-shot 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. |
| update_input_size_config | Ran ran; our contract draft was wrong, not the code |
scortexio/patchcore-few-shot/src/anomalib/config/config.py pointer only (licence: NONE); the stored copy get_code serves, from sukanyapatra1997/ulsad-2024, is pointer only (licence: NONE) · get_code("458acbf30c9b5a58") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, scortexio/patchcore-few-shot 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. |
| update_multi_gpu_training_config | Ran ran; our contract draft was wrong, not the code |
scortexio/patchcore-few-shot/src/anomalib/config/config.py pointer only (licence: NONE); the stored copy get_code serves, from sukanyapatra1997/ulsad-2024, is pointer only (licence: NONE) · get_code("6d3c92b52fa4d6da") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, scortexio/patchcore-few-shot 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. |
| update_nncf_config | Ran ran; our contract draft was wrong, not the code |
scortexio/patchcore-few-shot/src/anomalib/config/config.py pointer only (licence: NONE); the stored copy get_code serves, from sukanyapatra1997/ulsad-2024, is pointer only (licence: NONE) · get_code("5179dd442c5dbf8b") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, scortexio/patchcore-few-shot 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. |
| upscale_image | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
scortexio/patchcore-few-shot/src/anomalib/pre_processing/tiler.py pointer only (licence: NONE) · get_code("104da3e4b26f2c3a") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, scortexio/patchcore-few-shot 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. |
| create_dataframe_from_seeds_file | Not yet run unverified (harvested, no recorded run) |
scortexio/patchcore-few-shot/src/anomalib/utils/general.py pointer only (licence: NONE) · get_code("ec1d2a4493b60e50") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, scortexio/patchcore-few-shot 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. No invocation recorded. |
Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 9 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 9 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 |
|---|---|---|---|
| add_anomalous_label | 2 other papers 2 later |
2409.20353 (2024-09) CableInspect-AD: An Expert-Annotated Anomaly Detection Dataset |
2410.16255 (2024-10) Revisiting Deep Feature Reconstruction for Logical and Structural Industrial Anomaly Detection |
| add_label | 2 other papers 2 later |
2409.20353 (2024-09) CableInspect-AD: An Expert-Annotated Anomaly Detection Dataset |
2410.16255 (2024-10) Revisiting Deep Feature Reconstruction for Logical and Structural Industrial Anomaly Detection |
| add_normal_label | 2 other papers 2 later |
2409.20353 (2024-09) CableInspect-AD: An Expert-Annotated Anomaly Detection Dataset |
2410.16255 (2024-10) Revisiting Deep Feature Reconstruction for Logical and Structural Industrial Anomaly Detection |
| update_multi_gpu_training_config | 2 other papers 2 later |
2409.20353 (2024-09) CableInspect-AD: An Expert-Annotated Anomaly Detection Dataset |
2410.16255 (2024-10) Revisiting Deep Feature Reconstruction for Logical and Structural Industrial Anomaly Detection |
| update_nncf_config | 2 other papers 2 later |
2409.20353 (2024-09) CableInspect-AD: An Expert-Annotated Anomaly Detection Dataset |
2410.16255 (2024-10) Revisiting Deep Feature Reconstruction for Logical and Structural Industrial Anomaly Detection |
| compute_new_image_size | 1 other paper 1 later |
2410.16255 (2024-10) Revisiting Deep Feature Reconstruction for Logical and Structural Industrial Anomaly Detection |
|
| get_image_height_and_width | 1 other paper 1 later |
2410.16255 (2024-10) Revisiting Deep Feature Reconstruction for Logical and Structural Industrial Anomaly Detection |
|
| get_transforms | 1 other paper 1 later |
2410.16255 (2024-10) Revisiting Deep Feature Reconstruction for Logical and Structural Industrial Anomaly Detection |
|
| update_input_size_config | 1 other paper 1 later |
2410.16255 (2024-10) Revisiting Deep Feature Reconstruction for Logical and Structural Industrial Anomaly 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.
Few-shot anomaly detection (AD) is an emerging sub-field of general AD, and tries to distinguish between normal and anomalous data using only few selected samples. While newly proposed few-shot AD methods do compare against pre-existing algorithms developed for the full-shot domain as baselines, they do not dedicatedly optimize them for the few-shot setting. It thus remains unclear if the performance of such pre-existing algorithms can be further improved. We address said question in this work. Specifically, we present a study on the AD/anomaly segmentation (AS) performance of PatchCore, the current state-of-the-art full-shot AD/AS algorithm, in both the few-shot and the many-shot settings. We hypothesize that further performance improvements can be realized by (I) optimizing its various hyperparameters, and by (II) transferring techniques known to improve few-shot supervised learning to the AD domain. Exhaustive experiments on the public VisA and MVTec AD datasets reveal that (I) significant performance improvements can be realized by optimizing hyperparameters such as the underlying feature extractor, and that (II) image-level augmentations can, but are not guaranteed, to improve performance. Based on these findings, we achieve a new state of the art in few-shot AD on VisA, further demonstrating the merit of adapting pre-existing AD/AS methods to the few-shot setting. Last, we identify the investigation of feature extractors with a strong inductive bias as a potential future research direction for (few-shot) AD/AS.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2307.10792")
get_code_for_paper("2307.10792")
have("2307.10792")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2307.10792.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2307.10792)
Connect an agent — have() is free.