| 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 ranRan 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 ranRan 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 ranRan 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 ranRan 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 ranRan 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 ranRan 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 ranRan 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 ranRan 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 ranRan 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 ranRan 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 ranRan 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 ranRan 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 ranRan 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 ranRan 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 ranRan 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 ranRan 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 |