SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.19770 · 2024

Self-Supervised Spatial-Temporal Normality Learning for Time Series Anomaly Detection

arXiv · PDF · Open in the Atlas

Code that ran

18 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; 2 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 14 failures of our instrument; 4 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/2406.19770.json · badge: /api/ran/2406.19770.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
mala-lab/sten canonical (classifier label)
classifier basis: census
18 ran · 4 no recorded run
FunctionStatusWhere it lives
E_gt_func Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mala-lab/sten/metrics/affiliation/_affiliation_zone.py
pointer only (licence: NONE) · get_code("d404bee58fedcd26")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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.

auc_pr Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mala-lab/sten/metrics/_anomaly_detection.py
pointer only (licence: NONE) · get_code("5b15105ac4a406f6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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.

auc_roc Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mala-lab/sten/metrics/_anomaly_detection.py
pointer only (licence: NONE) · get_code("69f0cb37c656f2ed")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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)
mala-lab/sten/metrics/affiliation/generics.py
pointer only (licence: NONE) · get_code("8f8697a132293736")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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_data Ran
ran; our contract draft was wrong, not the code
mala-lab/sten/utils/data.py
pointer only (licence: NONE) · get_code("8a3cb24dcc21da58")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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_adjust_F1PA Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mala-lab/sten/metrics/metrics.py
pointer only (licence: NONE) · get_code("fbe988b1d8858b93")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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_sub_seqs Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mala-lab/sten/utils/utility.py
pointer only (licence: NONE) · get_code("2ad5606541f726c4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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_sub_seqs_label Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mala-lab/sten/utils/utility.py
pointer only (licence: NONE) · get_code("6609607d0b6bb345")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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
mala-lab/sten/metrics/affiliation/generics.py
pointer only (licence: NONE) · get_code("356c56fa1f7667a1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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.

import_ts_data_unsupervised Ran
ran; our contract draft was wrong, not the code
mala-lab/sten/utils/dataloading.py
pointer only (licence: NONE) · get_code("fb1b5ffef7b2069f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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
mala-lab/sten/metrics/affiliation/generics.py
pointer only (licence: NONE) · get_code("d2e653db871e18d5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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)
mala-lab/sten/metrics/affiliation/_integral_interval.py
pointer only (licence: NONE) · get_code("19f48f4d2af20ece")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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
mala-lab/sten/metrics/affiliation/_integral_interval.py
pointer only (licence: NONE) · get_code("224f0e59f24ef978")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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.

point_adjustment Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mala-lab/sten/metrics/_tsad_adjustment.py
pointer only (licence: NONE) · get_code("f64cec27bc739f6b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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
mala-lab/sten/metrics/affiliation/_integral_interval.py
pointer only (licence: NONE) · get_code("64b9b03651a884fd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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)
mala-lab/sten/metrics/affiliation/_affiliation_zone.py
pointer only (licence: NONE) · get_code("69f0580795e596bb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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)
mala-lab/sten/metrics/affiliation/_affiliation_zone.py
pointer only (licence: NONE) · get_code("d67287c6f0371922")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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.

tabular_metrics Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mala-lab/sten/metrics/_anomaly_detection.py
pointer only (licence: NONE) · get_code("f97620592d90b232")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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.

affiliation_precision_distance Not yet run
unverified (harvested, no recorded run)
mala-lab/sten/metrics/affiliation/_single_ground_truth_event.py
pointer only (licence: NONE) · get_code("5217682972bdb339")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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.

affiliation_precision_proba Not yet run
unverified (harvested, no recorded run)
mala-lab/sten/metrics/affiliation/_single_ground_truth_event.py
pointer only (licence: NONE) · get_code("8609c6f18260493f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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.

affiliation_recall_distance Not yet run
unverified (harvested, no recorded run)
mala-lab/sten/metrics/affiliation/_single_ground_truth_event.py
pointer only (licence: NONE) · get_code("4967c38c3a40570a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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.

pr_from_events Not yet run
unverified (harvested, no recorded run)
mala-lab/sten/metrics/affiliation/metrics.py
pointer only (licence: NONE) · get_code("055f6e8b0a798866")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mala-lab/sten 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.

Also present in other papers' code

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, 10 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 0 the same month, 0 later) and 12 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 dated earlier
2206.13167 (2022-06)
Local Evaluation of Time Series Anomaly Detection Algorithms
convert_vector_to_events 1 other paper
1 dated earlier
2206.13167 (2022-06)
Local Evaluation of Time Series Anomaly Detection Algorithms
get_adjust_F1PA 1 other paper
1 dated earlier
2211.05244 (2022-11)
Deep Learning for Time Series Anomaly Detection: A Survey
has_point_anomalies 1 other paper
1 dated earlier
2206.13167 (2022-06)
Local Evaluation of Time Series Anomaly Detection Algorithms
infer_Trange 1 other paper
1 dated earlier
2206.13167 (2022-06)
Local Evaluation of Time Series Anomaly Detection Algorithms
interval_intersection 1 other paper
1 dated earlier
2206.13167 (2022-06)
Local Evaluation of Time Series Anomaly Detection Algorithms
interval_length 1 other paper
1 dated earlier
2206.13167 (2022-06)
Local Evaluation of Time Series Anomaly Detection Algorithms
sum_interval_lengths 1 other paper
1 dated earlier
2206.13167 (2022-06)
Local Evaluation of Time Series Anomaly Detection Algorithms
t_start 1 other paper
1 dated earlier
2206.13167 (2022-06)
Local Evaluation of Time Series Anomaly Detection Algorithms
t_stop 1 other paper
1 dated earlier
2206.13167 (2022-06)
Local Evaluation of Time Series Anomaly Detection Algorithms

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.

Repositories linked to this paper

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

Abstract

Time Series Anomaly Detection (TSAD) finds widespread applications across various domains such as financial markets, industrial production, and healthcare. Its primary objective is to learn the normal patterns of time series data, thereby identifying deviations in test samples. Most existing TSAD methods focus on modeling data from the temporal dimension, while ignoring the semantic information in the spatial dimension. To address this issue, we introduce a novel approach, called Spatial-Temporal Normality learning (STEN). STEN is composed of a sequence Order prediction-based Temporal Normality learning (OTN) module that captures the temporal correlations within sequences, and a Distance prediction-based Spatial Normality learning (DSN) module that learns the relative spatial relations between sequences in a feature space. By synthesizing these two modules, STEN learns expressive spatial-temporal representations for the normal patterns hidden in the time series data. Extensive experiments on five popular TSAD benchmarks show that STEN substantially outperforms state-of-the-art competing methods. Our code is available at https://github.com/mala-lab/STEN.

For agents

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

get_harvested_code_for_paper("2406.19770")
get_code_for_paper("2406.19770")
have("2406.19770")

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

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

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

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

Connect an agent — have() is free.