SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1802.08705 · 2018

PDDLStream: Integrating Symbolic Planners and Blackbox Samplers via Optimistic Adaptive Planning

arXiv · PDF · Open in the Atlas

Code that ran

10 of 11 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 9 have no contract verdict; 1 failure 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/1802.08705.json · badge: /api/ran/1802.08705.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
jingxixu/pddlstream community (classifier label)
classifier basis not recorded on the link
9 ran · 1 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
get_partial_orders Ran
ran on a synthesized input
jingxixu/pddlstream/pddlstream/algorithms/reorder.py
code served (permissive licence) · get_code("d386e900a8e909c7")
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 set. 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 torch.nn as nn

torch.manual_seed(0)

class StreamInstance:
    def __init__(self, domain):
        self.domain = domain
    
    def get_domain(self):
        return self.domain

class Stream:
    def __init__(self, certified, instance):
        self.certified = certified
        self.instance = instance
    
    def get_certified(self):
        return self.certified

# Create some test streams with partial ordering relationships
instance1 = StreamInstance(['a', 'b', 'c'])
stream1 = Stream(['x', 'y'], instance1)

instance2 = StreamInstance(['y', 'z', 'd'])
stream2 = Stream(['p', 'q'], instance2)

instance3 = StreamInstance(['m', 'n', 'o'])
stream3 = Stream(['r', 's'], instance3)

stream_plan = [stream1, stream2, stream3]

ARGS = {
    'stream_plan': stream_plan
}
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 set — a set output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a set 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
get_predicates Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from caelan/pddlstream
pointer only; the stored copy get_code serves, from caelan/pddlstream, is pointer only (licence: GPL-3.0) · get_code("f9962248d6dc12ab")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_stream_plan_index Ran
ran on a synthesized input
jingxixu/pddlstream/pddlstream/algorithms/skeleton.py
code served (permissive licence) · get_code("f937fe9c781274f6")
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 int, ndim 0, dtype family int, 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

class StreamRecord:
    def __init__(self, opt_index):
        self.opt_index = opt_index

# Test case 1: empty stream_plan
stream_plan_empty = []

# Test case 2: stream_plan with multiple records
record1 = StreamRecord(opt_index=5)
record2 = StreamRecord(opt_index=3)
record3 = StreamRecord(opt_index=8)
stream_plan_with_records = [record1, record2, record3]

# Using the non-empty case for ARGS
ARGS = {
    "stream_plan": stream_plan_with_records
}
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 int, ndim 0, dtype family int, 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
get_stream_stats Ran
ran on a synthesized input
jingxixu/pddlstream/pddlstream/algorithms/reorder.py
code served (permissive licence) · get_code("ffccf7fdccad26de")
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 torch
import torch.nn as nn

torch.manual_seed(0)

class MockInstance:
    def __init__(self):
        self.p_success = 0.85
        self.overhead = 0.12
    
    def get_p_success(self):
        return self.p_success
    
    def get_overhead(self):
        return self.overhead

class MockResult:
    def __init__(self):
        self.instance = MockInstance()

result = MockResult()

ARGS = {
    "result": result
}
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, 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
has_costs Ran
ran on a synthesized input
jingxixu/pddlstream/pddlstream/algorithms/algorithm.py
code served (permissive licence) · get_code("ada270c18a73f7a5")
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 torch

class Action:
    def __init__(self, cost=None):
        self.cost = cost

class Domain:
    def __init__(self, actions):
        self.actions = actions

# Test case 1: domain with actions that have costs
domain_with_costs = Domain([
    Action(cost=1.0),
    Action(cost=None),
    Action(cost=2.5)
])

# Test case 2: domain with actions that have no costs
domain_without_costs = Domain([
    Action(cost=None),
    Action(cost=None)
])

ARGS = {
    "domain": domain_with_costs
}
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 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
int_ceil Ran
ran on a synthesized input
jingxixu/pddlstream/pddlstream/utils.py
code served (permissive licence) · get_code("6de4f21b08e390ac")
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 int, ndim 0, dtype family int, 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 math

def int_ceil(f):
    return int(math.ceil(f))

ARGS = {
    'f': 3.7
}
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 int, ndim 0, dtype family int, 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
is_double_bound Ran
ran on a synthesized input
jingxixu/pddlstream/pddlstream/algorithms/skeleton.py
code served (permissive licence) · get_code("21ff56b68452baf9")
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; no output shape is stated. It ran in syntology-harvest-sandbox:v5-deps (sha256:6a292aa1aed1) at 2026-09-26T21:52:49Z. 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

torch.manual_seed(0)

# Create a minimal stream_instance class with input_objects attribute
class StreamInstance:
    def __init__(self, input_objects):
        self.input_objects = input_objects

