SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · openreview_9aU4vrHPKD

CoPE: A Framework for Optimizing Coordination between Planning and Execution in LLM-based Agents

Huaimin Wang, Qiang Wang, Kun Hu, Yuanzhao Zhai, Bo Ding, Feng Dawei, Huanxi Liu

OpenReview · Open in the Atlas

Code that ran

11 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; 0 honoured the contract we drafted, 0 violated it and 11 have no contract verdict; 0 failures of our instrument; 6 no recorded run), measured 2026-11-24; 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/openreview_9aU4vrHPKD.json · badge: /api/ran/openreview_9aU4vrHPKD.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
Octobrist/CoPE canonical (classifier label)
classifier basis: census
11 ran · 6 no recorded run
FunctionStatusWhere it lives
extract_conv Ran
ran on a synthesized input
Octobrist/CoPE/src/world/extract_plan_from_golden.py
code served (permissive licence) · get_code("eed29d6f76f1a489")
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 re

def parse_action(llm_output: str) -> str:
    llm_output = llm_output.strip()
    pattern = re.compile('Action:\\s?(.*)', re.DOTALL)
    try:
        action = re.findall(pattern, llm_output)[0]
    except:
        action = llm_output
    return action

def extract_conv(traj):
    assert traj is not None
    text = ''
    if traj is None:
        return text
    for i, t in enumerate(traj):
        if i <= 2:
            continue
        if i % 2 == 0:
            text += f"User: {t['content']}\n"
        else:
            tmp = parse_action(t['content'])
            if tmp is not None:
                text += f'Assistant: {tmp}\n'
            else:
                text += f"Assistant: {t['content']}\n"
    assert text != ''
    return text


# Build a trajectory - a list of dictionaries with 'content' keys
# Need at least 4 items (indices 0-3) to skip with "if i <= 2"
# Then alternating user/assistant messages starting from index 3
traj = [
    {'content': 'skip this 0'},
    {'content': 'skip this 1'},
    {'content': 'skip this 2'},
    {'content': 'What is 2+2?'},  # index 3, i % 2 == 1 (odd) - Assistant
    {'content': 'Action: calculate 2+2'},  # index 4, i % 2 == 0 (even) - User
    {'content': 'The answer is 4'},  # index 5, i % 2 == 1 (odd) - Assistant
    {'content': 'Thank you'},  # index 6, i % 2 == 0 (even) - User
]

ARGS = {
    'traj': traj
}
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
find_indices_of_consecutive_users Ran
ran on a synthesized input
Octobrist/CoPE/src/custom/analysis.py
code served (permissive licence) · get_code("61f27860131409c1")
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 int; 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

# The function expects a list where each element is a tuple/list
# where the first element (index 0) is a string containing 'user'
# The function checks consecutive pairs of elements in the list

# Create a list of tuples where each tuple has a string as first element
lst = [
    ('user_1_data', [1, 2, 3]),
    ('user_2_data', [4, 5, 6]),
    ('user_3_data', [7, 8, 9]),
    ('other_data', [10, 11, 12]),
    ('user_4_data', [13, 14, 15]),
    ('user_5_data', [16, 17, 18]),
]

ARGS = {
    'lst': lst
}
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 list, ndim 1, dtype family int — 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
get_avg_depth Ran
ran on a synthesized input
Octobrist/CoPE/src/custom/analysis.py
code served (permissive licence) · get_code("20a57aee86927056")
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.

# Analysis of get_avg_depth function:
# - Takes a single parameter: node
# - node is a dict with a 'state' key
# - node['state'] has a 'trajectories' key containing a list of trajectories
# - Each trajectory is either None or a list of tuples
# - Each tuple has [0] as a string (checked for 'user') and [1] as a string (checked for specific text)
# - For 'sciworld' dataset, it processes trajectories looking for consecutive 'user' entries

# Build a node dict matching the expected structure for 'sciworld' dataset

# Create a minimal trajectory for sciworld
# A trajectory is a list of tuples: (role_string, content_string)
trajectory_1 = [
    ('user', 'First question'),
    ('assistant', 'First answer'),
    ('user', 'Second question'),
    ('assistant', 'Second answer'),
]

trajectory_2 = [
    ('user', 'Question 1'),
    ('assistant', 'Answer 1'),
    ('user', 'Question 2'),
    ('assistant', 'Answer 2'),
    ('user', 'Question 3'),
    ('assistant', 'Answer 3'),
]

# For testing consecutive users case
trajectory_3 = [
    ('user', 'First'),
    ('user', 'Second - consecutive'),
    ('assistant', 'Response'),
    ('user', 'Third'),
    ('assistant', 'Response'),
]

node = {
    'state': {
        'trajectories': [
            trajectory_1,
            trajectory_2,
            trajectory_3,
        ]
    }
}

ARGS = {
    'node': node,
}
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 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
get_shortest_b_by_max_a Ran
ran on a synthesized input
Octobrist/CoPE/src/custom/llm-as-the-judge.py
code served (permissive licence) · get_code("82c011ea4c1b0c16")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

