SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2607.18316 · 2026

Binding Drift in Multi-Step Tool-Augmented Agents

Rahul Suresh Babu

arXiv · PDF · Open in the Atlas

Code that ran

16 of 17 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 1 has no contract verdict; 12 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/2607.18316.json · badge: /api/ran/2607.18316.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
shashank-indukuri/binding-drift canonical (classifier label)
classifier basis: census
16 ran · 1 no recorded run
FunctionStatusWhere it lives
distractor Ran
ran; our contract draft was wrong, not the code
shashank-indukuri/binding-drift/code/mock_run.py
code served (permissive licence) · get_code("8c1c61144a33359c")
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

# Analyze the function:
# distractor(wf) expects a dict 'wf' with:
# - 'base_entities': list of dicts, each with 'id' key
# - 'target_entity_id': a value to compare against entity ids

# Create a valid wf dict
wf = {
    'base_entities': [
        {'id': 'entity_1'},
        {'id': 'entity_2'},
        {'id': 'entity_3'}
    ],
    'target_entity_id': 'entity_1'
}

ARGS = {
    'wf': wf
}
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
doc Ran
ran; our contract draft was wrong, not the code
shashank-indukuri/binding-drift/code/generate_200_workflows.py
code served (permissive licence) · get_code("9d69103e9d65b886")
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 torch

torch.manual_seed(0)

ARGS = {
    'did': 'doc_123',
    'title': 'Sample Document',
    'owner': 'user_456',
    'md': {'created': '2024-01-01', 'version': 1, 'tags': ['important', 'archived']}
}
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 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
event Ran
ran; our contract draft was wrong, not the code
shashank-indukuri/binding-drift/code/generate_200_workflows.py
code served (permissive licence) · get_code("195458c6d0492bb3")
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 torch
import numpy as np
from datetime import datetime

torch.manual_seed(0)

# Construct arguments for the event function
eid = "evt_12345"
title = "Team Meeting"
time = datetime(2024, 1, 15, 10, 30, 0)
md = {
    "location": "Conference Room A",
    "attendees": 8,
    "duration_minutes": 60,
    "recurring": False
}

ARGS = {
    "eid": eid,
    "title": title,
    "time": time,
    "md": md
}
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 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
f Ran
ran, honoured the contract we drafted
shashank-indukuri/binding-drift/code/aggregate_results.py
code served (permissive licence) · get_code("bf2af8fba1d08847")
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 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 numpy as np

torch.manual_seed(0)

# The function f takes a dict 'row' and a key 'k'
# It calls row.get(k, '') to retrieve a value
# It then converts to float if the value is not '', 'None', or None
# Otherwise returns 0.0

# Create a sample row dict with various types of values
row = {
    'price': '19.99',
    'quantity': '5',
    'discount': '',
    'tax': 'None',
    'shipping': None,
    'weight': '2.5'
}

# Use a key that exists in the dict
k = 'price'

ARGS = {
    'row': row,
    'k': k
}
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 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
fnum Ran
ran, honoured the contract we drafted
shashank-indukuri/binding-drift/code/aggregate_injection.py
code served (permissive licence) · get_code("dfda7c89d9a1ecb9")
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 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 numpy as np

torch.manual_seed(0)

# Analyze the function:
# fnum(r, k) takes:
# - r: a dict-like object (calls .get(k, ''))
# - k: a key to look up in r

# The function looks up k in dict r with default '', converts to float if not empty/None
# So we need a dict r and a key k

ARGS = {
    'r': {'temperature': '0.7', 'learning_rate': '0.001', 'threshold': 'None', 'unused': ''},
    'k': 'temperature'
}
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 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
load Ran
ran; our contract draft was wrong, not the code
shashank-indukuri/binding-drift/code/plot_drift_curve.py
code served (permissive licence) · get_code("b9df9a3d522d5886")
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 defaultdict. 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 csv
import os

# Create a temporary CSV file with test data
temp_dir = tempfile.mkdtemp()
csv_path = os.path.join(temp_dir, "test_data.csv")

# Write test CSV data
with open(csv_path, 'w', newline='') as f:
    writer = csv.DictWriter(f, fieldnames=['config', 'action_step_index', 'wrong_entity_rate'])
    writer.writeheader()
    writer.writerow({'config': 'config_a', 'action_step_index': '1', 'wrong_entity_rate': '0.1'})
    writer.writerow({'config': 'config_a', 'action_step_index': '2', 'wrong_entity_rate': '0.2'})
    writer.writerow({'config': 'config_b', 'action_step_index': '1', 'wrong_entity_rate': '0.15'})
    writer.writerow({'config': 'config_b', 'action_step_index': '3', 'wrong_entity_rate': '0.25'})

ARGS = {
    'path': csv_path
}
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 defaultdict — a defaultdict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a defaultdict 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
load Ran
ran; our contract draft was wrong, not the code
shashank-indukuri/binding-drift/code/aggregate_injection.py
code served (permissive licence) · get_code("97e8613d5c06d26e")
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 tempfile
import csv
import os

