SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.22714 · 2026

AMEL: Accumulated Message Effects on LLM Judgments

Sid-Ali Temkit, App

arXiv · PDF · Open in the Atlas

Code that ran

2 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 1 failure of our instrument; 2 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/2605.22714.json · badge: /api/ran/2605.22714.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
chutapp/amel community
Papers with Code archive
2 ran · 2 no recorded run
FunctionStatusWhere it lives
Item Ran
ran on a synthesized input · constructed an object; no result was computed
chutapp/amel/src/conversation.py
code served (permissive licence) · get_code("9d5c46d89f996e75")
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 an instance of its own class, Item: the run constructed the object and did not call it, so no result was computed. 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
from dataclasses import dataclass

@dataclass
class Item:
    """A single item to evaluate."""
    id: str
    text: str
    ground_truth: str
    category: str

torch.manual_seed(0)

ARGS = {
    "id": "item_001",
    "text": "This is a sample text for evaluation purposes.",
    "ground_truth": "expected_output_value",
    "category": "test_category"
}
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 Item — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Item 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
_select_context_items Ran
ran; our contract draft was wrong, not the code
chutapp/amel/src/conversation.py
code served (permissive licence) · get_code("1358a27036ca8093")
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 random
from dataclasses import dataclass

@dataclass
class Item:
    """A single item to evaluate."""
    id: str
    text: str
    ground_truth: str
    category: str

class TestDomain:
    """Concrete implementation of BaseDomain for testing."""
    name: str = 'test_domain'
    system_prompt: str = 'You are a helpful assistant.'
    question_template: str = 'Is this good? {item}'

    def get_context_items_no(self) -> list[Item]:
        """Items that should elicit 'no' responses."""
        return [
            Item(id='no_1', text='bad option 1', ground_truth='no', category='cat_a'),
            Item(id='no_2', text='bad option 2', ground_truth='no', category='cat_b'),
            Item(id='no_3', text='bad option 3', ground_truth='no', category='cat_a'),
            Item(id='no_4', text='bad option 4', ground_truth='no', category='cat_c'),
            Item(id='no_5', text='bad option 5', ground_truth='no', category='cat_b'),
        ]

    def get_context_items_yes(self) -> list[Item]:
        """Items that should elicit 'yes' responses."""
        return [
            Item(id='yes_1', text='good option 1', ground_truth='yes', category='cat_a'),
            Item(id='yes_2', text='good option 2', ground_truth='yes', category='cat_b'),
            Item(id='yes_3', text='good option 3', ground_truth='yes', category='cat_c'),
            Item(id='yes_4', text='good option 4', ground_truth='yes', category='cat_a'),
            Item(id='yes_5', text='good option 5', ground_truth='yes', category='cat_b'),
        ]

    def get_test_items(self) -> list[Item]:
        """Test items with known ground truth."""
        return [
            Item(id='test_1', text='test item 1', ground_truth='yes', category='cat_a'),
            Item(id='test_2', text='test item 2', ground_truth='no', category='cat_b'),
        ]

    def format_question(self, item_text: str) -> str:
        """Format the question for a given item."""
        return self.question_template.format(item=item_text)

    def format_response(self, answer: str, item: Item) -> str:
        """Generate a realistic assistant response for context building."""
        if answer == 'no':
            return f'No. {self._no_reasoning(item)}'
        return f'Yes. {self._yes_reasoning(item)}'

    def _no_reasoning(self, item: Item) -> str:
        return 'This is not recommended.'

    def _yes_reasoning(self, item: Item) -> str:
        return 'This is a good choice.'


ARGS = {
    'domain': TestDomain(),
    'polarity': 'neutral',
    'context_length': 6,
    'seed': 42,
}
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
BaseDomain Not yet run
unverified (harvested, no recorded run)
chutapp/amel/src/conversation.py
code served (permissive licence) · get_code("5ba0524ea15ec86a")
How it ran

no invocation recorded.

build_messages Not yet run
unverified (harvested, no recorded run)
chutapp/amel/src/conversation.py
code served (permissive licence) · get_code("da3095058bb7db5c")
How it ran

no invocation recorded.

Also present in other papers' code

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

LLMs are now used as judges. They review code, moderate user posts, mark exam answers. Production setups often run many items through one conversation to save tokens, and that is the setup I worry about here. If the model has just said "no" ten times, does the eleventh item still get a fair hearing? I test this directly. The effect, when it appears, is what I call the accumulated message effect on LLM judgments-AMEL. The setup is the same in each of three binary-judgment domains (code review, content moderation, nutrition): present each test item in a clean conversation, or after N prior turns whose answers are mostly "yes" or mostly "no," and ask whether the verdict shifts. Twelve models across five providers, 84,088 API calls after deduplication. The shift is small but consistent. Overall d = -0.17 with item-clustered 95% CI [-0.21, -0.13]; the underlying mean bias score is BS = -0.054, i.e., conversation history moves P (no) by roughly five percentage points on average. The effect is concentrated where it bites: items the model is itself uncertain about at baseline absorb roughly twice as much (d = -0.36 for high-entropy items vs. d = -0.15 for items it already calls deterministically). It does not grow with context length: 5 turns and 50 produce the same shift (Spearman |r| < 0.01), though I cannot resolve where the saturation actually occurs below N = 5. Negative history pulls harder than positive (paired per-item ratio 1.52×; the marginal-means ratio of ∼ 2.1× mixes item composition and should not be taken as the headline number). Bigger models help, but only a little. The Nano → GPT-5.2 step (-0.34 → -0.17) is the credible scaling signal in the panel; the within-Anthropic ladder (-0.22 → -0.18 → -0.17) is small enough (∆d = 0.05 from Haiku to Opus) to sit inside the per-model CI width and is at most suggestive. Three follow-ups try to narrow what is going on. The firsttoken probability distribution shifts continuously, not at a threshold. The negativity asymmetry has both token-level and semantic flavours, though with n = 21 items per cell I cannot tell which dominates per model. Position does not matter: five biased turns anywhere in a 50-turn window produce the same shift. The simplest fix for an evaluation pipeline is a fresh context per item. If you must batch, interleave expectedyes and expected-no items and brace for a residual negativity drift.

For agents

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

get_harvested_code_for_paper("2605.22714")
get_code_for_paper("2605.22714")
have("2605.22714")

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

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

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

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

Connect an agent — have() is free.