SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2204.00763 · 2022

Metaphorical User Simulators for Evaluating Task-oriented Dialogue Systems

arXiv · PDF · Open in the Atlas

Code that ran

7 of 9 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 3 have no contract verdict; 4 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2204.00763.json · badge: /api/ran/2204.00763.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
superbooming/simtester canonical (classifier label)
classifier basis not recorded on the link
5 ran · 2 no recorded run
sunnweiwei/metasim canonical (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
FunctionStatusWhere it lives
clean_time Ran
ran; our contract draft was wrong, not the code
superbooming/simtester/simtester/agent/damd/clean_dataset.py
code served (permissive licence) · get_code("4b48138f6d5166a1")
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
import os

def clean_time(utter):
    utter = re.sub('(\\d+) ([ap]\\.?m)', lambda x: x.group(1) + x.group(2), utter)
    utter = re.sub('((?<!\\d)\\d:\\d+)(am)?', '0\\1', utter)
    utter = re.sub('((?<!\\d)\\d)am', '0\\1:00', utter)
    utter = re.sub('((?<!\\d)\\d)pm', lambda x: str(int(x.group(1)) + 12) + ':00', utter)
    utter = re.sub('(\\d+)(:\\d+)pm', lambda x: str(int(x.group(1)) + 12) + x.group(2), utter)
    utter = re.sub('(\\d+)a\\.?m', '\\1', utter)
    return utter

ARGS = {
    'utter': 'The meeting is at 3pm tomorrow'
}
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
filename_to_url Ran
ran on a synthesized input
superbooming/simtester/simtester/utils/allennlp_file_utils.py
code served (permissive licence) · get_code("8ecbc06b66b54bcb")
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 json
import tempfile
from pathlib import Path

# Create a temporary cache directory for testing
temp_cache_dir = tempfile.mkdtemp()

# Create a test file and its metadata file
test_filename = "test_model.bin"
cache_path = os.path.join(temp_cache_dir, test_filename)
meta_path = cache_path + ".json"

# Write a dummy cache file
with open(cache_path, 'w') as f:
    f.write("dummy cache content")

# Write metadata file with url and etag
metadata = {
    "url": "https://example.com/model.bin",
    "etag": "abc123def456"
}
with open(meta_path, 'w') as f:
    json.dump(metadata, f)

ARGS = {
    "filename": test_filename,
    "cache_dir": temp_cache_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 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_yaml_configs Ran
ran on a synthesized input
superbooming/simtester/simtester/utils/utils.py
code served (permissive licence) · get_code("7f8e39857c0f1353")
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 yaml
import os
import tempfile

# Create a temporary YAML file with valid configuration
with tempfile.NamedTemporaryFile(mode='w', suffix='.yaml', delete=False, encoding='utf-8') as f:
    yaml.dump({
        'learning_rate': 0.001,
        'batch_size': 32,
        'epochs': 10,
        'model': 'resnet50',
        'optimizer': 'adam'
    }, f)
    temp_yaml_path = f.name

try:
    # Define arguments for load_yaml_configs
    ARGS = {
        'filename': temp_yaml_path
    }
finally:
    # Clean up will happen after function execution in actual use
    pass
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
yaml — 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
parse_act Ran
ran; our contract draft was wrong, not the code
sunnweiwei/metasim/metasim/train_mwoz.py
pointer only (licence: NONE) · get_code("5cbda0fae871f21c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sunnweiwei/metasim when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_goal Ran
ran; our contract draft was wrong, not the code
sunnweiwei/metasim/metasim/train_mwoz.py
pointer only (licence: NONE) · get_code("a4875d6233744ce4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sunnweiwei/metasim when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

run_shell Ran
ran on a synthesized input
superbooming/simtester/simtester/utils/utils.py
code served (permissive licence) · get_code("d2c7e0088c58b4ba")
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 subprocess
import sys

def run_shell(shell):
    cmd = subprocess.Popen(shell, stdin=subprocess.PIPE, stderr=sys.stderr, close_fds=True, stdout=sys.stdout, universal_newlines=True, shell=True, bufsize=1)
    cmd.communicate()
    return cmd.returncode

ARGS = {
    "shell": "echo 'Hello, World!'"
}
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 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
url_to_filename Ran
ran; our contract draft was wrong, not the code
superbooming/simtester/simtester/utils/allennlp_file_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from lonePatient/ERNIE-text-classification-pytorch, is pointer only (licence: NONE) · get_code("af64ec220e8bcdbc")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from lonePatient/ERNIE-text-classification-pytorch, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

cached_path Not yet run
unverified (harvested, no recorded run)
superbooming/simtester/simtester/utils/allennlp_file_utils.py
code served (permissive licence) · get_code("33d45ac6e8fe7c98")
How it ran

no invocation recorded.

mp Not yet run
unverified (harvested, no recorded run)
superbooming/simtester/simtester/utils/utils.py
code served (permissive licence) · get_code("b3d876f28f4ed5bd")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 1 the same month, 2 later) and 7 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
url_to_filename 20 other papers
8 dated earlier, 1 the same month, 11 later · 3 only as an assembly brick
1408.5882 (2014-08)
Convolutional Neural Networks for Sentence Classification
1810.04805 (2018-10)
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
1906.01698 (2019-06)
Open Sesame: Getting Inside BERT's Linguistic Knowledge
and 17 more not named here
clean_time 7 other papers
3 dated earlier, 4 later
2009.12005 (2020-09)
MinTL: Minimalist Transfer Learning for Task-Oriented Dialogue Systems
2021.findings-emnlp.112 (2021 (year only))
Improving End-to-End Task-Oriented Dialogue System with A Simple Auxiliary Task
2109.14739 (2021-09)
Multi-Task Pre-Training for Plug-and-Play Task-Oriented Dialogue System
and 4 more not named here

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

Task-oriented dialogue systems (TDSs) are assessed mainly in an offline setting or through human evaluation. The evaluation is often limited to single-turn or is very time-intensive. As an alternative, user simulators that mimic user behavior allow us to consider a broad set of user goals to generate human-like conversations for simulated evaluation. Employing existing user simulators to evaluate TDSs is challenging as user simulators are primarily designed to optimize dialogue policies for TDSs and have limited evaluation capabilities. Moreover, the evaluation of user simulators is an open challenge. In this work, we propose a metaphorical user simulator for end-to-end TDS evaluation, where we define a simulator to be metaphorical if it simulates user's analogical thinking in interactions with systems. We also propose a tester-based evaluation framework to generate variants, i.e., dialogue systems with different capabilities. Our user simulator constructs a metaphorical user model that assists the simulator in reasoning by referring to prior knowledge when encountering new items. We estimate the quality of simulators by checking the simulated interactions between simulators and variants. Our experiments are conducted using three TDS datasets. The proposed user simulator demonstrates better consistency with manual evaluation than an agenda-based simulator and a seq2seq model on three datasets; our tester framework demonstrates efficiency and has been tested on multiple tasks, such as conversational recommendation and e-commerce dialogues.

For agents

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

get_harvested_code_for_paper("2204.00763")
get_code_for_paper("2204.00763")
have("2204.00763")

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

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

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

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

Connect an agent — have() is free.