# Create temporary CSV files with sample data
temp_dir = tempfile.mkdtemp()

# Create first CSV file
csv_file_1 = os.path.join(temp_dir, "data1.csv")
with open(csv_file_1, 'w', newline='') as f:
    writer = csv.DictWriter(f, fieldnames=['id', 'name', 'value'])
    writer.writeheader()
    writer.writerow({'id': '1', 'name': 'alice', 'value': '10'})
    writer.writerow({'id': '2', 'name': 'bob', 'value': '20'})

# Create second CSV file
csv_file_2 = os.path.join(temp_dir, "data2.csv")
with open(csv_file_2, 'w', newline='') as f:
    writer = csv.DictWriter(f, fieldnames=['id', 'name', 'value'])
    writer.writeheader()
    writer.writerow({'id': '3', 'name': 'charlie', 'value': '30'})

ARGS = {
    'paths': [csv_file_1, csv_file_2]
}
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 Ran
ran; our contract draft was wrong, not the code
shashank-indukuri/binding-drift/code/aggregate_results.py
code served (permissive licence) · get_code("10f27ef9b30f3839")
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 argparse
import csv
import json
import os
import tempfile

# Create a temporary CSV file with sample data
temp_dir = tempfile.mkdtemp()
csv_path = os.path.join(temp_dir, "test_data.csv")

with open(csv_path, 'w', newline='') as f:
    writer = csv.DictWriter(f, fieldnames=['name', 'value', 'score'])
    writer.writeheader()
    writer.writerow({'name': 'item1', 'value': '10.5', 'score': '0.8'})
    writer.writerow({'name': 'item2', 'value': '', 'score': 'None'})
    writer.writerow({'name': 'item3', 'value': '20.3', 'score': '0.9'})

ARGS = {
    'path': csv_path
}
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_workflows Ran
ran; our contract draft was wrong, not the code
shashank-indukuri/binding-drift/code/run_drift_experiment.py
code served (permissive licence) · get_code("2d8f99924bd2146b")
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 json
import tempfile
import os
from typing import Any, Dict, List

# Create a temporary file with valid JSONL content
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.jsonl')
temp_path = temp_file.name

# Write sample workflow dictionaries as JSON lines
workflows = [
    {"name": "workflow1", "steps": ["step1", "step2"]},
    {"name": "workflow2", "steps": ["step3"]},
    {"name": "workflow3", "config": {"param": "value"}}
]

for workflow in workflows:
    temp_file.write(json.dumps(workflow) + '\n')

temp_file.close()

# Define ARGS with the path parameter
ARGS = {
    "path": temp_path
}
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
modkey Ran
ran; our contract draft was wrong, not the code
shashank-indukuri/binding-drift/code/aggregate_injection.py
code served (permissive licence) · get_code("b326f003f7b8683d")
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

torch.manual_seed(0)

def modkey(m):
    MODEL_ORDER = ['nova-micro', 'llama3-1-8b', 'nova-2-lite', 'claude-haiku', 'llama3-3-70b', 'nova-premier', 'claude-sonnet', 'claude-opus']
    for k in MODEL_ORDER:
        if k in m:
            return k
    return m.split('.')[-1][:18]

ARGS = {
    'm': 'nova-micro-model.pt'
}
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 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
pct Ran
ran, honoured the contract we drafted
shashank-indukuri/binding-drift/code/aggregate_results.py
code served (permissive licence) · get_code("6491399bb73b34a7")
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 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 numpy as np

torch.manual_seed(0)

# The function pct(num, den) takes two numeric arguments and computes a percentage.
# It multiplies num by 100.0, divides by den, and rounds to 1 decimal place.
# It handles the case where den is 0 by returning 0.0.

# num and den should be numeric values (int or float)
num = 42
den = 100

ARGS = {
    "num": num,
    "den": den
}
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 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
person Ran
ran on a synthesized input
shashank-indukuri/binding-drift/code/generate_200_workflows.py
code served (permissive licence) · get_code("e40ef66ffa72bb13")
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 torch

torch.manual_seed(0)

ARGS = {
    'pid': 1,
    'name': 'Alice Johnson',
    'email': 'alice@example.com',
    'md': {'department': 'Engineering', 'level': 'Senior', 'active': True}
}
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 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
pseudo_model Ran
ran; our contract draft was wrong, not the code
shashank-indukuri/binding-drift/code/mock_run.py
code served (permissive licence) · get_code("0c5efda80efed6ed")
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 torch
import numpy as np

torch.manual_seed(0)

# Build the wf (workflow) dict
wf = {
    'base_entities': [
        {'id': 'entity_1'},
        {'id': 'entity_2'},
        {'id': 'entity_3'},
    ],
    'target_entity_id': 'entity_1',
    'drift_pattern': 'D1_anaphora',
}

# Build the step dict
step = {
    'gold_bindings': {
        'slot_a': 'entity_1',
        'slot_b': 'entity_2',
    },
    'gold_tool': 'tool_x',
    'carry_slot': 'slot_a',
}

