SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2206.13167 · 2022

Local Evaluation of Time Series Anomaly Detection Algorithms

arXiv · PDF · Open in the Atlas

Code that ran

9 of 9 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, 2 violated it and 0 have no contract verdict; 5 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/2206.13167.json · badge: /api/ran/2206.13167.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.

RepositoryRoleRan
ahstat/affiliation-metrics-py canonical (classifier label)
classifier basis not recorded on the link
9 ran · 0 no recorded run
FunctionStatusWhere it lives
E_gt_func Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ahstat/affiliation-metrics-py/affiliation/_affiliation_zone.py
pointer only (licence: MIT); the stored copy get_code serves, from mala-lab/sten, is pointer only (licence: NONE) · get_code("d404bee58fedcd26")
How it ran

The 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 mala-lab/sten, 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.

convert_vector_to_events Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ahstat/affiliation-metrics-py/affiliation/generics.py
pointer only (licence: MIT); the stored copy get_code serves, from mala-lab/sten, is pointer only (licence: NONE) · get_code("8f8697a132293736")
How it ran

The 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 mala-lab/sten, 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.

has_point_anomalies Ran
ran, violated the contract we drafted
ahstat/affiliation-metrics-py/affiliation/generics.py
pointer only (licence: MIT); the stored copy get_code serves, from mala-lab/sten, is pointer only (licence: NONE) · get_code("356c56fa1f7667a1")
How it ran

The 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 mala-lab/sten, 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.

infer_Trange Ran
ran, honoured the contract we drafted
ahstat/affiliation-metrics-py/affiliation/generics.py
pointer only (licence: MIT); the stored copy get_code serves, from mala-lab/sten, is pointer only (licence: NONE) · get_code("d2e653db871e18d5")
How it ran

The 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 mala-lab/sten, 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.

interval_intersection Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ahstat/affiliation-metrics-py/affiliation/_integral_interval.py
pointer only (licence: MIT); the stored copy get_code serves, from mala-lab/sten, is pointer only (licence: NONE) · get_code("19f48f4d2af20ece")
How it ran

The 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 mala-lab/sten, 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.

interval_length Ran
ran, violated the contract we drafted
ahstat/affiliation-metrics-py/affiliation/_integral_interval.py
pointer only (licence: MIT); the stored copy get_code serves, from mala-lab/sten, is pointer only (licence: NONE) · get_code("224f0e59f24ef978")
How it ran

The 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 mala-lab/sten, 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.

sum_interval_lengths Ran
ran, honoured the contract we drafted
ahstat/affiliation-metrics-py/affiliation/_integral_interval.py
pointer only (licence: MIT); the stored copy get_code serves, from mala-lab/sten, is pointer only (licence: NONE) · get_code("64b9b03651a884fd")
How it ran

The 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 mala-lab/sten, 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.

t_start Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ahstat/affiliation-metrics-py/affiliation/_affiliation_zone.py
pointer only (licence: MIT); the stored copy get_code serves, from mala-lab/sten, is pointer only (licence: NONE) · get_code("69f0580795e596bb")
How it ran

The 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 mala-lab/sten, 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.

t_stop Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ahstat/affiliation-metrics-py/affiliation/_affiliation_zone.py
pointer only (licence: MIT); the stored copy get_code serves, from mala-lab/sten, is pointer only (licence: NONE) · get_code("d67287c6f0371922")
How it ran

The 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 mala-lab/sten, 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.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 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 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.

FunctionAlso present inEarliest-datedOthers named
E_gt_func 1 other paper
1 later
2406.19770 (2024-06)
Self-Supervised Spatial-Temporal Normality Learning for Time Series Anomaly Detection
convert_vector_to_events 1 other paper
1 later
2406.19770 (2024-06)
Self-Supervised Spatial-Temporal Normality Learning for Time Series Anomaly Detection
has_point_anomalies 1 other paper
1 later
2406.19770 (2024-06)
Self-Supervised Spatial-Temporal Normality Learning for Time Series Anomaly Detection
infer_Trange 1 other paper
1 later
2406.19770 (2024-06)
Self-Supervised Spatial-Temporal Normality Learning for Time Series Anomaly Detection
interval_intersection 1 other paper
1 later
2406.19770 (2024-06)
Self-Supervised Spatial-Temporal Normality Learning for Time Series Anomaly Detection
interval_length 1 other paper
1 later
2406.19770 (2024-06)
Self-Supervised Spatial-Temporal Normality Learning for Time Series Anomaly Detection
sum_interval_lengths 1 other paper
1 later
2406.19770 (2024-06)
Self-Supervised Spatial-Temporal Normality Learning for Time Series Anomaly Detection
t_start 1 other paper
1 later
2406.19770 (2024-06)
Self-Supervised Spatial-Temporal Normality Learning for Time Series Anomaly Detection
t_stop 1 other paper
1 later
2406.19770 (2024-06)
Self-Supervised Spatial-Temporal Normality Learning for Time Series 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-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

In recent years, specific evaluation metrics for time series anomaly detection algorithms have been developed to handle the limitations of the classical precision and recall. However, such metrics are heuristically built as an aggregate of multiple desirable aspects, introduce parameters and wipe out the interpretability of the output. In this article, we first highlight the limitations of the classical precision/recall, as well as the main issues of the recent event-based metrics -- for instance, we show that an adversary algorithm can reach high precision and recall on almost any dataset under weak assumption. To cope with the above problems, we propose a theoretically grounded, robust, parameter-free and interpretable extension to precision/recall metrics, based on the concept of ``affiliation'' between the ground truth and the prediction sets. Our metrics leverage measures of duration between ground truth and predictions, and have thus an intuitive interpretation. By further comparison against random sampling, we obtain a normalized precision/recall, quantifying how much a given set of results is better than a random baseline prediction. By construction, our approach keeps the evaluation local regarding ground truth events, enabling fine-grained visualization and interpretation of algorithmic results. We compare our proposal against various public time series anomaly detection datasets, algorithms and metrics. We further derive theoretical properties of the affiliation metrics that give explicit expectations about their behavior and ensure robustness against adversary strategies.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2206.13167")
get_code_for_paper("2206.13167")
have("2206.13167")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2206.13167.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2206.13167.svg)](https://syntology.ai/paper/2206.13167)

Connect an agent — have() is free.