SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2305.14324 · EMNLP · 2023

Ties Matter: Meta-Evaluating Modern Metrics with Pairwise Accuracy and Tie Calibration

Markus Freitag, George Foster, Daniel Deutsch

arXiv · PDF · Open in the Atlas

Code that ran

5 of 10 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 4 have no contract verdict; 1 failure of our instrument; 5 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/2305.14324.json · badge: /api/ran/2305.14324.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
thompsonb/mt-metrics-eval community (classifier label)
classifier basis not recorded on the link
5 ran · 5 no recorded run
FunctionStatusWhere it lives
Flag2TaskArg Ran
ran on a synthesized input
thompsonb/mt-metrics-eval/mt_metrics_eval/mtme.py
code served (permissive licence) · get_code("c6d9433442d834eb")
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 torch
import numpy as np

torch.manual_seed(0)

# Analyze the function:
# - flag_val: a string or falsy value that gets split by commas
# - sets: a boolean that determines whether to wrap values in sets
# The function returns None, a single value, or a list of values

ARGS = {
    'flag_val': 'model,data,config',
    'sets': False
}
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 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
LocalDir Ran
ran on a synthesized input
thompsonb/mt-metrics-eval/mt_metrics_eval/data.py
code served (permissive licence) · get_code("9d06f47545662537")
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 os

ARGS = {
    'root_only': True
}
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
ReadScoreFile Ran
ran on a synthesized input
thompsonb/mt-metrics-eval/mt_metrics_eval/data.py
code served (permissive licence) · get_code("9f6815894c7d5c54")
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 collections
import tempfile
import os

# Create a temporary file with score data
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt')
temp_file.write("system1 0.85\n")
temp_file.write("system2 0.92\n")
temp_file.write("system1 0.88\n")
temp_file.write("system3 None\n")
temp_file.write("system2 0.91\n")
temp_file.close()

filename = temp_file.name

ARGS = {
    "filename": filename
}
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
Score Ran
ran on a synthesized input
thompsonb/mt-metrics-eval/mt_metrics_eval/converters/score_mqm.py
code served (permissive licence) · get_code("818d955de02710b7")
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

def Score(weights, items):
    items = [x.lower() for x in items]
    while items:
        if '/'.join(items) in weights:
            return weights['/'.join(items)]
        items = items[:-1]
    return 0

# weights is a dict mapping strings to numbers
weights = {
    'hello/world': 10,
    'hello': 5,
    'foo/bar/baz': 20,
    'foo/bar': 15,
    'test': 3
}

# items is a list of strings
items = ['Hello', 'World']

ARGS = {
    'weights': weights,
    'items': items
}
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
tau_optimization Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
thompsonb/mt-metrics-eval/mt_metrics_eval/tau_optimization.py
code served (permissive licence) · get_code("55b7d806d68aaf9d")
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 TauOptimizationResult. 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 numpy as np
from typing import Callable

# Import the classes from the function signature
class TauSufficientStats:
    def __init__(self, con: int=0, dis: int=0, ties_human: int=0, ties_metric: int=0, ties_both: int=0):
        self.con = con
        self.dis = dis
        self.ties_human = ties_human
        self.ties_metric = ties_metric
        self.ties_both = ties_both
        self.num_pairs = con + dis + ties_human + ties_metric + ties_both

    def tau_23(self) -> float:
        return (self.con + self.ties_both - self.dis - self.ties_human - self.ties_metric) / self.num_pairs

    def acc_23(self) -> float:
        return (self.con + self.ties_both) / self.num_pairs


# Create sample metric_scores and human_scores
# Shape: 2 rows (samples), 3 columns (score pairs per sample)
metric_scores = np.array([
    [1.0, 2.0, 3.0],
    [0.5, 1.5, 2.5]
], dtype=np.float32)

human_scores = np.array([
    [1.0, 2.0, 3.0],
    [0.5, 1.5, 2.5]
], dtype=np.float32)