# Build arguments
step_arg = step
action_i = 1
n_action = 3
config = {'learning_rate': 0.001, 'batch_size': 2}
h = 5

ARGS = {
    'wf': wf,
    'step': step_arg,
    'action_i': action_i,
    'n_action': n_action,
    'config': config,
    'h': h,
}
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 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
score_step Ran
ran; our contract draft was wrong, not the code
shashank-indukuri/binding-drift/code/environment.py
code served (permissive licence) · get_code("6e3bb9f17b8cd060")
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 torch
import numpy as np

ARGS = {
    'step': {
        'carry_slot': 'container',
        'gold_tool': 'gripper',
        'gold_bindings': {'container': 'bin_1', 'item': 'obj_5'},
        'risk': 'high',
        'drift_possible': True
    },
    'eff_pred': {
        'decision': 'ACT',
        'tool': 'gripper',
        'bindings': {'container': 'bin_1', 'item': 'obj_5'},
        '_defense_events': {'event_1': 'logged'}
    }
}
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 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
score_workflow Ran
ran; our contract draft was wrong, not the code
shashank-indukuri/binding-drift/code/environment.py
code served (permissive licence) · get_code("26b498461e614d0f")
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 torch
import numpy as np

# Construct wf (workflow dict) with required keys
wf = {
    'workflow_id': 'wf_001',
    'domain': 'search',
    'drift_pattern': 'no_drift',
    'n_steps': 3,
    'target_entity_id': 'entity_42'  # Not 'NEEDS_CLARIFICATION'
}

# Construct step_scores (list of per-step score dicts)
step_scores = [
    {
        'is_action_step': True,
        'clarified': 0,
        'acted': 1,
        'tool_correct': 1,
        'entity_correct': 1,
        'wrong_entity': 0,
        'step_success': 1,
        'needs_clarification': 0,
        'risk_weighted_wrong_entity': 0.0
    },
    {
        'is_action_step': True,
        'clarified': 0,
        'acted': 1,
        'tool_correct': 1,
        'entity_correct': 1,
        'wrong_entity': 0,
        'step_success': 1,
        'needs_clarification': 0,
        'risk_weighted_wrong_entity': 0.0
    },
    {
        'is_action_step': False,
        'clarified': 0,
        'acted': 0,
        'tool_correct': 0,
        'entity_correct': 0,
        'wrong_entity': 0,
        'step_success': 1,
        'needs_clarification': 0,
        'risk_weighted_wrong_entity': 0.0
    }
]

ARGS = {
    'wf': wf,
    'step_scores': step_scores
}
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 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
visible_tools Ran
ran; our contract draft was wrong, not the code
shashank-indukuri/binding-drift/code/run_drift_experiment.py
code served (permissive licence) · get_code("3739cf351f691254")
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 torch

torch.manual_seed(0)

# The function accesses wf['tools'], so wf must be a dict with a 'tools' key
# The step parameter is used but not accessed in any way (just passed)
# We need to provide valid values for both parameters

step = 0

wf = {
    'tools': ['tool1', 'tool2', 'tool3']
}

ARGS = {
    'step': step,
    'wf': wf
}
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 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
apply_defenses Not yet run
unverified (harvested, no recorded run)
shashank-indukuri/binding-drift/code/environment.py
code served (permissive licence) · get_code("9950bd7b3228cab7")
How it ran

no invocation recorded.

Also present in other papers' code

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

Tool-augmented language-model agents execute multi-step workflows over external systems, resolving an entity once and then acting on it across subsequent steps. Prior work shows that in single-step actions, agents select the correct tool but bind it to the wrong entity 24-26% of the time [1]. We study what happens to entity bindings over time: do they stay correct, silently drift to a different entity, or, if wrong from the start, propagate and compound? We formalize binding drift (correct at step 1, wrong later) as distinct from error propagation (wrong at step 1, carried forward), and score them on disjoint workflow sets so the two cannot be conflated. In a controlled multi-step testbed (200 workflows, 580 entity-bindingscored steps, four enterprise domains, eight model backends spanning small to frontier), we find: (1) under controlled error injection, an entity lock (the intuitive "persist the first binding" fix) amplifies wrong actions from 907 to 2,746 (3.0×; bootstrap 95% CI [2.8, 3.3]), because it faithfully carries the seeded wrong entity into every later step; (2) the amplification reaches 8.5× on the most affected model (Claude Opus 4.5); (3) a practical LLM-based re-verifier (a single cheap second model call re-reading the original instruction) reduces wrong actions by 79% (0.21×; CI [0.18, 0.25]), closing the gap to within 1 percentage point of an oracle upper-bound (0.20×); and (4) in the natural (non-injected) setting, baseline agents drift on 18% of eligible workflows, with the per-step error rate rising across steps. Persistence and re-verification are not interchangeable: a defense that eliminates drift can worsen propagation, and a practical re-verifier nearly matches oracle recovery. * Equal contribution. Preprint. Under review.

For agents

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

get_harvested_code_for_paper("2607.18316")
get_code_for_paper("2607.18316")
have("2607.18316")

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

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

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

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

Connect an agent — have() is free.