SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.07815 · 2024

Chronos: Learning the Language of Time Series

arXiv · PDF · Open in the Atlas

Code that ran

23 of 28 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; 5 honoured the contract we drafted, 1 violated it and 9 have no contract verdict; 8 failures of our instrument; 5 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/2403.07815.json · badge: /api/ran/2403.07815.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
amazon-science/chronos-forecasting canonical (classifier label)
classifier basis: census
8 ran · 1 no recorded run
mobile-sensing-and-ubicomp-laboratory/normwear community (classifier label)
classifier basis not recorded on the link
13 ran · 4 no recorded run
ChernovAndrey/chronos-forecasting-wasserstein extension (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
FunctionStatusWhere it lives
adjust_learning_rate Ran
ran, honoured the contract we drafted
mobile-sensing-and-ubicomp-laboratory/normwear/modules/lr_sched.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from quandao10/slct, is pointer only (licence: NONE) · get_code("bd3578806ecf5ac2")
How it ran

The 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 quandao10/slct, 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.

butter_bandpass_filter Ran
ran on a synthesized input
mobile-sensing-and-ubicomp-laboratory/normwear/modules/signal_preprocess.py
code served (permissive licence) · get_code("98c7e5db66c62dee")
How it ran

Ran 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 ndarray, ndim 1, dtype family float, shape (100,) 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.

import numpy as np
from scipy import signal

# Construct valid arguments for butter_bandpass_filter
# The function applies a Butterworth low-pass filter to data

# Create sample data - a simple 1D array of floats
np.random.seed(0)
data = np.random.randn(100).astype(np.float64)

# Define filter parameters
lowcut = 1.0  # Lower cutoff frequency (Hz) - not used in the function body but is a parameter
highcut = 10.0  # Upper cutoff frequency (Hz)
fs = 50.0  # Sampling frequency (Hz)
order = 5  # Filter order

ARGS = {
    'data': data,
    'lowcut': lowcut,
    'highcut': highcut,
    'fs': fs,
    'order': order
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (100,) — shape (100,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
check_nan Ran
ran, honoured the contract we drafted
ChernovAndrey/chronos-forecasting-wasserstein/scripts/preprocessing_training_data/zero_shot_datasets.py
code served (permissive licence) · get_code("3963a392d702ebd5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) 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.

import numpy as np
import pandas as pd

# Create a DataFrame with a 'target' column containing lists of numbers
# The function expects df['target'] to be iterable where each element is iterable
target_data = [
    [1.0, 2.0, 3.0],
    [4.0, np.nan, 6.0],
    [7.0, 8.0, np.nan]
]

df = pd.DataFrame({'target': target_data})

ARGS = {
    'df': df
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
cwt_ricker Ran
ran on a synthesized input
mobile-sensing-and-ubicomp-laboratory/normwear/modules/normwear.py
code served (permissive licence) · get_code("b96b8312d8a5918f")
How it ran

Ran 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 Tensor, ndim 3, dtype family float, shape (2, 3, 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.

import torch
import torch.nn.functional as F

torch.manual_seed(0)

# Create a small time-series input tensor
# Shape: (batch_size=2, sequence_length=4)
x = torch.randn(2, 4)

# Define the parameters for cwt_ricker
lowest_scale = 1.0
largest_scale = 3.0
step = 1.0
wavelet_len = 100

ARGS = {
    "x": x,
    "lowest_scale": lowest_scale,
    "largest_scale": largest_scale,
    "step": step,
    "wavelet_len": wavelet_len,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 3, 5) — shape (2, 3, 5) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_stat_features Ran
ran on a synthesized input
mobile-sensing-and-ubicomp-laboratory/normwear/downstream_pipeline/model_apis.py
code served (permissive licence) · get_code("3328b1e2a64383ba")
How it ran

Ran 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.

import torch
import numpy as np
from scipy.stats import skew, kurtosis

torch.manual_seed(0)

# Create a small time series as a numpy array
ts = np.random.randn(64)

# Set a sampling rate
sampling_rate = 100

ARGS = {
    "ts": ts,
    "sampling_rate": sampling_rate
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_target_from_extra_datasets Ran
ran, honoured the contract we drafted
ChernovAndrey/chronos-forecasting-wasserstein/scripts/preprocessing_training_data/zero_shot_datasets.py
code served (permissive licence) · get_code("7bcb6ba4a8212388")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned ndarray, ndim 2, dtype family int, shape (2, 2) 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.

import numpy as np

class MockDataset:
    def __init__(self):
        self.column_names = ['id', 'timestamp', 'feature1', 'feature2']
        self.data = {
            'id': np.array([1, 2]),
            'timestamp': np.array([100, 200]),
            'feature1': np.array([10, 20]),
            'feature2': np.array([30, 40])
        }
    
    def __getitem__(self, key):
        return self.data[key]

ds = MockDataset()

ARGS = {
    'ds': ds
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family int, shape (2, 2) — shape (2, 2) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
freeze_model Ran
ran on a synthesized input
mobile-sensing-and-ubicomp-laboratory/normwear/downstream_pipeline/model_apis.py
code served (permissive licence) · get_code("7350d8fc12462db1")
How it ran

Ran 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 SimpleModel. 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.

import torch
import torch.nn as nn

torch.manual_seed(0)

class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

model = SimpleModel()

ARGS = {
    "model": model
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SimpleModel — a SimpleModel output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleModel output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
from_list_of_tensors Ran
ran; our contract draft was wrong, not the code
amazon-science/chronos-forecasting/src/chronos/chronos2/preprocess.py
code served (permissive licence) · get_code("df6b398cd625b6ca")
How it ran

Ran 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.

import torch
import numpy as np

torch.manual_seed(0)

# Create test data: a list of tensors with different shapes
# - First tensor: 1D (context_length,)
# - Second tensor: 2D (n_variates, context_length)
data = [
    torch.randn(5),  # 1D tensor of shape (5,)
    torch.randn(3, 4),  # 2D tensor of shape (3, 4) - 3 variates, 4 time steps
]

prediction_length = 2

ARGS = {
    "data": data,
    "prediction_length": prediction_length,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
from_tensor Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
amazon-science/chronos-forecasting/src/chronos/chronos2/preprocess.py
code served (permissive licence) · get_code("320651b2368cae7e")
How it ran

Ran 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.

import torch
import numpy as np

torch.manual_seed(0)

# Create a small 3D tensor: (n_series=2, n_variates=3, context_length=4)
data = torch.randn(2, 3, 4, dtype=torch.float32)

# Define prediction_length
prediction_length = 5

ARGS = {
    "data": data,
    "prediction_length": prediction_length,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_1d_sincos_pos_embed_from_grid Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mobile-sensing-and-ubicomp-laboratory/normwear/modules/layers.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Zhangwenyao1/DreamVLA, is pointer only (licence: NONE) · get_code("5c8ea92d43ead77d")
How it ran

The 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 Zhangwenyao1/DreamVLA, 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_2d_sincos_pos_embed_flexible Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mobile-sensing-and-ubicomp-laboratory/normwear/modules/layers.py
code served (permissive licence) · get_code("68fc090d0a502993")
How it ran

Ran 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 ndarray, ndim 2, dtype family float, shape (12, 8) 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.

import numpy as np

# Construct arguments for get_2d_sincos_pos_embed_flexible
embed_dim = 8  # must be even
grid_size = (4, 3)  # (height, width) - distinct dimensions
cls_token = False

ARGS = {
    "embed_dim": embed_dim,
    "grid_size": grid_size,
    "cls_token": cls_token,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (12, 8) — shape (12, 8) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
impute Ran
ran on a synthesized input
mobile-sensing-and-ubicomp-laboratory/normwear/modules/signal_preprocess.py
code served (permissive licence) · get_code("12a7b65c0afc67bd")
How it ran

Ran 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 ndarray, ndim 1, dtype family float, shape (4,) 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.

import numpy as np

# Analyze the function:
# - ts: appears to be an array-like that supports indexing and len()
# - sr: sampling rate (int), used in modulo operation
# - tr: time resolution (int), used to scale indices

# Create a small test time series with some NaN values
ts = np.array([1.0, np.nan, 3.0, np.nan, 5.0, 6.0, np.nan, 8.0], dtype=float)

ARGS = {
    "ts": ts,
    "sr": 1000,
    "tr": 500
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (4,) — shape (4,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
infer_freq_from_df Ran
ran; our contract draft was wrong, not the code
amazon-science/chronos-forecasting/src/chronos/df_utils.py
code served (permissive licence) · get_code("6f9f1492b3e8c060")
How it ran

Ran 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.

import pandas as pd
import numpy as np

# Create a valid dataframe with regular time series data
# The function requires:
# - A dataframe with an id_column and timestamp_column
# - Grouped by id (normalized)
# - Each series should have at least 3 observations with regular frequency
# - All series must have the same frequency

# Create sample data with 2 items, each with 5 regularly-spaced daily observations
dates1 = pd.date_range('2023-01-01', periods=5, freq='D')
dates2 = pd.date_range('2023-01-01', periods=5, freq='D')

df = pd.DataFrame({
    'item_id': ['item_A'] * 5 + ['item_B'] * 5,
    'timestamp': list(dates1) + list(dates2),
    'value': np.arange(10)
})

ARGS = {
    'df': df,
    'id_column': 'item_id',
    'timestamp_column': 'timestamp'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
interpolate_quantiles Ran
ran; our contract draft was wrong, not the code
amazon-science/chronos-forecasting/src/chronos/utils.py
code served (permissive licence) · get_code("6570164cb0997c3c")
How it ran

Ran 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 Tensor, ndim 2, dtype family float, shape (2, 3) 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.

import torch
import numpy as np

torch.manual_seed(0)

# Create valid arguments for interpolate_quantiles
query_quantile_levels = [0.25, 0.5, 0.75]

original_quantile_levels = [0.0, 0.5, 1.0]

# original_values should have shape (..., len(original_quantile_levels))
# Let's create a batch of 2 with 3 original quantile values each
original_values = torch.tensor(
    [
        [1.0, 2.0, 3.0],
        [4.0, 5.0, 6.0]
    ],
    dtype=torch.float32
)

ARGS = {
    "query_quantile_levels": query_quantile_levels,
    "original_quantile_levels": original_quantile_levels,
    "original_values": original_values,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 3) — shape (2, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
left_pad_and_cat_2D Ran
ran, honoured the contract we drafted
amazon-science/chronos-forecasting/src/chronos/chronos2/dataset.py
code served (permissive licence) · get_code("be1b4be52aeb0521")
How it ran

Ran 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 Tensor, ndim 2, dtype family float, shape (12, 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.

import torch

torch.manual_seed(0)

# Create a list of 2D tensors with different lengths along the second axis
# Each tensor has shape (n_variates, length) where n_variates is the same
# but lengths differ so padding is needed

tensor1 = torch.randn(4, 3)  # 4 variates, length 3
tensor2 = torch.randn(4, 5)  # 4 variates, length 5
tensor3 = torch.randn(4, 2)  # 4 variates, length 2

tensors = [tensor1, tensor2, tensor3]

ARGS = {
    "tensors": tensors
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (12, 5) — shape (12, 5) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
left_pad_and_stack_1D Ran
ran, honoured the contract we drafted
amazon-science/chronos-forecasting/src/chronos/utils.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from ShifengXIE/CauKer, is pointer only (licence: NONE) · get_code("29cf01d44829ae99")
How it ran

The 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 ShifengXIE/CauKer, 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.

make_future_df Ran
ran; our contract draft was wrong, not the code
amazon-science/chronos-forecasting/src/chronos/df_utils.py
code served (permissive licence) · get_code("01e3ac35c7607e05")
How it ran

Ran 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.

import pandas as pd
import numpy as np

# Create a normalized dataframe with multiple time series
# Each series has >= 3 observations with regular frequency

dates_1 = pd.date_range('2023-01-01', periods=5, freq='D')
dates_2 = pd.date_range('2023-01-01', periods=4, freq='D')

df = pd.DataFrame({
    'item_id': ['item_A'] * 5 + ['item_B'] * 4,
    'timestamp': list(dates_1) + list(dates_2),
    'value': np.random.randn(9)
})

ARGS = {
    'df': df,
    'prediction_length': 3,
    'freq': None,
    'id_column': 'item_id',
    'timestamp_column': 'timestamp'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
normalize_df Ran
ran; our contract draft was wrong, not the code
amazon-science/chronos-forecasting/src/chronos/df_utils.py
code served (permissive licence) · get_code("cb5df9cb2cc3d661")
How it ran

Ran 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.

import numpy as np
import pandas as pd

# Create a sample DataFrame with item_id and timestamp columns
df = pd.DataFrame({
    'item_id': ['A', 'B', 'A', 'C', 'B', 'A'],
    'timestamp': ['2023-01-01', '2023-01-02', '2023-01-03', '2023-01-04', '2023-01-05', '2023-01-06'],
    'value': [10, 20, 30, 40, 50, 60]
})

# Create an order array with unique item ids
order = np.array(['A', 'B', 'C'])

ARGS = {
    'df': df,
    'id_column': 'item_id',
    'timestamp_column': 'timestamp',
    'order': order
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
parse_tuple Ran
ran on a synthesized input
mobile-sensing-and-ubicomp-laboratory/normwear/downstream_pipeline/main_finetune.py
code served (permissive licence) · get_code("13fd40ad9b57200f")
How it ran

Ran 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.

import torch
import numpy as np

torch.manual_seed(0)

# Analyze parse_tuple function:
# - Takes arg_str parameter (string)
# - Checks if it starts with '(' and ends with ')'
# - Strips those characters if present
# - Splits by comma
# - Maps float over the split result
# - Returns tuple

# Valid test case: a string representing a tuple of floats
arg_str = "(1.5, 2.3, 3.7)"

ARGS = {
    "arg_str": arg_str
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ricker_wavelet Ran
ran on a synthesized input
mobile-sensing-and-ubicomp-laboratory/normwear/modules/normwear.py
code served (permissive licence) · get_code("8341801558fc0c56")
How it ran

Ran 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 Tensor, ndim 1, dtype family float, shape (10,) 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.

import torch

torch.manual_seed(0)

# Analyze the function:
# - points: used as int in torch.arange(0, points, ...) and arithmetic
# - scale: used as tensor with .device attribute, ** operations, / operations
#   It's used in torch.sqrt(), torch.pi ** 0.25, and arithmetic operations
#   So scale should be a scalar tensor

points = 10
scale = torch.tensor(2.0)

ARGS = {
    "points": points,
    "scale": scale,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (10,) — shape (10,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
rolling_window Ran
ran on a synthesized input
mobile-sensing-and-ubicomp-laboratory/normwear/modules/signal_preprocess.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from knowledgetechnologyuhh/goal_conditioned_RL_baselines, is pointer only (licence: MIT) · get_code("895ca4b776fb6d6d")
How it ran

The 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 knowledgetechnologyuhh/goal_conditioned_RL_baselines, and MIT, as GitHub detects it on that repository, is in the permissive set, but a licence decision keeps the body a pointer: its licence file names an outside party, so it may cover vendored code rather than the repository owner's files (recorded as pointer:licence_names_third_party_corporation). 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.

str2bool Ran
ran, violated the contract we drafted
mobile-sensing-and-ubicomp-laboratory/normwear/downstream_pipeline/main_finetune.py
code served (permissive licence) · get_code("7c508037b40522af")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned bool, ndim 0, dtype family float, 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.

import argparse

def str2bool(v):
    if isinstance(v, bool):
        return v
    if v.lower() in ('yes', 'true', 't', 'y', '1'):
        return True
    elif v.lower() in ('no', 'false', 'f', 'n', '0'):
        return False
    else:
        raise argparse.ArgumentTypeError('Boolean value expected.')

# Test cases for str2bool
ARGS = {
    'v': 'true'  # string input that should convert to boolean
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
unfreeze_model Ran
ran on a synthesized input
mobile-sensing-and-ubicomp-laboratory/normwear/downstream_pipeline/model_apis.py
code served (permissive licence) · get_code("c06c4fafc2597d4c")
How it ran

Ran 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 SimpleModel. 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.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a simple model with some parameters
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

# Instantiate the model
model = SimpleModel()

# Freeze all parameters first (so we can test unfreezing)
for param in model.parameters():
    param.requires_grad = False

ARGS = {
    "model": model
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SimpleModel — a SimpleModel output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleModel output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
cwt_wrap Not yet run
unverified (harvested, no recorded run)
mobile-sensing-and-ubicomp-laboratory/normwear/modules/normwear.py
code served (permissive licence) · get_code("20465878e703999d")
How it ran

no invocation recorded.

get_2d_sincos_pos_embed_from_grid Not yet run
unverified (harvested, no recorded run)
mobile-sensing-and-ubicomp-laboratory/normwear/modules/layers.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Zhangwenyao1/DreamVLA, is pointer only (licence: NONE) · get_code("2884deadbb637c3e")
How it ran

The 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 Zhangwenyao1/DreamVLA, 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. No invocation recorded.

spec_cwt Not yet run
unverified (harvested, no recorded run)
mobile-sensing-and-ubicomp-laboratory/normwear/main_model.py
code served (permissive licence) · get_code("f2ab8ea7178a9e19")
How it ran

no invocation recorded.

weighted_quantile Not yet run
unverified (harvested, no recorded run)
amazon-science/chronos-forecasting/src/chronos/utils.py
code served (permissive licence) · get_code("1a9eb49448571307")
How it ran

no invocation recorded.

wt Not yet run
unverified (harvested, no recorded run)
mobile-sensing-and-ubicomp-laboratory/normwear/main_model.py
code served (permissive licence) · get_code("ea3c205b7dee4a25")
How it ran

no invocation recorded.

Also present in other papers' code

Of 28 samples lifted from this paper's linked repositories, 28 carry a function identity and 0 do not. Of the 28 distinct functions with an identity, 7 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 4 the same month, 6 later) and 21 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
get_2d_sincos_pos_embed_from_grid 190 other papers
74 dated earlier, 6 the same month, 109 later, 1 same year, order not determinable · 65 only as an assembly brick
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2111.06377 (2021-11)
Masked Autoencoders Are Scalable Vision Learners
and 187 more not named here
str2bool 175 other papers
113 dated earlier, 4 the same month, 57 later, 1 same year, order not determinable · 2 only as an assembly brick
1406.6247 (2014-06)
Recurrent Models of Visual Attention
1603.09382 (2016-03)
Deep Networks with Stochastic Depth
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
and 172 more not named here
get_1d_sincos_pos_embed_from_grid 25 other papers
8 dated earlier, 2 the same month, 15 later · 16 only as an assembly brick
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
2111.06377 (2021-11)
Masked Autoencoders Are Scalable Vision Learners
2301.01296 (2023-01)
TinyMIM: An Empirical Study of Distilling MIM Pre-trained Models
and 22 more not named here
adjust_learning_rate 23 other papers
14 dated earlier, 1 the same month, 7 later, 1 same year, order not determinable
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2204.09435 (2022-04)
Hephaestus: A large scale multitask dataset towards InSAR understanding
2206.07699 (2022-06)
Write and Paint: Generative Vision-Language Models are Unified Modal Learners
and 20 more not named here
rolling_window 12 other papers
12 dated earlier
1611.05763 (2016-11)
Learning to reinforcement learn
1804.06459 (2018-04)
On Learning Intrinsic Rewards for Policy Gradient Methods
1806.02473 (2018-06)
Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation
and 9 more not named here
get_2d_sincos_pos_embed_flexible 5 other papers
2 dated earlier, 3 later
2207.06405 (2022-07)
Masked Autoencoders that Listen
2401.03497 (2024-01)
EAT: Self-Supervised Pre-Training with Efficient Audio Transformer
2405.00233 (2024-05)
SemantiCodec: An Ultra Low Bitrate Semantic Audio Codec for General Sound
and 2 more not named here
left_pad_and_stack_1D 2 other papers
2 later
2025.emnlp-main.19 (2025 (year only))
SensorLLM: Aligning Large Language Models with Motion Sensors for Human Activity Recognition
2508.02879 (2025-08)
CauKer: Classification Time Series Foundation Models Can Be Pretrained on Synthetic Data

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

We introduce Chronos, a simple yet effective framework for pretrained probabilistic time series models. Chronos tokenizes time series values using scaling and quantization into a fixed vocabulary and trains existing transformer-based language model architectures on these tokenized time series via the cross-entropy loss. We pretrained Chronos models based on the T5 family (ranging from 20M to 710M parameters) on a large collection of publicly available datasets, complemented by a synthetic dataset that we generated via Gaussian processes to improve generalization. In a comprehensive benchmark consisting of 42 datasets, and comprising both classical local models and deep learning methods, we show that Chronos models: (a) significantly outperform other methods on datasets that were part of the training corpus; and (b) have comparable and occasionally superior zero-shot performance on new datasets, relative to methods that were trained specifically on them. Our results demonstrate that Chronos models can leverage time series data from diverse domains to improve zero-shot accuracy on unseen forecasting tasks, positioning pretrained models as a viable tool to greatly simplify forecasting pipelines.

For agents

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

get_harvested_code_for_paper("2403.07815")
get_code_for_paper("2403.07815")
have("2403.07815")

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

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

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

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

Connect an agent — have() is free.