SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.06179 · 2023

Automatic Integration for Spatiotemporal Neural Point Processes

arXiv · PDF · Open in the Atlas

Code that ran

9 of 15 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, 1 violated it and 0 have no contract verdict; 6 failures of our instrument; 6 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/2310.06179.json · badge: /api/ran/2310.06179.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
rose-stl-lab/autostpp canonical (classifier label)
classifier basis: census
9 ran · 6 no recorded run
FunctionStatusWhere it lives
adapt Ran
ran; our contract draft was wrong, not the code
rose-stl-lab/autostpp/src/utils.py
code served (permissive licence) · get_code("1576d890af67a16b")
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 4, dtype family float, shape (1, 2, 4, 1) 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)

# Analyze the function:
# - arr: passed to torch.tensor(), so needs to be array-like (list, numpy array, tensor)
# - device: passed to .to(device), so needs to be a valid torch device

# Create a small array-like object for arr
arr = np.array([[1.0, 2.0, 3.0, 4.0],
                [5.0, 6.0, 7.0, 8.0]])

# Create a device (CPU only)
device = torch.device('cpu')

ARGS = {
    'arr': arr,
    'device': device
}
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 Tensor, ndim 4, dtype family float, shape (1, 2, 4, 1) — shape (1, 2, 4, 1) 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
func_to_fit Ran
ran, violated the contract we drafted
rose-stl-lab/autostpp/src/demo/AutoInt.py
code served (permissive licence) · get_code("0a0cc4dfd9666a82")
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

# func_to_fit takes X as input and returns np.sin(X)
# X should be a numpy array

# Create a small numpy array for testing
X = np.array([0, np.pi/2, np.pi, 3*np.pi/2])

ARGS = {
    'X': X
}
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
gt Ran
ran; our contract draft was wrong, not the code
rose-stl-lab/autostpp/src/utils.py
code served (permissive licence) · get_code("4273f12350cbac18")
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 (1001,) 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

# Define a simple lambda function that takes time t and history his_t
# and returns a tuple/list where the first element is the intensity value
def lamb_func(t, his_t):
    """
    Simple lambda function that returns intensity based on time and history.
    Returns a list/tuple where first element is the intensity value.
    """
    # Compute a simple intensity: base rate plus contribution from history
    intensity = 0.5 + 0.3 * np.sum(np.exp(-t + his_t))
    return [intensity]

# Create a small history array
his_t = np.array([0.1, 0.2, 0.3, 0.4, 0.5])

ARGS = {
    "lamb_func": lamb_func,
    "his_t": his_t
}
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 (1001,) — shape (1001,) 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
lamb_func Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rose-stl-lab/autostpp/src/demo/AlternatingMLE.py
code served (permissive licence) · get_code("30fbe30e23a189c0")
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 numpy as np

# Construct valid arguments for lamb_func
# The function expects:
# - t: a scalar time value
# - his_t: an array of historical time values where some are less than t

# Create a simple historical time array with multiple values
# Some less than t, some greater than or equal to t
his_t = np.array([0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8])

# Create a current time t that is greater than some values in his_t
t = 1.0

ARGS = {
    "t": t,
    "his_t": his_t
}
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 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
lamb_func Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rose-stl-lab/autostpp/src/demo/CorrectingMLE.py
code served (permissive licence) · get_code("b88c69bbb1b274cf")
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 numpy as np

# Analyze the function:
# - t: a scalar (time point)
# - his_t: an array of historical time points that will be compared with t

# Create test data
t = 5.0  # current time point
his_t = np.array([1.0, 2.5, 3.8, 4.2])  # historical time points, all less than t

ARGS = {
    "t": t,
    "his_t": his_t
}
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 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
load_class Ran
ran; our contract draft was wrong, not the code
rose-stl-lab/autostpp/src/tune.py
code served (permissive licence) · get_code("9a92dd455b5e3682")
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 type. 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
import torch

torch.manual_seed(0)

# The function load_class takes a full_class_string parameter
# It splits the string by '.', extracts module path and class name,
# imports the module, and returns the class object via getattr.

# We need to provide a valid full_class_string that points to an actual class
# Let's use a built-in class that exists in the standard library
# For example: 'collections.Counter' or 'pathlib.Path'

full_class_string = "collections.Counter"

ARGS = {
    "full_class_string": full_class_string
}
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 type — a type output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a type 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
nll Ran
ran; our contract draft was wrong, not the code
rose-stl-lab/autostpp/src/demo/AlternatingMLE.py
code served (permissive licence) · get_code("9d4910533c76cd3b")
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 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 torch

torch.manual_seed(0)

# his_t: a 1D tensor of event times (increasing order)
# The function expects N events, and uses masking with even/odd indices
# We need at least 2 events for the lower triangular operations
his_t = torch.tensor([0.5, 1.2, 2.1, 3.5], dtype=torch.float32)

# alpha: scalar or tensor, controls excitatory/inhibitory coupling strength
alpha = torch.tensor(0.8, dtype=torch.float32)

