SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.02078 · 2024

Advancing LLM Reasoning Generalists with Preference Trees

arXiv · PDF · Open in the Atlas

Code that ran

18 of 20 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; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 15 failures of our instrument; 2 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, 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/2404.02078.json · badge: /api/ran/2404.02078.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
openbmb/eurus canonical (classifier label)
classifier basis: census
18 ran · 2 no recorded run
FunctionStatusWhere it lives
softmax Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
openbmb/eurus/eval/mmlu/evaluate_mmlu.py
code served (permissive licence) · get_code("19f01570b0a18e2b")
How it ran

Ran in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned ndarray, ndim 1, dtype family float, shape (4,) as a later run recorded it. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-04T22:44:30Z). 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 numpy as np

# The softmax function takes a single parameter 'x' which should be array-like
# It uses: max(x), np.exp(z), np.sum(numerator), and division operations
# So x needs to be a numpy array or compatible

x = np.array([1.0, 2.0, 3.0, 4.0])

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (4,) — shape (4,) 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
estimate_pass_at_k Ran
ran; our contract draft was wrong, not the code
openbmb/eurus/eval/utils/evaluation.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from rucaibox/bamboo, is pointer only (licence: NONE) · get_code("e080db2eaa81fdb3")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from rucaibox/bamboo, 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.

format_example Ran
ran; our contract draft was wrong, not the code
openbmb/eurus/eval/mmlu/evaluate_mmlu.py
code served (permissive licence) · get_code("cd763eaf1ac287e7")
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) 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 pandas as pd

# Create a small DataFrame with the structure expected by format_example
# The function expects:
# - Column 0: prompt text
# - Columns 1 to k: answer choices (k columns)
# - Column k+1: the correct answer
# With choices = ['A', 'B', 'C', 'D'], we have k=4 choices

data = {
    0: ["What is 2+2?"],
    1: ["3"],
    2: ["4"],
    3: ["5"],
    4: ["6"],
    5: ["B"]  # The answer is 'B' (which corresponds to choice index 1, value "4")
}

df = pd.DataFrame(data)

ARGS = {
    'df': df,
    'idx': 0,
    'include_answer': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
pandas — 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
format_subject Ran
ran; our contract draft was wrong, not the code
openbmb/eurus/eval/mmlu/evaluate_mmlu.py
code served (permissive licence) · get_code("6ab745408cb8648b")
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) 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

def format_subject(subject):
    l = subject.split('_')
    s = ''
    for entry in l:
        s += ' ' + entry
    return s