ARGS = {
    'A': [10, 5, 10, 3],
    'B': [['hello', 'world'], ['a'], ['short'], ['medium', 'length', 'string']]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
is_fully_explored Ran
ran on a synthesized input
Octobrist/CoPE/src/world/eto_exploration.py
code served (permissive licence) · get_code("445dbb054d44e4cf")
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.

class TreeNode:
    def __init__(self, reward, value, children=None):
        self.reward = reward
        self.value = value
        self.children = children if children is not None else []

# Test case 1: node with reward == 1 (should return True)
node1 = TreeNode(reward=1, value=0.5)

# Test case 2: node with no children and reward != 1 (should return False)
node2 = TreeNode(reward=0.3, value=0.5)

# Test case 3: node with children, all conditions satisfied for full exploration
child1 = TreeNode(reward=1, value=0.3)
child2 = TreeNode(reward=1, value=0.4)
node3 = TreeNode(reward=0.5, value=0.6, children=[child1, child2])

ARGS = {
    "node": node3
}
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 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
last_non_hello_index Ran
ran on a synthesized input
Octobrist/CoPE/src/custom/analysis.py
code served (permissive licence) · get_code("251dc8a02073071c")
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
import numpy as np

torch.manual_seed(0)

# Analyze the function:
# - last_non_hello_index takes a parameter 'lst'
# - It iterates through lst backwards
# - Each element lst[i] is indexed with [0] and [1], so it's a tuple-like structure
# - lst[i][0] is checked with 'user' in it (string containment)
# - lst[i][1] is checked with 'Observation: No known action matches that input.' not in it (string containment)
# - The function returns an index or len(lst) // 2

# Construct a valid lst: list of tuples where each tuple has two strings
lst = [
    ("user: hello", "Response: Hi there"),
    ("user: what is this", "Observation: No known action matches that input."),
    ("user: help me", "Response: Sure, I can help"),
    ("system: init", "Response: System ready"),
]

ARGS = {
    "lst": lst
}
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 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
load_all_json_from_dir Ran
ran on a synthesized input
Octobrist/CoPE/src/custom/llm-as-the-judge.py
code served (permissive licence) · get_code("6e92685974d001b2")
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 json
import tempfile
from pathlib import Path

# Create a temporary directory with some test JSON files
temp_dir = tempfile.mkdtemp()

# Create valid JSON files
json_file_1 = Path(temp_dir) / "config.json"
with open(json_file_1, 'w', encoding='utf-8') as f:
    json.dump({"model": "bert", "layers": 12}, f)

json_file_2 = Path(temp_dir) / "data.json"
with open(json_file_2, 'w', encoding='utf-8') as f:
    json.dump({"samples": [1, 2, 3], "labels": ["a", "b", "c"]}, f)

json_file_3 = Path(temp_dir) / "metadata.json"
with open(json_file_3, 'w', encoding='utf-8') as f:
    json.dump({"version": "1.0", "author": "test"}, f)

# Create an invalid JSON file (to test error handling)
invalid_json = Path(temp_dir) / "invalid.json"
with open(invalid_json, 'w', encoding='utf-8') as f:
    f.write("{invalid json content")

ARGS = {
    "directory": temp_dir
}
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
oai_moderation Ran
ran on a synthesized input
Octobrist/CoPE/src/fastchat/utils.py
code served (permissive licence) · get_code("427b521dd956b9ec")
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 os

# Set up a mock OpenAI API key in environment
os.environ['OPENAI_API_KEY'] = 'sk-test-key-12345'

# Define arguments for oai_moderation function
ARGS = {
    'text': 'This is a sample text to check for moderation.',
    'custom_thresholds': {
        'violence': 0.8,
        'hate': 0.7,
        'sexual': 0.6
    }
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
openai — 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
parse_action Ran
ran on a synthesized input
Octobrist/CoPE/src/world/extract_plan_from_golden.py
code served (permissive licence) · get_code("cea54f4f2666afeb")
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 re

def parse_action(llm_output: str) -> str:
    llm_output = llm_output.strip()
    pattern = re.compile('Action:\\s?(.*)', re.DOTALL)
    try:
        action = re.findall(pattern, llm_output)[0]
    except:
        action = llm_output
    return action

# Test case 1: llm_output with "Action:" pattern
llm_output_with_action = "Some text\nAction: do_something\nMore text"

ARGS = {
    "llm_output": llm_output_with_action
}
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_jsonl Ran
ran on a synthesized input
Octobrist/CoPE/src/custom/llm-as-the-judge.py
code served (permissive licence) · get_code("979fd42ef2935b6c")
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

# Create a temporary JSONL file for testing
temp_file = tempfile.NamedTemporaryFile(mode='w', suffix='.jsonl', delete=False, encoding='utf-8')
temp_file_path = temp_file.name

# Write test data to the temporary file
test_data = [
    '{"name": "Alice", "age": 30}',
    '{"name": "Bob", "age": 25}',
    '',  # empty line to test skipping
    '{"name": "Charlie", "age": 35}',
    'invalid json line',  # invalid JSON to test error handling
    '{"name": "Diana", "age": 28}',
]

for line in test_data:
    temp_file.write(line + '\n')

temp_file.close()

ARGS = {
    'file_path': temp_file_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
select_node Ran
ran on a synthesized input
Octobrist/CoPE/src/world/eto_exploration.py
code served (permissive licence) · get_code("c094d6b27d628cbd")
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 Node. 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.

class Node:
    def __init__(self, reward=0, value=0.5, parent=None):
        self.reward = reward
        self.value = value
        self.parent = parent
        self.children = []
        self.is_terminal = False
        self.visit_count = 1
    
    def uct(self):
        if self.visit_count == 0:
            return float('inf')
        exploitation = self.value
        exploration = 1.414 * (self.visit_count ** 0.5)
        return exploitation + exploration


root = Node(reward=0, value=0.5, parent=None)

child1 = Node(reward=0, value=0.3, parent=root)
child1.visit_count = 2

child2 = Node(reward=0, value=0.7, parent=root)
child2.visit_count = 1

grandchild1 = Node(reward=1, value=0.9, parent=child1)
grandchild1.visit_count = 3

grandchild2 = Node(reward=0, value=0.4, parent=child1)
grandchild2.visit_count = 1

child1.children = [grandchild1, grandchild2]
root.children = [child1, child2]

ARGS = {
    "node": root
}
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 Node — a Node output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Node 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
fschat_instruct_conv Not yet run
unverified (harvested, no recorded run)
Octobrist/CoPE/src/models_fschat.py
code served (permissive licence) · get_code("83cb3037b1a09b2c")
How it ran

no invocation recorded.

get_conv_template Not yet run
unverified (harvested, no recorded run)
Octobrist/CoPE/src/fastchat/conversation.py
code served (permissive licence) · get_code("0e29f2d151ce2bd7")
How it ran

no invocation recorded.

get_gpu_memory Not yet run
unverified (harvested, no recorded run)
Octobrist/CoPE/src/fastchat/utils.py
code served (permissive licence) · get_code("581b270244ffadd5")
How it ran

no invocation recorded.

get_quantization_config Not yet run
unverified (harvested, no recorded run)
Octobrist/CoPE/src/HALOs/launch.py
code served (permissive licence) · get_code("a144dec2eb7a753a")
How it ran

no invocation recorded.

get_response Not yet run
unverified (harvested, no recorded run)
Octobrist/CoPE/src/models_fschat.py
code served (permissive licence) · get_code("45b4efeb901105d6")
How it ran

no invocation recorded.

get_worker_address Not yet run
unverified (harvested, no recorded run)
Octobrist/CoPE/src/models_fschat.py
code served (permissive licence) · get_code("35c5d61cbb9c51d4")
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, 2 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 15 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_conv_template 69 other papers
69 same year, order not determinable
1911.03705 (2019-11)
CommonGen: A Constrained Text Generation Challenge for Generative Commonsense Reasoning
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2204.07705 (2022-04)
SUPER-NATURALINSTRUCTIONS: Generalization via Declarative Instructions on 1600+ NLP Tasks
and 66 more not named here
get_gpu_memory 2 other papers
2 same year, order not determinable
2412.03187 (2024-12)
Weighted-Reward Preference Optimization for Implicit Model Fusion
2606.10528 (2026-06)
Representation-Aware Advantage Estimation: Your Reward Model Provides More Than A Scalar Output

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Fine-tuning Large Language Models (LLMs) as autonomous agents on domain-specific data has emerged as a promising paradigm for tackling interactive, real-world tasks. However, existing studies have overlooked the critical coordination between long-term planning and multi-step execution in optimizing agent capabilities. This oversight leads to the propagation of impractical plans and plan-deviated trajectories within the optimization process, resulting in suboptimal task performance and hindering the further development of LLM-based agents in long-horizon tasks. To bridge this gap, we propose CoPE, a novel framework that explicitly integrates planning-execution coordination into LLM-based agent optimization. CoPE employs Self-Refining MCTS to generate task plans and multiple execution trajectories through environment interactions. By quantifying the coordination between planning and execution, CoPE assigns higher optimization weights to well-coordinated samples, enabling LLM-based agents to learn better planning and execution policies. Extensive experiments demonstrate that CoPE substantially improves agent coordination, outperforming state-of-the-art baselines on benchmarks comprising two long-horizon multi-step tasks. Codes and data are available at https://github.com/Octobrist/CoPE.

For agents

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

get_harvested_code_for_paper("openreview_9aU4vrHPKD")
get_code_for_paper("openreview_9aU4vrHPKD")
have("openreview_9aU4vrHPKD")

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

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

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

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

Connect an agent — have() is free.