# beta: scalar, exponential decay rate for excitatory component
beta = torch.tensor(1.5, dtype=torch.float32)

# mu: scalar, baseline intensity
mu = torch.tensor(0.3, dtype=torch.float32)

# zeta: scalar, exponential decay rate for inhibitory component
zeta = torch.tensor(2.0, dtype=torch.float32)

# c0, c1, c2: scalar coefficients for the polynomial in inhibitory term
c0 = torch.tensor(0.1, dtype=torch.float32)
c1 = torch.tensor(0.2, dtype=torch.float32)
c2 = torch.tensor(0.15, dtype=torch.float32)

ARGS = {
    "his_t": his_t,
    "alpha": alpha,
    "beta": beta,
    "mu": mu,
    "zeta": zeta,
    "c0": c0,
    "c1": c1,
    "c2": c2,
}
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 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
plus Ran
ran, honoured the contract we drafted
rose-stl-lab/autostpp/src/demo/CorrectingMLE.py
code served (permissive licence) · get_code("a7e351cdbfa22627")
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, 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 torch
import numpy as np

torch.manual_seed(0)

# The function 'plus' takes a single parameter 'x' and applies a relu-like operation
# with a small positive shift. It expects x to be a tensor (or array-like).
# Let's create a small tensor with both positive, negative, and near-zero values.

x = torch.randn(2, 4)

ARGS = {
    "x": x
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 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
relu Ran
ran, honoured the contract we drafted
rose-stl-lab/autostpp/src/demo/CorrectingMLE.py
code served (permissive licence) · get_code("5af8fa537914ff3d")
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, 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 torch

torch.manual_seed(0)

# Create a small tensor for testing the relu function
x = torch.randn(2, 4)

ARGS = {
    "x": x
}
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 (2, 4) — shape (2, 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
chebyCoef Not yet run
unverified (harvested, no recorded run)
rose-stl-lab/autostpp/src/integration/cheb.py
code served (permissive licence) · get_code("db4be29409244983")
How it ran

no invocation recorded.

chebyInt Not yet run
unverified (harvested, no recorded run)
rose-stl-lab/autostpp/src/integration/cheb.py
code served (permissive licence) · get_code("7c7d498c7c56d63e")
How it ran

no invocation recorded.

cli_main Not yet run
unverified (harvested, no recorded run)
rose-stl-lab/autostpp/src/tune.py
code served (permissive licence) · get_code("b6d4bf78825731b8")
How it ran

no invocation recorded.

f_approx Not yet run
unverified (harvested, no recorded run)
rose-stl-lab/autostpp/src/integration/cheb.py
code served (permissive licence) · get_code("afcce0d877252976")
How it ran

no invocation recorded.

get_device Not yet run
unverified (harvested, no recorded run)
rose-stl-lab/autostpp/src/utils.py
code served (permissive licence) · get_code("006cc07a52cd3b95")
How it ran

no invocation recorded.

train Not yet run
unverified (harvested, no recorded run)
rose-stl-lab/autostpp/src/demo/AutoInt.py
code served (permissive licence) · get_code("2a2010f87eabbc94")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 14 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
relu 5 other papers
4 dated earlier, 1 later
1907.10599 (2019-07)
A Fine-Grained Spectral Perspective on Neural Networks
2003.04884 (2020-03)
Cryptanalytic Extraction of Neural Network Models
2006.04647 (2020-06)
Neural Architecture Search without Training
and 2 more not named here

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

Learning continuous-time point processes is essential to many discrete event forecasting tasks. However, integration poses a major challenge, particularly for spatiotemporal point processes (STPPs), as it involves calculating the likelihood through triple integrals over space and time. Existing methods for integrating STPP either assume a parametric form of the intensity function, which lacks flexibility; or approximating the intensity with Monte Carlo sampling, which introduces numerical errors. Recent work by Omi et al. [2019] proposes a dual network approach for efficient integration of flexible intensity function. However, their method only focuses on the 1D temporal point process. In this paper, we introduce a novel paradigm: AutoSTPP (Automatic Integration for Spatiotemporal Neural Point Processes) that extends the dual network approach to 3D STPP. While previous work provides a foundation, its direct extension overly restricts the intensity function and leads to computational challenges. In response, we introduce a decomposable parametrization for the integral network using ProdNet. This approach, leveraging the product of simplified univariate graphs, effectively sidesteps the computational complexities inherent in multivariate computational graphs. We prove the consistency of AutoSTPP and validate it on synthetic data and benchmark real-world datasets. AutoSTPP shows a significant advantage in recovering complex intensity functions from irregular spatiotemporal events, particularly when the intensity is sharply localized. Our code is open-source at https://github.com/Rose-STL-Lab/AutoSTPP.

For agents

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

get_harvested_code_for_paper("2310.06179")
get_code_for_paper("2310.06179")
have("2310.06179")

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

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

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

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

Connect an agent — have() is free.