ARGS = {
    'subject': 'machine_learning_model'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
handle_base Ran
ran, honoured the contract we drafted
openbmb/eurus/eval/utils/grader.py
code served (permissive licence) · get_code("bb175bff1060d928")
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 handle_base(x) -> str:
    if isinstance(x, str) and '_' in x:
        x = x.split('_')[0]
        x = float(x)
        return int(x)
    return x

# Test case 1: string with underscore
ARGS = {
    'x': '42_suffix_text'
}
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
is_digit Ran
ran, honoured the contract we drafted
openbmb/eurus/eval/utils/grader.py
code served (permissive licence) · get_code("2a180d3156997924")
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 torch
import numpy as np

# The function is_digit takes a single parameter 's' which is converted to string
# and checked if it can be parsed as a float, with special handling for commas and '{,}'

ARGS = {
    's': '1,234.56'
}
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 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
is_equiv Ran
ran, violated the contract we drafted
openbmb/eurus/eval/utils/math_equivalence.py
code served (permissive licence) · get_code("20063c675d638a77")
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 bool, ndim 0, dtype family float, 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.

ARGS = {
    'str1': '\\frac{1}{2}',
    'str2': '0.5',
    'verbose': False
}
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 bool, ndim 0, dtype family float, 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
last_boxed_only Ran
ran; our contract draft was wrong, not the code
openbmb/eurus/eval/utils/util.py
code served (permissive licence) · get_code("855a4d8c22777aac")
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.

# Construct valid arguments for last_boxed_only function

# The function expects a sample which is a tuple of (question, answer)
# where answer is a string containing LaTeX \boxed{...} or \fbox{...} commands

sample = (
    "What is 2 + 2?",
    "The answer is \\boxed{4}"
)

ARGS = {
    "sample": sample
}
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
last_boxed_only_string Ran
ran; our contract draft was wrong, not the code
openbmb/eurus/eval/utils/util.py
code served (permissive licence) · get_code("0b14c648516c38a7")
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.

# Analyzing the function: last_boxed_only_string
# The function takes a single parameter 'string' which is a string
# It searches for '\boxed' or '\fbox' in the string and extracts the boxed content
# The function uses string methods: rfind, len, indexing

ARGS = {
    "string": r"Some text before \boxed{answer here} and some text after"
}
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
make_signature Ran
ran; our contract draft was wrong, not the code
openbmb/eurus/eval/Coding/human_eval/evaluate_human_eval.py
code served (permissive licence) · get_code("c9c1b6ac091b90be")
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

def make_signature(example):
    signature = re.search(f"def\\s+({example['entry_point']}.*?):\\s*\n", example['prompt']).group(1)
    return signature

# Construct valid arguments
example = {
    'entry_point': 'my_function',
    'prompt': '''def my_function(x, y, z=10):
    """Example function"""
    pass
'''
}

ARGS = {
    'example': example
}
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
match_code Ran
ran; our contract draft was wrong, not the code
openbmb/eurus/eval/Coding/leetcode/evaluate_leetcode.py
code served (permissive licence) · get_code("3ba288bfab3230c3")
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

def match_code(s):
    pattern = '```python(.*?)```'
    sol = re.findall(pattern, s, re.DOTALL)
    if len(sol) > 0:
        return sol[0]
    pattern = '```(.*?)```'
    sol = re.findall(pattern, s, re.DOTALL)
    if len(sol) > 0:
        return sol[0]
    return s.split('```')[0]


# The function takes a single string parameter 's' and extracts code blocks from it
# It searches for python code blocks, then generic code blocks, then returns text before first 

ARGS = {
    "s": "Here is some text.\n```python\nprint('hello')\nx = 42\n```\nMore text after."
}
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
normalize Ran
ran; our contract draft was wrong, not the code
openbmb/eurus/eval/utils/grader.py
code served (permissive licence) · get_code("960059cee2753e3f")
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

torch_imported = False
try:
    import torch
    torch_imported = True
except ImportError:
    pass

def handle_base(x) -> str:
    if isinstance(x, str) and '_' in x:
        x = x.split('_')[0]
        x = float(x)
        return int(x)
    return x

def handle_pi(string, pi):
    if isinstance(string, str) and '\\pi' in string:
        idx = string.find('\\pi')
        while idx != -1:
            if idx > 0 and string[idx - 1].isdigit():
                string = string[:idx] + f'*{pi}' + string[idx + 3:]
            else:
                string = string[:idx] + f'1*{pi}' + string[idx + 3:]
            idx = string.find('\\pi', idx + 1)
        try:
            string = eval(string)
        except:
            pass
    return string

def normalize(answer, pi) -> str:
    if isinstance(answer, str) and bool(re.match('\\$\\d+(\\.\\d+)?', answer)):
        return answer[1:]
    if isinstance(answer, str) and (bool(re.match('^\\d+(\\.\\d+)?%$', answer)) or bool(re.match('^\\d+(\\.\\d+)?\\\\%$', answer))):
        return answer.replace('\\%', '').replace('%', '')
    answer = handle_base(answer)
    answer = handle_pi(answer, pi)
    return answer

ARGS = {
    "answer": "$42.5",
    "pi": 3.14159
}
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
normalize_answer Ran
ran; our contract draft was wrong, not the code
openbmb/eurus/eval/utils/math_normalize.py
code served (permissive licence) · get_code("7131520594af5fe7")
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.

# Analyze the function signature and body
# normalize_answer takes: answer (Optional[str]) -> Optional[str]
# The function processes strings through various text transformations

# Test cases for the normalize_answer function
ARGS = {
    "answer": "\\text{hello world}",
}

# Additional test cases can be verified by calling the function with different inputs
# But we only need to provide one valid argument dict for ARGS
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
only_until_first_boxed_from_tokens Ran
ran; our contract draft was wrong, not the code
openbmb/eurus/eval/utils/util.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Rambo-Yi/TLora, is pointer only (licence: NONE) · get_code("0bbf876ced018c83")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Rambo-Yi/TLora, 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.

postprocess_completion Ran
ran; our contract draft was wrong, not the code
openbmb/eurus/eval/utils/python_interpreter.py
code served (permissive licence) · get_code("a50f6b473e8d7cde")
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

def mock_executor(code):
    """Mock executor that returns success and a simple output."""
    try:
        # Simulate successful execution
        return True, "execution output"
    except Exception as e:
        return False, str(e)

completion_text = """
Here is a bash command:
bash
echo "hello world"


And here is a python snippet:

print("test")


And an execute block:
<execute>
result = 42
</execute>
"""

ARGS = {
    "executor": mock_executor,
    "completion": completion_text,
}
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
postprocess_completion_wrapper Ran
ran; our contract draft was wrong, not the code
openbmb/eurus/eval/utils/python_interpreter.py
code served (permissive licence) · get_code("8bbda0feb872faf2")
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
import tempfile

# The function postprocess_completion_wrapper takes a single parameter: completion
# Looking at the function body, it:
# 1. Creates a PythonREPL executor
# 2. Calls postprocess_completion(executor, completion)
# 3. Cleans up the temporary file
# 4. Returns the result

# The completion parameter is used in postprocess_completion, which:
# - Searches for code blocks in markdown format (```bash, ```python)
# - Searches for code in <execute> tags
# - Executes the code using the executor
# - Returns the output

# We need to create a completion string that contains executable Python code

completion = """
Here's a simple calculation:


x = 2 + 3
x * 4

"""

ARGS = {
    'completion': completion
}
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
read_problems Ran
ran; our contract draft was wrong, not the code
openbmb/eurus/eval/Coding/leetcode/data.py
code served (permissive licence) · get_code("776a712a353130e7")
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 gzip
import os
import tempfile

# Create a temporary directory for our test files
temp_dir = tempfile.mkdtemp()

# Create a minimal JSONL.GZ file with sample data
sample_data = [
    {"task_id": "HumanEval/0", "prompt": "def hello():", "canonical_solution": "return 'hello'", "test": "assert hello() == 'hello'"},
    {"task_id": "HumanEval/1", "prompt": "def add(a, b):", "canonical_solution": "return a + b", "test": "assert add(1, 2) == 3"}
]

# Write the gzipped JSONL file
test_file = os.path.join(temp_dir, "test_problems.jsonl.gz")
with gzip.open(test_file, 'wt') as f:
    for item in sample_data:
        f.write(json.dumps(item) + '\n')

# Define ARGS with the parameter for read_problems
ARGS = {
    'evalset_file': test_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
read_problems Ran
ran; our contract draft was wrong, not the code
openbmb/eurus/eval/utils/data.py
code served (permissive licence) · get_code("2a1cf35aaf759bca")
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 os
import json
import gzip
import tempfile
from pathlib import Path

# Create a temporary directory and file for testing
temp_dir = tempfile.mkdtemp()
temp_jsonl_gz = os.path.join(temp_dir, 'test_data.jsonl.gz')

# Create sample HumanEval-like data
sample_tasks = [
    {
        "task_id": "HumanEval/0",
        "prompt": "def solution():\n    pass",
        "canonical_solution": "def solution():\n    return 42",
        "test": "assert solution() == 42"
    },
    {
        "task_id": "HumanEval/1",
        "prompt": "def add(a, b):\n    pass",
        "canonical_solution": "def add(a, b):\n    return a + b",
        "test": "assert add(1, 2) == 3"
    }
]

# Write gzipped JSONL file
with gzip.open(temp_jsonl_gz, 'wt') as f:
    for task in sample_tasks:
        f.write(json.dumps(task) + '\n')

# Define arguments for read_problems function
ARGS = {
    'evalset_file': temp_jsonl_gz
}
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
check_correctness Not yet run
unverified (harvested, no recorded run)
openbmb/eurus/eval/utils/execution.py
code served (permissive licence) · get_code("12d4fef547070f7c")
How it ran

no invocation recorded.

postprocess_completions Not yet run
unverified (harvested, no recorded run)
openbmb/eurus/eval/utils/python_interpreter.py
code served (permissive licence) · get_code("c313975ff5860b89")
How it ran

no invocation recorded.

Also present in other papers' code

Of 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 14 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 1 the same month, 14 later) and 5 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
format_subject 21 other papers
11 dated earlier, 10 later
2009.03300 (2020-09)
Measuring Massive Multitask Language Understanding
2304.12986 (2023-04)
Measuring Massive Multitask Chinese Understanding
2305.17306 (2023-05)
Chain-of-Thought Hub: A Continuous Effort to Measure Large Language Models' Reasoning Performance
and 18 more not named here
estimate_pass_at_k 20 other papers
11 dated earlier, 9 later
2107.03374 (2021-07)
Evaluating Large Language Models Trained on Code
2207.14255 (2022-07)
Efficient Training of Language Models to Fill in the Middle
2210.14868 (2022-10)
Multi-lingual Evaluation of Code Generation Models
and 17 more not named here
last_boxed_only_string 17 other papers
2 dated earlier, 1 the same month, 13 later, 1 same year, order not determinable
2309.06275 (2023-09)
Re-Reading Improves Reasoning in Large Language Models
2310.05914 (2023-10)
NEFTune: Noisy Embeddings Improve Instruction Finetuning
2024.findings-emnlp.407 (2024 (year only))
MultiAgent Collaboration Attack: Investigating Adversarial Attacks in Large Language Model Collaborations via Debate
and 14 more not named here
format_example 16 other papers
6 dated earlier, 10 later
2009.03300 (2020-09)
Measuring Massive Multitask Language Understanding
2305.17306 (2023-05)
Chain-of-Thought Hub: A Continuous Effort to Measure Large Language Models' Reasoning Performance
2310.05736 (2023-10)
LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Models
and 13 more not named here
is_equiv 11 other papers
3 dated earlier, 7 later, 1 same year, order not determinable
2310.05914 (2023-10)
NEFTune: Noisy Embeddings Improve Instruction Finetuning
2310.09168 (2023-10)
EXPLORE-INSTRUCT: Enhancing Domain-Specific Instruction Coverage through Active Exploration
2024.findings-emnlp.407 (2024 (year only))
MultiAgent Collaboration Attack: Investigating Adversarial Attacks in Large Language Model Collaborations via Debate
and 8 more not named here
normalize_answer 10 other papers
10 later
2406.12809 (2024-06)
Can Large Language Models Always Solve Easy Problems if They Can Solve Harder Ones?
2412.01981 (2024-12)
Free Process Rewards without Process Labels
2502.01456 (2025-02)
Process Reinforcement through Implicit Rewards
and 7 more not named here
read_problems 10 other papers
5 dated earlier, 5 later
2310.20329 (2023-10)
InstructCoder: Instruction Tuning Large Language Models for Code Editing
2401.08565 (2024-01)
Tuning Language Models by Proxy
2401.14196 (2024-01)
DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligence
and 7 more not named here
is_digit 7 other papers
7 later
2412.01981 (2024-12)
Free Process Rewards without Process Labels
2502.01456 (2025-02)
Process Reinforcement through Implicit Rewards
2504.16084 (2025-04)
TTRL: Test-Time Reinforcement Learning
and 4 more not named here
softmax 7 other papers
5 dated earlier, 2 later
2009.03300 (2020-09)
Measuring Massive Multitask Language Understanding
2310.04928 (2023-10)
Large Language Models Only Pass Primary School Exams in Indonesia: A Comprehensive Test on IndoMMLU
2310.09550 (2023-10)
Can Large Language Model Comprehend Ancient Chinese? A Preliminary Test on ACLUE
and 4 more not named here
last_boxed_only 6 other papers
6 later
2405.06680 (2024-05)
Exploring the Compositional Deficiency of Large Language Models in Mathematical Reasoning Through Trap Problems
2406.14024 (2024-06)
LLM Critics Help Catch Bugs in Mathematics: Towards a Better Mathematical Verifier with Natural Language Feedback
2408.04556 (2024-08)
BA-LoRA: Bias-Alleviating Low-Rank Adaptation to Mitigate Catastrophic Inheritance in Large Language Models
and 3 more not named here
only_until_first_boxed_from_tokens 6 other papers
6 later
2405.06680 (2024-05)
Exploring the Compositional Deficiency of Large Language Models in Mathematical Reasoning Through Trap Problems
2405.15179 (2024-05)
VB-LoRA: Extreme Parameter Efficient Fine-Tuning with Vector Banks
2406.14024 (2024-06)
LLM Critics Help Catch Bugs in Mathematics: Towards a Better Mathematical Verifier with Natural Language Feedback
and 3 more not named here
handle_base 5 other papers
5 later
2412.01981 (2024-12)
Free Process Rewards without Process Labels
2502.01456 (2025-02)
Process Reinforcement through Implicit Rewards
2504.16084 (2025-04)
TTRL: Test-Time Reinforcement Learning
and 2 more not named here
normalize 5 other papers
5 later
2412.01981 (2024-12)
Free Process Rewards without Process Labels
2502.01456 (2025-02)
Process Reinforcement through Implicit Rewards
2504.16084 (2025-04)
TTRL: Test-Time Reinforcement Learning
and 2 more not named here
check_correctness 3 other papers
1 dated earlier, 2 later
2401.16405 (2024-01)
Scaling Sparse Fine-Tuning to Large Language Models
2602.02979 (2026-02)
CPMöbius: Iterative Coach-Player Reasoning for Data-Free Reinforcement Learning
2602.13773 (2026-02)
On Representation Redundancy in Large-Scale Instruction Tuning Data Selection

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

We introduce Eurus, a suite of large language models (LLMs) optimized for reasoning. Finetuned from Mistral-7B and CodeLlama-70B, Eurus models achieve state-of-the-art results among open-source models on a diverse set of benchmarks covering mathematics, code generation, and logical reasoning problems. Notably, Eurus-70B beats GPT-3.5 Turbo in reasoning through a comprehensive benchmarking across 12 tests covering five tasks, and achieves a 33.3% pass@1 accuracy on LeetCode and 32.6% on TheoremQA, two challenging benchmarks, substantially outperforming existing open-source models by margins more than 13.3%. The strong performance of Eurus can be primarily attributed to UltraInteract, our newly-curated large-scale, high-quality alignment dataset specifically designed for complex reasoning tasks. UltraInteract can be used in both supervised fine-tuning and preference learning. For each instruction, it includes a preference tree consisting of (1) reasoning chains with diverse planning strategies in a unified format, (2) multi-turn interaction trajectories with the environment and the critique, and (3) pairwise data to facilitate preference learning. UltraInteract allows us to conduct an in-depth exploration of preference learning for reasoning tasks. Our investigation reveals that some well-established preference learning algorithms may be less suitable for reasoning tasks compared to their effectiveness in general conversations. Inspired by this, we derive a novel reward modeling objective which, together with UltraInteract, leads to a strong reward model.

For agents

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

get_harvested_code_for_paper("2404.02078")
get_code_for_paper("2404.02078")
have("2404.02078")

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

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

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

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

Connect an agent — have() is free.