SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2002.11807 · 2020

GLAS: Global-to-Local Safe Autonomy Synthesis for Multi-Robot Motion Planning with End-to-End Learning

arXiv · PDF · Open in the Atlas

Code that ran

3 of 4 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 0 failures of our instrument; 1 no recorded run), measured 2026-11-22; 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/2002.11807.json · badge: /api/ran/2002.11807.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
bpriviere/glas canonical (classifier label)
classifier basis: classifier_2025
3 ran · 1 no recorded run
FunctionStatusWhere it lives
load_instance Ran
ran, honoured the contract we drafted
bpriviere/glas/code/examples/run_singleintegrator.py
code served (permissive licence) · get_code("b4a5a0c1178f5d76")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned InitialState. 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 tempfile
import os
from collections import namedtuple

# Create a temporary YAML file with valid map data
yaml_content = """
agents:
  - start: [0, 0]
    goal: [3, 3]
  - start: [1, 1]
    goal: [4, 4]
map:
  dimensions: [5, 5]
  obstacles:
    - [2, 2]
    - [3, 2]
"""

# Write to a temporary file
temp_file = tempfile.NamedTemporaryFile(mode='w', suffix='.yaml', delete=False)
temp_file.write(yaml_content)
temp_file.close()

# Create a minimal param object
class Param:
    def __init__(self):
        self.default_instance = 'default.yaml'
        self.n_agents = 0

param = Param()

# Create a minimal env object
class Env:
    def __init__(self):
        self.obstacles = []
    
    def reset_param(self, param):
        pass

env = Env()

# Use the temporary file path as instance
instance = temp_file.name

ARGS = {
    'param': param,
    'env': env,
    'instance': instance
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
numpy, yaml — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type InitialState — a InitialState output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a InitialState 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_loader Ran
ran, honoured the contract we drafted
bpriviere/glas/code/train_il.py
code served (permissive licence) · get_code("050bf4cc34117ed0")
How it ran

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

torch.manual_seed(0)

# Create a temporary directory structure for the test data
temp_dir = tempfile.mkdtemp()
preprocessed_data_dir = os.path.join(temp_dir, "test_data")
os.makedirs(preprocessed_data_dir, exist_ok=True)

# Create mock batch files
# Each batch should have shape (num_samples, num_features)
# where the last 2 columns are y_data and the rest are x_data
name = "train"
num_samples_per_file = 10
num_features = 7  # 5 for x_data, 2 for y_data

# Create a couple of batch files
for i in range(2):
    batch_data = np.random.randn(num_samples_per_file, num_features).astype(np.float32)
    file_path = os.path.join(preprocessed_data_dir, f"batch_{name}_{i}.npy")
    np.save(file_path, batch_data)

# Create a param object with the required attribute
class Param:
    def __init__(self, preprocessed_data_dir):
        self.preprocessed_data_dir = preprocessed_data_dir

param = Param(os.path.basename(preprocessed_data_dir))

# Change to temp_dir so glob can find files with relative path
original_cwd = os.getcwd()
os.chdir(temp_dir)

batch_size = 3
device = torch.device("cpu")

ARGS = {
    "name": name,
    "batch_size": batch_size,
    "device": device,
    "param": param
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
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
train Ran
ran, honoured the contract we drafted
bpriviere/glas/code/train_il.py
code served (permissive licence) · get_code("f0dc37e6d72f2249")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned float, 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
import torch.nn as nn
import torch.optim as optim

torch.manual_seed(0)

# Create a simple model
class SimpleModel(nn.Module):
    def __init__(self):
        super(SimpleModel, self).__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

model = SimpleModel()

# Create optimizer
optimizer = optim.SGD(model.parameters(), lr=0.01)

# Create a simple data loader (list of (x, y) tuples)
loader = [
    (torch.randn(2, 4), torch.randn(2, 3)),
    (torch.randn(2, 4), torch.randn(2, 3)),
    (torch.randn(2, 4), torch.randn(2, 3))
]

# Create param and env (can be anything since they're not used in the function)
param = {}
env = {}

ARGS = {
    'param': param,
    'env': env,
    'model': model,
    'optimizer': optimizer,
    'loader': loader
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, 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
make_loader Not yet run
unverified (harvested, no recorded run)
bpriviere/glas/code/train_il.py
code served (permissive licence) · get_code("e3a5502bac018c1b")
How it ran

no invocation recorded.

Also present in other papers' code

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

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 GLAS: Global-to-Local Autonomy Synthesis, a provably-safe, automated distributed policy generation for multi-robot motion planning. Our approach combines the advantage of centralized planning of avoiding local minima with the advantage of decentralized controllers of scalability and distributed computation. In particular, our synthesized policies only require relative state information of nearby neighbors and obstacles, and compute a provably-safe action. Our approach has three major components: i) we generate demonstration trajectories using a global planner and extract local observations from them, ii) we use deep imitation learning to learn a decentralized policy that can run efficiently online, and iii) we introduce a novel differentiable safety module to ensure collision-free operation, thereby allowing for end-to-end policy training. Our numerical experiments demonstrate that our policies have a 20% higher success rate than optimal reciprocal collision avoidance, ORCA, across a wide range of robot and obstacle densities. We demonstrate our method on an aerial swarm, executing the policy on low-end microcontrollers in real-time.

For agents

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

get_harvested_code_for_paper("2002.11807")
get_code_for_paper("2002.11807")
have("2002.11807")

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

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

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

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

Connect an agent — have() is free.