SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.12531 · EMNLP · 2025

ESC-Judge: A Framework for Comparing Emotional Support Conversational Agents

Rohini Srihari, Navid Madani

arXiv · PDF · Open in the Atlas

Code that ran

13 of 14 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 13 have no contract verdict; 0 failures of our instrument; 1 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/2505.12531.json · badge: /api/ran/2505.12531.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
navidmdn/ESC-Judge canonical (classifier label)
classifier basis not recorded on the link
13 ran · 1 no recorded run
FunctionStatusWhere it lives
get_model_response Ran
ran on a synthesized input
navidmdn/ESC-Judge/hf_persona_based_chat.py
code served (permissive licence) · get_code("79b0e4143f36738c")
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 torch.nn as nn

torch.manual_seed(0)

class StandInTokenizer:
    def __init__(self):
        self.eos_token_id = 2
    
    def apply_chat_template(self, messages, add_generation_prompt=True, return_tensors='pt', tokenize=True):
        # Return a small tensor of token IDs
        return torch.tensor([[1, 2, 3, 4, 5, 6]], dtype=torch.long)
    
    def decode(self, token_ids, skip_special_tokens=False):
        return "This is a model response."

class StandInModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.device = 'cpu'
        self.linear = nn.Linear(4, 4)
    
    def generate(self, input_ids, max_new_tokens=256, pad_token_id=None, do_sample=True, temperature=0.7):
        # Return a tensor with shape [1, input_length + some_new_tokens]
        batch_size = input_ids.shape[0]
        input_length = input_ids.shape[1]
        output_length = input_length + 5  # Simulate generating 5 new tokens
        output = torch.cat([input_ids, torch.randint(0, 10, (batch_size, 5))], dim=1)
        return output

messages = [
    {"role": "user", "content": "Hello, how are you?"},
    {"role": "assistant", "content": "I'm doing well, thank you for asking."}
]

tokenizer = StandInTokenizer()
model = StandInModel()

ARGS = {
    "messages": messages,
    "tokenizer": tokenizer,
    "model": model,
    "max_new_tokens": 256,
    "do_sample": True,
    "temperature": 0.7
}
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
get_openai_chat_prompt Ran
ran on a synthesized input
navidmdn/ESC-Judge/langchain_persona_based_chat.py
code served (permissive licence) · get_code("9cdaae1ea22a36e7")
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 ChatPromptTemplate. 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.

from langchain_core.prompts import ChatPromptTemplate
from langchain_core.messages import SystemMessage, HumanMessage, AIMessage

# Create a simple conversation history with mixed message types
conversation = [
    HumanMessage(content="What is the capital of France?"),
    AIMessage(content="The capital of France is Paris."),
    HumanMessage(content="Tell me more about it."),
    AIMessage(content="Paris is the largest city in France and known for landmarks like the Eiffel Tower."),
]

# Define the system message
system_msg = "You are a helpful assistant that provides accurate information about world geography and landmarks."

