SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2501.02945 · 2025

From Tables to Time: Extending TabPFN-v2 to Time Series Forecasting

arXiv · PDF · Open in the Atlas

Code that ran

4 of 5 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; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 3 failures of our instrument; 1 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/2501.02945.json · badge: /api/ran/2501.02945.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
liam-sbhoo/tabpfn-time-series canonical (classifier label)
classifier basis not recorded on the link
4 ran · 1 no recorded run
FunctionStatusWhere it lives
detrend Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
liam-sbhoo/tabpfn-time-series/tabpfn_time_series/features/auto_features.py
code served (permissive licence) · get_code("f84654221eb0299e")
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 (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 numpy as np

# Create a simple time series array with trend
np.random.seed(42)
x = np.array([1.0, 2.5, 3.2, 4.8, 5.1, 6.3, 7.2, 8.9, 9.5, 10.2])

ARGS = {
    'x': x,
    'detrend_type': 'linear'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, statsmodels — 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 (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
require Ran
ran; our contract draft was wrong, not the code
liam-sbhoo/tabpfn-time-series/tabpfn_time_series/explainability/_deps.py
code served (permissive licence) · get_code("c08ea076a64d1f31")
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 module. 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 importlib

# The function 'require' takes a single parameter: module (a string)
# It attempts to import that module and raises an ImportError with a helpful message if it fails
# We need to provide a valid module name that will successfully import

ARGS = {
    "module": "sys"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
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 module — a module output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a module 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
resolve_default_model_path Ran
ran on a synthesized input
liam-sbhoo/tabpfn-time-series/tabpfn_time_series/defaults.py
code served (permissive licence) · get_code("7045bf6568ea132f")
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 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.

import torch
import numpy as np

# Setup for resolve_default_model_path
# The function takes:
# 1. tabpfn_config: dict - a configuration dictionary
# 2. client: bool - a keyword-only boolean argument

# Test case 1: config without model_path, client=True
ARGS_1 = {
    'tabpfn_config': {
        'n_samples': 100,
        'seed': 42,
    },
    'client': True,
}

# Test case 2: config without model_path, client=False
# This will try to import TabPFNRegressor and use it, so we need to mock it
ARGS_2 = {
    'tabpfn_config': {
        'n_samples': 100,
        'seed': 42,
    },
    'client': False,
}

# Test case 3: config with explicit model_path (should pass through unchanged)
ARGS_3 = {
    'tabpfn_config': {
        'model_path': '/custom/path/model.pt',
        'n_samples': 100,
    },
    'client': True,
}

# Test case 4: config with model_path=None explicitly
ARGS_4 = {
    'tabpfn_config': {
        'model_path': None,
        'n_samples': 50,
    },
    'client': False,
}

# Use the simplest case for ARGS - config without model_path, client=True
ARGS = {
    'tabpfn_config': {
        'n_samples': 100,
        'seed': 42,
        'learning_rate': 0.001,
    },
    'client': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tabpfn, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
split_time_series_to_X_y Ran
ran; our contract draft was wrong, not the code
liam-sbhoo/tabpfn-time-series/tabpfn_time_series/data_preparation.py
code served (permissive licence) · get_code("c03055d492b55ea0")
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. 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 small time series DataFrame with features and a target column
data = {
    'feature_1': [1.0, 2.0, 3.0, 4.0, 5.0],
    'feature_2': [10.0, 20.0, 30.0, 40.0, 50.0],
    'feature_3': [100.0, 200.0, 300.0, 400.0, 500.0],
    'target': [0.5, 1.5, 2.5, 3.5, 4.5]
}
df = pd.DataFrame(data)

ARGS = {
    'df': df,
    'target_col': 'target'
}
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 tuple — a tuple output has no array shape of its own; none is 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
to_gluonts_univariate Not yet run
unverified (harvested, no recorded run)
liam-sbhoo/tabpfn-time-series/tabpfn_time_series/data_preparation.py
code served (permissive licence) · get_code("5a9adc51217ca103")
How it ran

no invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 3 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 3 later) and 2 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
detrend 1 other paper
1 later
2606.05878 (2026-06)
TS-ICL: A Flexible Time-Indexed Foundation Model for Time Series via In-Context Learning
require 1 other paper
1 later
2606.05878 (2026-06)
TS-ICL: A Flexible Time-Indexed Foundation Model for Time Series via In-Context Learning
split_time_series_to_X_y 1 other paper
1 later
2606.05878 (2026-06)
TS-ICL: A Flexible Time-Indexed Foundation Model for Time Series via In-Context Learning

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

Recent progress in foundation models has enabled strong zero-shot performance for time series forecasting. In this work, we show that such capabilities can also emerge from tabular foundation models. We introduce TabPFN-TS, a simple method that treats forecasting as a tabular regression problem by combining lightweight temporal featurization with the pretrained TabPFN-v2. This formulation requires no time-series-specific pretraining and naturally supports both univariate and covariate-informed forecasting. Despite its compact size (11M parameters), TabPFN-TS achieves state-of-the-art performance on covariate-informed forecasting and competitive accuracy on univariate forecasting across the GIFT-Eval and fev-bench benchmarks. We further provide controlled analyses examining how the model interprets temporal structure, how featurization choices affect accuracy, and how forecasts change under alternative tabular backbones. Together, our results demonstrate that tabular foundation models--when paired with suitable temporal features--offer an efficient and versatile alternative for forecasting, bridging tabular and time-series learning within a unified framework. Code is available at https://github.com/PriorLabs/tabpfn-time-series.

For agents

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

get_harvested_code_for_paper("2501.02945")
get_code_for_paper("2501.02945")
have("2501.02945")

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

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

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

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

Connect an agent — have() is free.