SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2511.17529 · 2025

Time-Series Foundation Models for ISP Traffic Forecasting

Fan Liu, Behrooz Farkiani, Patrick Crowley

arXiv · PDF · Open in the Atlas

Code that ran

8 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 1 no recorded run), measured 2026-11-23; 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/2511.17529.json · badge: /api/ran/2511.17529.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
FanL1u/TSFM-for-ISP-traffic-forecasting canonical (classifier label)
classifier basis: census
8 ran · 1 no recorded run
FunctionStatusWhere it lives
add_temporal_features Ran
ran; our contract draft was wrong, not the code
FanL1u/TSFM-for-ISP-traffic-forecasting/data_preprocess/processor.py
code served (permissive licence) · get_code("a8611bda29bf93df")
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
from datetime import datetime, timedelta, date

# Create a sample dataframe with time column
df = pd.DataFrame({
    'time': pd.date_range(start='2024-01-01', periods=5, freq='D', tz='UTC'),
    'value': [1, 2, 3, 4, 5]
})

# Create sets of weekend and holiday dates
weekend_dates = {
    date(2024, 1, 6),  # Saturday
    date(2024, 1, 7),  # Sunday
}

holiday_dates = {
    date(2024, 1, 1),  # New Year's Day
}

ARGS = {
    'df': df,
    'weekend_dates': weekend_dates,
    'holiday_dates': holiday_dates
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
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
fill_missing_values Ran
ran; our contract draft was wrong, not the code
FanL1u/TSFM-for-ISP-traffic-forecasting/data_preprocess/processor.py
code served (permissive licence) · get_code("0f5c7d42d59595a1")
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 small training dataframe with some columns
train_df = pd.DataFrame({
    'id_time': [1, 3, 5, 7],
    'value': [10, 30, 50, 70],
    'feature': [100, 300, 500, 700]
})

# Create a series of all time ids that should exist (including missing ones)
train_time_ids = pd.Series([1, 2, 3, 4, 5, 6, 7, 8])

ARGS = {
    'train_df': train_df,
    'train_time_ids': train_time_ids
}
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 int 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
get_all_file_ids Ran
ran, honoured the contract we drafted
FanL1u/TSFM-for-ISP-traffic-forecasting/evaluation/evaluation.py
code served (permissive licence) · get_code("5a6e175d3a0e1b48")
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 os
from pathlib import Path
import tempfile
import shutil

# Create a temporary directory structure to simulate processed_data
temp_base = tempfile.mkdtemp()
processed_data_dir = os.path.join(temp_base, 'processed_data')
os.makedirs(processed_data_dir, exist_ok=True)

# Create test directory structure with CSV files
group = 'test_group'
aggregation = 'test_aggregation'
test_dir = os.path.join(processed_data_dir, group, aggregation)
os.makedirs(test_dir, exist_ok=True)

# Create some dummy CSV files with numeric names
for file_id in [1, 3, 5, 10]:
    csv_path = os.path.join(test_dir, f'{file_id}.csv')
    with open(csv_path, 'w') as f:
        f.write('dummy,data\n1,2\n')

# Monkey patch PROCESSED_DATA_DIR in the module
import sys
import types
test_module = types.ModuleType('test_module')
test_module.PROCESSED_DATA_DIR = processed_data_dir

ARGS = {
    'group': 'test_group',
    'aggregation': 'test_aggregation',
}
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 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
load_processed_data Ran
ran; our contract draft was wrong, not the code
FanL1u/TSFM-for-ISP-traffic-forecasting/evaluation/evaluation.py
code served (permissive licence) · get_code("57ff0c0baa479f46")
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 io

# Create a small CSV string in memory
csv_data = """time,value1,value2
2024-01-01,10,20
2024-01-02,15,25
2024-01-03,12,22
2024-01-04,18,28
2024-01-05,14,24"""

# Write to a temporary file-like object and save to disk
# Since we can't do file I/O, we'll create the CSV data in memory
# and create a temporary CSV file path
import tempfile
import os

temp_dir = tempfile.gettempdir()
csv_file_path = os.path.join(temp_dir, "test_timeseries_data.csv")

# Write the CSV data
with open(csv_file_path, 'w') as f:
    f.write(csv_data)

ARGS = {
    'data_path': csv_file_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
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
load_weekends_holidays Ran
ran; our contract draft was wrong, not the code
FanL1u/TSFM-for-ISP-traffic-forecasting/data_preprocess/processor.py
code served (permissive licence) · get_code("d024afa6410ccbcf")
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 pandas as pd
import io

# Create a minimal CSV content with weekend and holiday data
csv_content = """Date,Type
2024-01-06,Weekend
2024-01-07,Weekend
2024-01-13,Weekend
2024-01-14,Weekend
2024-01-01,Holiday
2024-12-25,Holiday
"""

# Create a temporary file-like object
file_path = io.StringIO(csv_content)

ARGS = {
    'file_path': file_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
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
read_tracker Ran
ran; our contract draft was wrong, not the code
FanL1u/TSFM-for-ISP-traffic-forecasting/evaluation/visual.py
code served (permissive licence) · get_code("0d4ef49b37886dd5")
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 os
import tempfile
import csv

# Create a temporary directory and a mock experiment_tracker.csv file
temp_dir = tempfile.mkdtemp()
tracker_file = os.path.join(temp_dir, 'experiment_tracker.csv')

# Create a valid CSV file with the expected columns
with open(tracker_file, 'w', newline='') as f:
    writer = csv.DictWriter(f, fieldnames=['result_directory', 'experiment_name', 'batch_id'])
    writer.writeheader()
    writer.writerow({'result_directory': '/path/to/result1', 'experiment_name': 'exp1', 'batch_id': '1'})
    writer.writerow({'result_directory': '/path/to/result1', 'experiment_name': 'exp1', 'batch_id': '2'})
    writer.writerow({'result_directory': '/path/to/result2', 'experiment_name': 'exp2', 'batch_id': '1'})

ARGS = {
    'path': tracker_file
}
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 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
resolve_tracker_path Ran
ran; our contract draft was wrong, not the code
FanL1u/TSFM-for-ISP-traffic-forecasting/evaluation/visual.py
code served (permissive licence) · get_code("f60907102e33c4f6")
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 os
import tempfile
import shutil

# Create a temporary directory structure to simulate the expected file layout
temp_dir = tempfile.mkdtemp()
experiments_dir = os.path.join(temp_dir, 'experiments')
os.makedirs(experiments_dir, exist_ok=True)

# Create a dummy experiment_tracker.csv file
tracker_file = os.path.join(experiments_dir, 'experiment_tracker.csv')
with open(tracker_file, 'w') as f:
    f.write('experiment_id,status\n')
    f.write('exp_001,completed\n')

# Test with a path that doesn't exist first, to trigger fallback logic
nonexistent_path = os.path.join(temp_dir, 'nonexistent_tracker.csv')

# Construct the arguments
ARGS = {
    'path': nonexistent_path
}

# Note: The function will search EXPERIMENT_TRACKER_FALLBACKS which uses SCRIPT_DIR.
# Since we can't control SCRIPT_DIR easily in this setup, we'll use a valid existing path instead
# to ensure the function can execute without errors.
ARGS = {
    'path': tracker_file
}
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 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
validate_data_length Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
FanL1u/TSFM-for-ISP-traffic-forecasting/evaluation/evaluation.py
code served (permissive licence) · get_code("49858a5b385ec9dd")
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 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 os
import pandas as pd
import tempfile

# Create a temporary directory for output
temp_dir = tempfile.mkdtemp()

# Create a sample DataFrame with time series data
df = pd.DataFrame({
    'value': [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0] * 5  # 50 data points
})

# Define arguments
ARGS = {
    'df': df,
    'file_id': 'test_file_001',
    'output_dir': temp_dir,
    'context_length': 10,
    'prediction_length': 5,
    'splits': {'train': 0.6, 'val': 0.2},
    'require_at_least_windows': 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — 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
load_results Not yet run
unverified (harvested, no recorded run)
FanL1u/TSFM-for-ISP-traffic-forecasting/evaluation/visual.py
code served (permissive licence) · get_code("072a69aed918e665")
How it ran

no invocation 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, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 9 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.

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

Accurate network-traffic forecasting enables proactive capacity planning and anomaly detection in Internet Service Provider (ISP) networks. Recent advances in time-series foundation models (TSFMs) have demonstrated strong zeroshot and few-shot generalization across diverse domains, yet their effectiveness for computer networking remains unexplored. This paper presents a systematic evaluation of a TSFM, IBM's Tiny Time Mixer (TTM), on the CESNET-TimeSeries24 dataset, a 40-week real-world ISP telemetry corpus. We assess TTM under zero-shot and few-shot settings across multiple forecasting horizons (hours to days), aggregation hierarchies (institutions, subnets, IPs), and temporal resolutions (10-minute and hourly). Results show that TTM achieves consistent accuracy (RMSE 0.026-0.057) and stable R 2 scores across horizons and context lengths, outperforming or matching fully trained deep learning baselines such as GRU and LSTM. Inference latency remains under 0.05s per 100 points on a single MacBook Pro using CPUonly computation, confirming deployability without dedicated GPU or MPS acceleration. These findings highlight the potential of pretrained TSFMs to enable scalable, efficient, and trainingfree forecasting for modern network monitoring and management systems.

For agents

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

get_harvested_code_for_paper("2511.17529")
get_code_for_paper("2511.17529")
have("2511.17529")

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

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

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

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

Connect an agent — have() is free.