# Test case 1: stream_instance with some input objects
stream_instance = StreamInstance(input_objects=['obj_a', 'obj_b', 'obj_c', 'obj_d'])

# Test case 2: double_bindings dict mapping objects to binding values
# This creates a scenario where we can test for double binding
double_bindings = {
    'obj_a': 'binding_1',
    'obj_b': 'binding_2',
    'obj_c': 'binding_1',  # Same binding as obj_a - creates a duplicate
    'obj_d': 'binding_3'
}

ARGS = {
    'stream_instance': stream_instance,
    'double_bindings': double_bindings
}
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 bool, ndim 0, dtype family float — no output shape is stated: no later run recorded an output shape for this sample (observed_output and metamorphic_properties carry none; shape_contract and output_contract record ndim only)
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 syntology-harvest-sandbox:v5-deps (sha256:6a292aa1aed1); 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
plan_preimage Ran
ran on a synthesized input
jingxixu/pddlstream/pddlstream/algorithms/scheduling/relaxed.py
code served (permissive licence) · get_code("5562c34a4ff171c5")
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 set. 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 sys

# Mock pddl module since we can't import the real one
class MockPDDL:
    class PropositionalAction:
        def __init__(self, precondition, add_effects, del_effects):
            self.precondition = precondition
            self.add_effects = add_effects
            self.del_effects = del_effects
    
    class PropositionalAxiom:
        def __init__(self, condition, effect):
            self.condition = condition
            self.effect = effect

# Register mock pddl module
sys.modules['pddl'] = MockPDDL()

# Create test data
action1 = MockPDDL.PropositionalAction(
    precondition={'at_A', 'holding_key'},
    add_effects=[],
    del_effects=[]
)

action2 = MockPDDL.PropositionalAction(
    precondition={'at_B'},
    add_effects=[],
    del_effects=[]
)

axiom1 = MockPDDL.PropositionalAxiom(
    condition={'at_A'},
    effect='can_proceed'
)

plan = [action2, axiom1, action1]
goal = {'door_open', 'at_C'}

ARGS = {
    'plan': plan,
    'goal': goal
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pddl — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type set — a set output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a set 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
read Ran
ran on a synthesized input
jingxixu/pddlstream/pddlstream/utils.py
code served (permissive licence) · get_code("37d549f907d5280f")
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 tempfile
import os

# Create a temporary file with some content
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt')
temp_file.write("Hello, World!\nThis is a test file.\n")
temp_file.close()

ARGS = {
    'filename': temp_file.name
}
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
read_pickle Ran
ran on a synthesized input
jingxixu/pddlstream/pddlstream/utils.py
code served (permissive licence) · get_code("257cc63283c5f9a0")
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 pickle
import tempfile
import os

# Create a temporary pickle file with some test data
test_data = {"key": "value", "number": 42, "list": [1, 2, 3]}

# Create a temporary directory and file
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test.pkl")

# Write the test data to the pickle file
with open(temp_file, 'wb') as f:
    pickle.dump(test_data, f)

# Define ARGS with the filename parameter
ARGS = {
    "filename": temp_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 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
instantiate_axioms Not yet run
unverified (harvested, no recorded run)
jingxixu/pddlstream/pddlstream/algorithms/scheduling/relaxed.py
code served (permissive licence) · get_code("62949c5f9f999a37")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 2 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 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.

FunctionAlso present inEarliest-datedOthers named
get_predicates 1 other paper
1 dated earlier
1701.00287 (2017-01)
STRIPS Planning in Infinite Domains
read_pickle 1 other paper
1 later
aaai_17247 (2021 (year only))
Physics-constrained Automatic Feature Engineering for Predictive Modeling in Materials Science

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

Many planning applications involve complex relationships defined on high-dimensional, continuous variables. For example, robotic manipulation requires planning with kinematic, collision, visibility, and motion constraints involving robot configurations, object poses, and robot trajectories. These constraints typically require specialized procedures to sample satisfying values. We extend PDDL to support a generic, declarative specification for these procedures that treats their implementation as black boxes. We provide domain-independent algorithms that reduce PDDLStream problems to a sequence of finite PDDL problems. We also introduce an algorithm that dynamically balances exploring new candidate plans and exploiting existing ones. This enables the algorithm to greedily search the space of parameter bindings to more quickly solve tightly-constrained problems as well as locally optimize to produce low-cost solutions. We evaluate our algorithms on three simulated robotic planning domains as well as several real-world robotic tasks.

For agents

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

get_harvested_code_for_paper("1802.08705")
get_code_for_paper("1802.08705")
have("1802.08705")

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

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

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

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

Connect an agent — have() is free.