SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1911.10298 · 2019

CoverNet: Multimodal Behavior Prediction using Trajectory Sets

arXiv · PDF · Open in the Atlas

Code that ran

8 of 8 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 8 have no contract verdict; 0 failures of our instrument; 0 no recorded run), measured 2026-11-24; 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/1911.10298.json · badge: /api/ran/1911.10298.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
continental/kiwissen-bayesian-trajectory-prediction community (classifier label)
classifier basis not recorded on the link
8 ran · 0 no recorded run
FunctionStatusWhere it lives
bipartition_error Ran
ran on a synthesized input
continental/kiwissen-bayesian-trajectory-prediction/bayes_covernet/tf/metrics.py
code served (permissive licence) · get_code("7e9ddbcff11320c5")
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 EagerTensor, ndim 1, dtype family float, shape (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 tensorflow as tf
import numpy as np

# Create small sample tensors for y_true and y_pred
batch_size = 2
num_features = 4

# y_true: binary labels (0 or 1) with shape (2, 4)
y_true = tf.constant([
    [1.0, 0.0, 1.0, 0.0],
    [0.0, 1.0, 1.0, 0.0]
], dtype=tf.float32)

# y_pred: prediction scores with shape (2, 4)
y_pred = tf.constant([
    [0.9, 0.2, 0.8, 0.1],
    [0.3, 0.7, 0.85, 0.15]
], dtype=tf.float32)

# mapper function that takes y_true and y_pred and returns them (identity mapper)
def sample_mapper(y_true, y_pred):
    """Simple identity mapper for testing"""
    return y_true, y_pred

ARGS = {
    "y_true": y_true,
    "y_pred": y_pred,
    "mapper": sample_mapper
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 1, dtype family float, shape (2,) — shape (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
class_nll Ran
ran on a synthesized input
continental/kiwissen-bayesian-trajectory-prediction/bayes_covernet/tf/metrics.py
code served (permissive licence) · get_code("454ac0be2d51d6f1")
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 EagerTensor, ndim 1, dtype family float, shape (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 tensorflow as tf
import numpy as np

# Set seed for reproducibility
np.random.seed(0)
tf.random.set_seed(0)

# Create small batch of ground truth labels (shape: [2, 4])
# Values are 0 or 1 indicating class membership
y_true = tf.constant([
    [1, 0, 1, 0],
    [0, 1, 0, 1]
], dtype=tf.float32)

# Create small batch of predictions (shape: [2, 4])
# Probabilities for each class
y_pred = tf.constant([
    [0.9, 0.1, 0.8, 0.2],
    [0.3, 0.7, 0.4, 0.6]
], dtype=tf.float32)

# Define a simple mapper function that takes y_true, y_pred and returns them
# The function signature shows it's called as mapper(y_true, y_pred)
def simple_mapper(y_true, y_pred):
    """Simple identity mapper for testing"""
    return y_true, y_pred

ARGS = {
    "y_true": y_true,
    "y_pred": y_pred,
    "cls_idx": 0,
    "mapper": simple_mapper
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 1, dtype family float, shape (2,) — shape (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
convert_to_rank Ran
ran on a synthesized input
continental/kiwissen-bayesian-trajectory-prediction/bayes_covernet/tf/metrics.py
code served (permissive licence) · get_code("fac769d4c5ee255d")
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 EagerTensor, 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 tensorflow as tf

# Create a small batch of continuous probability predictions
# Shape: (batch_size=2, num_items=4)
y_pred = tf.constant([
    [0.9, 0.1, 0.7, 0.3],
    [0.2, 0.8, 0.4, 0.6]
], dtype=tf.float32)

ARGS = {
    "y_pred": y_pred
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, 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
covernet_to_trajs Ran
ran on a synthesized input
continental/kiwissen-bayesian-trajectory-prediction/bayes_covernet/pytorch/model/models.py
code served (permissive licence) · get_code("ad10eb7c2e43062c")
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 torch

torch.manual_seed(0)

# y_true: ground truth labels/targets
y_true = torch.tensor([0, 1])

# y_pred: predicted scores/logits for each lattice index
y_pred = torch.tensor([[0.1, 0.9, 0.3, 0.2],
                       [0.5, 0.2, 0.8, 0.1]])

# lattice: a tensor where each row is a trajectory
# Shape: (num_lattice_points, trajectory_dim)
lattice = torch.randn(4, 5)

ARGS = {
    "y_true": y_true,
    "y_pred": y_pred,
    "lattice": lattice
}
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 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
displacement_error Ran
ran on a synthesized input
continental/kiwissen-bayesian-trajectory-prediction/bayes_covernet/pytorch/util.py
code served (permissive licence) · get_code("6535a9bfa94b1cc3")
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 (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 torch

torch.manual_seed(0)

# Create small tensors for y_true and y_pred
# y_true shape: (batch=2, num_agents=3, time_steps=5, coords=2)
# y_pred shape: (batch=2, num_agents=3, time_steps=5, coords=2)
batch_size = 2
num_agents = 3
time_steps = 5
coords = 2

y_true = torch.randn(batch_size, num_agents, time_steps, coords)
y_pred = torch.randn(batch_size, num_agents, time_steps, coords)

ARGS = {
    "y_true": y_true,
    "y_pred": y_pred,
    "final_only": False,
    "k": 1
}
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 (2,) — shape (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
mtp_to_trajs Ran
ran on a synthesized input
continental/kiwissen-bayesian-trajectory-prediction/bayes_covernet/pytorch/model/models.py
code served (permissive licence) · get_code("13e8b62a173ffe29")
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 torch

torch.manual_seed(0)

# Analyze the function to understand tensor shapes:
# - y_true: used as y_true.shape[0] (batch size) and y_true.shape[-2] (sequence length), y_true.shape[-1] = 2
# - y_pred: shape (batch, modes * sequence_length + modes), split into coords and mode logits
# - modes: integer used for reshaping

batch_size = 2
sequence_length = 4
modes = 3

# y_true shape: (batch_size, sequence_length, 2)
y_true = torch.randn(batch_size, sequence_length, 2)

# y_pred shape: (batch_size, modes * sequence_length + modes)
# The function does: y_pred[:, :-modes] (coordinates) and y_pred[:, -modes:] (mode logits)
# After reshape: (batch_size, modes, sequence_length, 2)
# So: modes * sequence_length + modes = batch_size * modes * sequence_length + modes
# Total features needed: modes * sequence_length * 2 + modes
num_pred_features = modes * sequence_length * 2 + modes
y_pred = torch.randn(batch_size, num_pred_features)

ARGS = {
    "y_true": y_true,
    "y_pred": y_pred,
    "modes": modes,
}
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 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
read_cached_parameterized Ran
ran on a synthesized input
continental/kiwissen-bayesian-trajectory-prediction/bayes_covernet/tf/dataloader/NuScenesDataLoader.py
code served (permissive licence) · get_code("78ad6422640cfe04")
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 function. 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 pickle
import numpy as np
from pathlib import Path
import tempfile

# Create a temporary directory for caching
temp_cache_dir = Path(tempfile.mkdtemp())

# Define a simple stand-in class that has the required attributes
class MockSelf:
    def __init__(self, cache_dir):
        self.cache_dir = cache_dir
    
    def get_instance_token(self):
        return "instance_001"
    
    def get_sample_token(self):
        return "sample_001"

# Create a filename function that generates unique filenames
def filename_fn(self, **kwargs):
    return f"{self.get_instance_token()}_{self.get_sample_token()}"

# Create a shape function that returns a shape tuple
def shape_fn(self):
    return (4, 3)

ARGS = {
    'filename_fn': filename_fn,
    'shape_fn': shape_fn,
    'dtype': np.float32
}
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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
trial_name_string Ran
ran on a synthesized input
continental/kiwissen-bayesian-trajectory-prediction/bayes_covernet/util/tune.py
code served (permissive licence) · get_code("f633693ac7bb8cdd")
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 torch
import numpy as np

# Create a minimal trial object that has evaluated_params attribute
class MockTrial:
    def __init__(self):
        self.evaluated_params = {
            'learning_rate': 0.001,
            'batch_size': 32,
            'hidden_dim': 128,
            'dropout': 0.5
        }

trial = MockTrial()

consider_keys = ['learning_rate', 'batch_size']

is_eval = False

ARGS = {
    'trial': trial,
    'consider_keys': consider_keys,
    'is_eval': is_eval
}
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 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

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 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 8 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-24.

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 present CoverNet, a new method for multimodal, probabilistic trajectory prediction for urban driving. Previous work has employed a variety of methods, including multimodal regression, occupancy maps, and 1-step stochastic policies. We instead frame the trajectory prediction problem as classification over a diverse set of trajectories. The size of this set remains manageable due to the limited number of distinct actions that can be taken over a reasonable prediction horizon. We structure the trajectory set to a) ensure a desired level of coverage of the state space, and b) eliminate physically impossible trajectories. By dynamically generating trajectory sets based on the agent's current state, we can further improve our method's efficiency. We demonstrate our approach on public, real-world self-driving datasets, and show that it outperforms state-of-the-art methods.

For agents

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

get_harvested_code_for_paper("1911.10298")
get_code_for_paper("1911.10298")
have("1911.10298")

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

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

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

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

Connect an agent — have() is free.