# Construct the args dictionary
ARGS = {
    'args': {
        'conversation': conversation,
        'system_msg': system_msg,
    }
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
langchain_core — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ChatPromptTemplate — a ChatPromptTemplate 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
group_conversations Ran
ran on a synthesized input
navidmdn/ESC-Judge/merge_and_judge.py
code served (permissive licence) · get_code("fc250ec0f3ccbc34")
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 os
import re
import tempfile
from collections import defaultdict

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

# Create some test conversation files matching the expected format
test_files = [
    "conv_gpt2_personality_1.txt",
    "conv_gpt2_personality_2.txt",
    "conv_bert_personality_1.txt",
    "conv_bert_personality_3.txt",
    "conv_t5_personality_2.txt",
]

for filename in test_files:
    filepath = os.path.join(temp_dir, filename)
    with open(filepath, 'w') as f:
        f.write("Sample conversation content")

# Define ARGS dictionary with the directory parameter
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 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_json Ran
ran on a synthesized input
navidmdn/ESC-Judge/multidim_judge_from_merged.py
code served (permissive licence) · get_code("dd20d05a85fb7631")
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
import os

# Create a temporary JSON file with valid content
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test.json")

# Write valid JSON content to the file
test_data = {"key": "value", "number": 42}
with open(temp_file, 'w') as f:
    json.dump(test_data, f)

# Define arguments for the load_json function
ARGS = {
    "file_path": temp_file
}
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
load_jsonl Ran
ran on a synthesized input
navidmdn/ESC-Judge/multidim_judge_from_merged.py
code served (permissive licence) · get_code("720f3f0012bdfd66")
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 json
import os

# Create a temporary JSONL file for testing
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test.jsonl")

# Write some test data to the JSONL file
test_data = [
    {"id": 1, "text": "hello world"},
    {"id": 2, "text": "foo bar"},
    {"id": 3, "name": "test", "value": 42}
]

with open(temp_file, 'w') as f:
    for item in test_data:
        f.write(json.dumps(item) + '\n')

# Define the arguments for the function
ARGS = {
    "file_path": temp_file
}
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_jsonl Ran
ran on a synthesized input
navidmdn/ESC-Judge/multidim_geval.py
code served (permissive licence) · get_code("885cdf0c8392f181")
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 with valid JSON objects
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test_data.jsonl")

with open(temp_file, 'w') as f:
    f.write(json.dumps({"id": 1, "text": "hello"}) + "\n")
    f.write(json.dumps({"id": 2, "text": "world"}) + "\n")
    f.write(json.dumps({"id": 3, "value": 42}) + "\n")

ARGS = {
    "filename": temp_file
}
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_llama3_model Ran
ran on a synthesized input
navidmdn/ESC-Judge/hf_persona_based_chat.py
code served (permissive licence) · get_code("19801924b3c90395")
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. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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
from typing import Tuple
from unittest.mock import Mock, MagicMock

torch.manual_seed(0)

# Create a mock tokenizer that has the essential methods
class MockTokenizer:
    def __init__(self):
        self.vocab_size = 128256
        self.model_max_length = 8192
        self.pad_token_id = 128001
        self.eos_token_id = 128001
    
    def __call__(self, text, **kwargs):
        return {"input_ids": torch.tensor([[1, 2, 3, 4]]), "attention_mask": torch.tensor([[1, 1, 1, 1]])}
    
    def encode(self, text, **kwargs):
        return [1, 2, 3, 4]
    
    def decode(self, token_ids, **kwargs):
        return "decoded text"

# Create a minimal mock model that satisfies PreTrainedModel interface
class MockLlamaModel(torch.nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = torch.nn.Linear(4, 4)
        self.config = Mock()
        self.config.vocab_size = 128256
        self.config.hidden_size = 4
        self.device_map = None
    
    def forward(self, input_ids, attention_mask=None, **kwargs):
        output = Mock()
        output.logits = self.linear(torch.randn(2, 4, 4))
        return output
    
    def to(self, device):
        return self
    
    def eval(self):
        return self
    
    def generate(self, input_ids, **kwargs):
        return torch.tensor([[1, 2, 3, 4]])

# Mock AutoTokenizer.from_pretrained
def mock_from_pretrained_tokenizer(model_name, cache_dir=None):
    return MockTokenizer()

# Mock AutoModelForCausalLM.from_pretrained
def mock_from_pretrained_model(model_name, cache_dir=None, device_map=None, torch_dtype=None):
    return MockLlamaModel()

# Patch the imports in the function's module
import transformers
transformers.AutoTokenizer.from_pretrained = mock_from_pretrained_tokenizer
transformers.AutoModelForCausalLM.from_pretrained = mock_from_pretrained_model

ARGS = {
    "model_name": "meta-llama/Llama-2-7b",
    "cache_dir": None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, transformers — 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
load_prompt_constructor Ran
ran on a synthesized input
navidmdn/ESC-Judge/langchain_persona_based_chat.py
code served (permissive licence) · get_code("697984d1d7fb77ff")
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 partial. 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 functools import partial
from unittest.mock import Mock

torch.manual_seed(0)

# Create a minimal tokenizer mock that has apply_chat_template method
class MinimalTokenizer:
    def apply_chat_template(self, history, add_generation_prompt=False, tokenize=False):
        # Simulate formatting a chat template
        formatted = ""
        for msg in history:
            if isinstance(msg, dict):
                formatted += f"[{msg['role']}]: {msg['content']}\n"
            else:
                # Handle message objects
                role = getattr(msg, 'role', 'user')
                content = getattr(msg, 'content', str(msg))
                formatted += f"[{role}]: {content}\n"
        if add_generation_prompt:
            formatted += "[assistant]: "
        return formatted

# Create a minimal tokenizer for testing
tokenizer = MinimalTokenizer()

# Create conversation history with message objects
from langchain_core.messages import HumanMessage, AIMessage

conversation = [
    HumanMessage(content="Hello"),
    AIMessage(content="Hi there!")
]

# Create args dict for function calls
args = {
    'conversation': conversation,
    'system_msg': "You are a helpful assistant."
}

ARGS = {
    'model_name': 'llama-7b',
    'tokenizer': tokenizer,
    'hf': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
langchain_core, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type partial — a partial output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a partial 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_text Ran
ran on a synthesized input
navidmdn/ESC-Judge/merge_and_judge.py
code served (permissive licence) · get_code("0d5383d390821c06")
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 tempfile
import os

# Create a temporary file with some text content
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, encoding='utf-8', suffix='.txt')
temp_file.write("This is sample text content for testing the load_text function.")
temp_file.close()

# Define arguments for the load_text function
ARGS = {
    'file_path': temp_file.name
}
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
load_text Ran
ran on a synthesized input
navidmdn/ESC-Judge/multidim_geval.py
code served (permissive licence) · get_code("86dd2dbd49ecbcd4")
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 tempfile
import os

# Create a temporary file with some text content
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt')
temp_file.write("Hello, World!\nThis is sample text.\n")
temp_file.close()

# Define the arguments dictionary
ARGS = {
    'filename': temp_file.name
}
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
parse_filename Ran
ran on a synthesized input
navidmdn/ESC-Judge/merge_and_judge.py
code served (permissive licence) · get_code("4db0bfe2bd8f8d91")
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 re

def parse_filename(filename):
    """
    Extracts model name and personality ID from the filename.
    Expected format: conv_<model_name>_<personality_id>.txt
    """
    match = re.match('(.+)_(.+)\\.txt', filename)
    if match:
        return (match.group(1), match.group(2))
    return (None, None)


ARGS = {
    "filename": "conv_bert_persona_42.txt"
}
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
sample_gender Ran
ran on a synthesized input
navidmdn/ESC-Judge/fixed_challenge_characteristic_prompts.py
code served (permissive licence) · get_code("d81cf829f72f5f7f")
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 numpy as np

ARGS = {
    'n_samples': 5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — 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
sample_ongoing_challenge_string Ran
ran on a synthesized input
navidmdn/ESC-Judge/fixed_challenge_characteristic_prompts.py
code served (permissive licence) · get_code("6e00835f7961d124")
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

random.seed(0)

ARGS = {
    'n_samples': 5
}
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
sample_behavior_trait_string Not yet run
unverified (harvested, no recorded run)
navidmdn/ESC-Judge/fixed_challenge_characteristic_prompts.py
code served (permissive licence) · get_code("7a9173a15ddc701b")
How it ran

no invocation recorded.

Also present in other papers' code

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

Large Language Models (LLMs) increasingly power mental-health chatbots, yet the field still lacks a scalable, theory-grounded way to decide which model is more effective to deploy. We present ESC-Judge, the first end-to-end evaluation framework that (i) grounds head-tohead comparison of Emotional-Support LLMs (ES-LLMs) in an established psychological theory-Clara Hill's Exploration-Insight-Action (E-I-A) counselling model-thereby delivering a structured, interpretable lens on performance, and (ii) fully automates the pipeline at scale. ESC-Judge proceeds in three stages: (1) it synthesizes realistic help-seeker roles by sampling empirically salient attributes (stressors, personality, life history); (2) it has two candidate ES-Agents conduct separate sessions with the same role, isolating model-specific strategies; and (3) it asks a specialised judge LLM to issue pairwise preferences across rubric-anchored skills that exhaustively cover the E-I-A spectrum. In our empirical study, ESC-Judge matches PhDlevel annotators in 85% of Exploration, 83% of Insight, and 86% of Action decisions, demonstrating human-level reliability at a fraction of the cost. We release all code, prompts, synthetic roles, transcripts, and judgment scripts to catalyze transparent progress in emotionally supportive AI 1 .

For agents

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

get_harvested_code_for_paper("2505.12531")
get_code_for_paper("2505.12531")
have("2505.12531")

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

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

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

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

Connect an agent — have() is free.