SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.17234 · 2023

Cooperation, Competition, and Maliciousness: LLM-Stakeholders Interactive Negotiation

arXiv · PDF · Open in the Atlas

Code that ran

3 of 3 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 0 no recorded run), measured 2026-11-24; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2309.17234.json · badge: /api/ran/2309.17234.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
s-abdelnabi/llm-deliberation canonical (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
FunctionStatusWhere it lives
calculator Ran
ran, honoured the contract we drafted
s-abdelnabi/llm-deliberation/evaluation/eval_utils.py
code served (permissive licence) · get_code("be69e73b0391dd3b")
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

torch.manual_seed(0)

# Construct the scores dictionary
# scores maps issue characters to lists of numbers
# The function accesses scores[issue][number - 1], so we need lists with at least 1 element
scores = {
    'A': [10, 20, 30],
    'B': [5, 15, 25],
    'C': [100, 200, 300]
}

# Construct a valid deal
# deal is a list of 2-character strings where:
# - first character is an issue key (must exist in scores)
# - second character is a digit representing the index (1-based)
deal = ['A1', 'B2', 'C3']

# num_issues should match len(deal)
num_issues = 3

ARGS = {
    'scores': scores,
    'deal': deal,
    'num_issues': num_issues
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_deal Ran
ran; our contract draft was wrong, not the code
s-abdelnabi/llm-deliberation/evaluation/eval_utils.py
code served (permissive licence) · get_code("1e7e09e43b0b50db")
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 string
import re

def extract_deal(answer, num_issues=5):
    answer = answer.replace('\n', '')
    issue_names = string.ascii_uppercase[:26]
    deal = []
    issues_suggested = 0
    for i in range(0, num_issues):
        option = re.findall(f'{issue_names[i]}[1-9]', answer, re.DOTALL)
        deal.append(option[0]) if option else deal.append('')
        if option:
            issues_suggested += 1
    return (deal, issues_suggested)

# Construct valid arguments
answer_with_issues = "A1 proposal B3 counter C5 offer D2 suggestion E7 request"
num_issues_arg = 5

ARGS = {
    "answer": answer_with_issues,
    "num_issues": num_issues_arg
}
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 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
load_setup Ran
ran; our contract draft was wrong, not the code
s-abdelnabi/llm-deliberation/evaluation/eval_utils.py
code served (permissive licence) · get_code("44a2421912d64ac5")
How it ran

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

import os
import tempfile
import string

# Create temporary directory structure with required files
temp_dir = tempfile.mkdtemp()
output_dir = temp_dir

# Create scores_files subdirectory
scores_dir = os.path.join(output_dir, 'scores_files')
os.makedirs(scores_dir, exist_ok=True)

# Parameters
agents_num = 2
num_issues = 3

# Create config.txt with agent configurations
config_content = """agent1,scores_agent1,negotiator,cooperative,model_v1
agent2,scores_agent2,mediator,adversarial,model_v2
"""
config_path = os.path.join(output_dir, 'config.txt')
with open(config_path, 'w') as f:
    f.write(config_content)

# Create score files for each agent
# Each score file should have num_issues + 1 lines
# First num_issues lines contain comma-separated scores for each issue
# Last line contains the minimum score
for agent_id in range(1, agents_num + 1):
    score_file_path = os.path.join(scores_dir, f'scores_agent{agent_id}.txt')
    with open(score_file_path, 'w') as f:
        # Write scores for each issue (num_issues lines)
        for issue_idx in range(num_issues):
            scores = [str(10 + issue_idx * 5 + agent_id), str(20 + issue_idx * 5 + agent_id)]
            f.write(','.join(scores) + '\n')
        # Write minimum score
        f.write('5\n')

ARGS = {
    'output_dir': output_dir,
    'agents_num': agents_num,
    'num_issues': num_issues,
}
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 tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

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

There is an growing interest in using Large Language Models (LLMs) in multi-agent systems to tackle interactive real-world tasks that require effective collaboration and assessing complex situations. Yet, we still have a limited understanding of LLMs' communication and decision-making abilities in multi-agent setups. The fundamental task of negotiation spans many key features of communication, such as cooperation, competition, and manipulation potentials. Thus, we propose using scorable negotiation to evaluate LLMs. We create a testbed of complex multi-agent, multi-issue, and semantically rich negotiation games. To reach an agreement, agents must have strong arithmetic, inference, exploration, and planning capabilities while integrating them in a dynamic and multi-turn setup. We propose multiple metrics to rigorously quantify agents' performance and alignment with the assigned role. We provide procedures to create new games and increase games' difficulty to have an evolving benchmark. Importantly, we evaluate critical safety aspects such as the interaction dynamics between agents influenced by greedy and adversarial players. Our benchmark is highly challenging; GPT-3.5 and small models mostly fail, and GPT-4 and SoTA large models (e.g., Llama-3 70b) still underperform.

For agents

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

get_harvested_code_for_paper("2309.17234")
get_code_for_paper("2309.17234")
have("2309.17234")

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

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

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

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

Connect an agent — have() is free.