Ge Li, Akshatha Arodi, Margaux Luck, Jean-Luc Bedwani, Aldo Zaimi, Nicolas Pouliot, Julien Beaudry, Gaétan Caron
21 of 22 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; 1 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 18 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/2409.20353.json · badge: /api/ran/2409.20353.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 |
|---|---|---|
| mila-iqia/cableinspect-ad-code | canonical (classifier label) classifier basis: census |
21 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) |
mila-iqia/cableinspect-ad-code/src/enhanced-patchcore/src/anomalib/post_processing/post_process.py pointer only (licence: Apache-2.0); 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: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from sukanyapatra1997/ulsad-2024, 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. |
| add_class_description | Ran ran; our contract draft was wrong, not the code |
mila-iqia/cableinspect-ad-code/src/anomaly_detector/base_anomaly_detector_inference.py code served (permissive licence) · get_code("bf01bf57f7eee8c7") 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 str. 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.
|
| add_class_name | Ran ran; our contract draft was wrong, not the code |
mila-iqia/cableinspect-ad-code/src/anomaly_detector/base_anomaly_detector_inference.py code served (permissive licence) · get_code("d7c35998ffe39b5d") 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 str. 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.
|
| add_label | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
mila-iqia/cableinspect-ad-code/src/enhanced-patchcore/src/anomalib/post_processing/post_process.py pointer only (licence: Apache-2.0); 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: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from sukanyapatra1997/ulsad-2024, 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. |
| add_normal_label | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
mila-iqia/cableinspect-ad-code/src/enhanced-patchcore/src/anomalib/post_processing/post_process.py pointer only (licence: Apache-2.0); 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: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from sukanyapatra1997/ulsad-2024, 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. |
| build_data_rows_from_data_dict | Ran ran on a synthesized input |
mila-iqia/cableinspect-ad-code/dataset/generate_labels.py code served (permissive licence) · get_code("07fa7d6e6f042906") 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 list, 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.
|
| build_labels_dataframe_from_annotations | Ran ran on a synthesized input |
mila-iqia/cableinspect-ad-code/dataset/generate_labels.py code served (permissive licence) · get_code("ce8d2afe5c019df9") 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 DataFrame. 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.
|
| build_labels_dataframe_from_data_rows | Ran ran; our contract draft was wrong, not the code |
mila-iqia/cableinspect-ad-code/dataset/generate_labels.py code served (permissive licence) · get_code("0fcc22a29c7ed53f") 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 DataFrame. 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.
|
| check_df_cable_side_pass | Ran ran; our contract draft was wrong, not the code |
mila-iqia/cableinspect-ad-code/dataset/utils.py code served (permissive licence) · get_code("4b46ad44d8b56051") 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 1, 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.
|
| compute_metrics | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
mila-iqia/cableinspect-ad-code/src/anomaly_detector/evaluation_utils.py code served (permissive licence) · get_code("753b40afacd6ec68") 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 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.
|
| crop_image | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
mila-iqia/cableinspect-ad-code/dataset/raw_to_cropped_dataset.py code served (permissive licence) · get_code("d7f4146dfedb7f98") 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. 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.
|
| extract_metrics | Ran ran; our contract draft was wrong, not the code |
mila-iqia/cableinspect-ad-code/src/anomaly_detector/evaluation_utils.py code served (permissive licence) · get_code("a8e594894de43df9") 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 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.
|
| flatten_dict | Ran ran; our contract draft was wrong, not the code |
mila-iqia/cableinspect-ad-code/src/enhanced-patchcore/post_processing/post_processing_unsupervised_results.py code served (permissive licence) · get_code("94bd9041d52daa8d") 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 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.
|
| get_anomaly_ids | Ran ran; our contract draft was wrong, not the code |
mila-iqia/cableinspect-ad-code/dataset/utils.py code served (permissive licence) · get_code("6b425c3917a99747") 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 set. 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.
|
| get_border | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
mila-iqia/cableinspect-ad-code/dataset/raw_to_cropped_dataset.py code served (permissive licence) · get_code("6e8bda85f761c8f1") 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.
|
| identify_connected_anomalies | Ran ran; our contract draft was wrong, not the code |
mila-iqia/cableinspect-ad-code/dataset/utils.py code served (permissive licence) · get_code("922b7ffc50bacd31") 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 list, ndim 1, 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.
|
| read_prompt_from_yaml | Ran ran; our contract draft was wrong, not the code |
mila-iqia/cableinspect-ad-code/src/anomaly_detector/base_anomaly_detector_inference.py code served (permissive licence) · get_code("416586b364c17784") 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 str. 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.
|
| read_result_csv | Ran ran, honoured the contract we drafted |
mila-iqia/cableinspect-ad-code/src/anomaly_detector/evaluation_utils.py code served (permissive licence) · get_code("704fc42c8390c49f") 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 DataFrame. 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.
|
| remove_broken_runs | Ran ran; our contract draft was wrong, not the code |
mila-iqia/cableinspect-ad-code/src/enhanced-patchcore/post_processing/post_processing_unsupervised_results.py code served (permissive licence) · get_code("d731e161ae42ec44") 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 list, ndim 1, 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.
|
| update_multi_gpu_training_config | Ran ran; our contract draft was wrong, not the code |
mila-iqia/cableinspect-ad-code/src/enhanced-patchcore/src/anomalib/config/config.py pointer only (licence: Apache-2.0); 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: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from sukanyapatra1997/ulsad-2024, 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. |
| update_nncf_config | Ran ran; our contract draft was wrong, not the code |
mila-iqia/cableinspect-ad-code/src/enhanced-patchcore/src/anomalib/config/config.py pointer only (licence: Apache-2.0); 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: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from sukanyapatra1997/ulsad-2024, 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. |
| read_image | Not yet run unverified (harvested, no recorded run) |
mila-iqia/cableinspect-ad-code/dataset/raw_to_cropped_dataset.py code served (permissive licence) · get_code("3a9a6499b8b37aad") How it ranno invocation recorded. |
Of 22 samples lifted from this paper's linked repositories, 22 carry a function identity and 0 do not. Of the 22 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 5 later) and 17 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 1 dated earlier, 1 later |
2307.10792 (2023-07) Optimizing PatchCore for Few/many-shot Anomaly Detection |
2410.16255 (2024-10) Revisiting Deep Feature Reconstruction for Logical and Structural Industrial Anomaly Detection |
| add_label | 2 other papers 1 dated earlier, 1 later |
2307.10792 (2023-07) Optimizing PatchCore for Few/many-shot Anomaly Detection |
2410.16255 (2024-10) Revisiting Deep Feature Reconstruction for Logical and Structural Industrial Anomaly Detection |
| add_normal_label | 2 other papers 1 dated earlier, 1 later |
2307.10792 (2023-07) Optimizing PatchCore for Few/many-shot Anomaly Detection |
2410.16255 (2024-10) Revisiting Deep Feature Reconstruction for Logical and Structural Industrial Anomaly Detection |
| update_multi_gpu_training_config | 2 other papers 1 dated earlier, 1 later |
2307.10792 (2023-07) Optimizing PatchCore for Few/many-shot Anomaly Detection |
2410.16255 (2024-10) Revisiting Deep Feature Reconstruction for Logical and Structural Industrial Anomaly Detection |
| update_nncf_config | 2 other papers 1 dated earlier, 1 later |
2307.10792 (2023-07) Optimizing PatchCore for Few/many-shot Anomaly Detection |
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.
Machine learning models are increasingly being deployed in real-world contexts. However, systematic studies on their transferability to specific and critical applications are underrepresented in the research literature. An important example is visual anomaly detection (VAD) for robotic power line inspection. While existing VAD methods perform well in controlled environments, real-world scenarios present diverse and unexpected anomalies that current datasets fail to capture. To address this gap, we introduce CableInspect-AD, a high-quality, publicly available dataset created and annotated by domain experts from Hydro-Québec, a Canadian public utility. This dataset includes high-resolution images with challenging real-world anomalies, covering defects with varying severity levels. To address the challenges of collecting diverse anomalous and nominal examples for setting a detection threshold, we propose an enhancement to the celebrated PatchCore algorithm. This enhancement enables its use in scenarios with limited labeled data. We also present a comprehensive evaluation protocol based on cross-validation to assess models' performances. We evaluate our Enhanced-PatchCore for few-shot and many-shot detection, and Vision-Language Models for zero-shot detection. While promising, these models struggle to detect all anomalies, highlighting the dataset's value as a challenging benchmark for the broader research community.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2409.20353")
get_code_for_paper("2409.20353")
have("2409.20353")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2409.20353.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2409.20353)
Connect an agent — have() is free.