# Create a simple tau function that uses TauSufficientStats
def simple_tau_fn(stats: TauSufficientStats) -> float:
    """Simple tau function that returns tau_23 score"""
    if stats.num_pairs == 0:
        return 0.0
    return stats.tau_23()

# Sample rate for pair sampling
sample_rate = 1.0

ARGS = {
    "metric_scores": metric_scores,
    "human_scores": human_scores,
    "tau_fn": simple_tau_fn,
    "sample_rate": sample_rate
}
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 TauOptimizationResult — a TauOptimizationResult output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a TauOptimizationResult 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
Agreement Not yet run
unverified (harvested, no recorded run)
thompsonb/mt-metrics-eval/mt_metrics_eval/stats.py
code served (permissive licence) · get_code("8f813973ac3bf112")
How it ran

no invocation recorded.

KendallLike Not yet run
unverified (harvested, no recorded run)
thompsonb/mt-metrics-eval/mt_metrics_eval/stats.py
code served (permissive licence) · get_code("4fc726dfa5e19ad8")
How it ran

no invocation recorded.

KendallVariants Not yet run
unverified (harvested, no recorded run)
thompsonb/mt-metrics-eval/mt_metrics_eval/stats.py
code served (permissive licence) · get_code("aa9cd2664f35166c")
How it ran

no invocation recorded.

PrintScores Not yet run
unverified (harvested, no recorded run)
thompsonb/mt-metrics-eval/mt_metrics_eval/mtme.py
code served (permissive licence) · get_code("489ded4bc6b4fc45")
How it ran

no invocation recorded.

ReadDomainScoreFile Not yet run
unverified (harvested, no recorded run)
thompsonb/mt-metrics-eval/mt_metrics_eval/data.py
code served (permissive licence) · get_code("dbb40b5acf49d38d")
How it ran

no invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 7 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 7 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.

FunctionAlso present inEarliest-datedOthers named
tau_optimization 2 other papers
2 later
2406.18365 (2024-06)
Themis: A Reference-free NLG Evaluation Language Model with Flexibility and Interpretability
2505.01761 (2025-05)
Same evaluation, more tokens: On the effect of input length for machine translation evaluation using Large Language Models
Flag2TaskArg 1 other paper
1 later
2505.01761 (2025-05)
Same evaluation, more tokens: On the effect of input length for machine translation evaluation using Large Language Models
LocalDir 1 other paper
1 later
2505.01761 (2025-05)
Same evaluation, more tokens: On the effect of input length for machine translation evaluation using Large Language Models
PrintScores 1 other paper
1 later
2505.01761 (2025-05)
Same evaluation, more tokens: On the effect of input length for machine translation evaluation using Large Language Models
ReadDomainScoreFile 1 other paper
1 later
2505.01761 (2025-05)
Same evaluation, more tokens: On the effect of input length for machine translation evaluation using Large Language Models
ReadScoreFile 1 other paper
1 later
2505.01761 (2025-05)
Same evaluation, more tokens: On the effect of input length for machine translation evaluation using Large Language Models
Score 1 other paper
1 later
2505.01761 (2025-05)
Same evaluation, more tokens: On the effect of input length for machine translation evaluation using Large Language Models

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

Kendall's τ is frequently used to meta-evaluate how well machine translation (MT) evaluation metrics score individual translations. Its focus on pairwise score comparisons is intuitive but raises the question of how ties should be handled, a gray area that has motivated different variants in the literature. We demonstrate that, in settings like modern MT meta-evaluation, existing variants have weaknesses arising from their handling of ties, and in some situations can even be gamed. We propose instead to meta-evaluate metrics with a version of pairwise accuracy that gives metrics credit for correctly predicting ties, in combination with a tie calibration procedure that automatically introduces ties into metric scores, enabling fair comparison between metrics that do and do not predict ties. We argue and provide experimental evidence that these modifications lead to fairer ranking-based assessments of metric performance. 1

For agents

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

get_harvested_code_for_paper("2305.14324")
get_code_for_paper("2305.14324")
have("2305.14324")

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

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

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

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

Connect an agent — have() is free.