SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2502.17387 · 2025

Big-Math: A Large-Scale, High-Quality Math Dataset for Reinforcement Learning in Language Models

arXiv · PDF · Open in the Atlas

Code that ran

14 of 15 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 14 have no contract verdict; 0 failures of our instrument; 1 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/2502.17387.json · badge: /api/ran/2502.17387.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
synthlabsai/big-math canonical (classifier label)
classifier basis not recorded on the link
14 ran · 1 no recorded run
FunctionStatusWhere it lives
detect_latex_hyperlinks Ran
ran on a synthesized input
synthlabsai/big-math/signals/add_hyperlink_signal.py
code served (permissive licence) · get_code("a86b7a3543c24861")
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 re

def detect_latex_hyperlinks(row):
    url_pattern = '\\\\url'
    href_pattern = '\\\\href'
    http_pattern = 'http://'
    https_pattern = 'https://'
    problem = row['problem']
    if re.search(url_pattern, problem) or re.search(href_pattern, problem) or re.search(http_pattern, problem) or re.search(https_pattern, problem):
        row['has_hyperlink_problem'] = True
    else:
        row['has_hyperlink_problem'] = False
    solution = row['solution']
    if re.search(url_pattern, solution) or re.search(href_pattern, solution) or re.search(http_pattern, solution) or re.search(https_pattern, solution):
        row['has_hyperlink_solution'] = True
    else:
        row['has_hyperlink_solution'] = False
    return row

ARGS = {
    'row': {
        'problem': 'This is a problem with a \\url{http://example.com} link',
        'solution': 'This is a solution without hyperlinks'
    }
}
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
detect_multiple_choice Ran
ran on a synthesized input
synthlabsai/big-math/signals/add_multiple_choice_signal.py
code served (permissive licence) · get_code("9b340ea19624aeee")
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 torch
import numpy as np

LETTER_OPTIONS = ['A', 'B', 'C', 'D']
NUMERICAL_OPTIONS = ['1', '2', '3', '4']

def is_multiple_choice(question, answer_options):
    question = question.replace(''.join(answer_options), '')
    options_found = [question.rfind(option) for option in answer_options[::-1]]
    if any((option == -1 for option in options_found)):
        return False
    for i, option in enumerate(options_found):
        if i > 0 and option > options_found[i - 1]:
            return False
    return True

def detect_multiple_choice(row):
    if is_multiple_choice(row['problem'], LETTER_OPTIONS) or is_multiple_choice(row['problem'], NUMERICAL_OPTIONS):
        row['is_multiple_choice'] = True
    else:
        row['is_multiple_choice'] = False
    return row

# Create test row with a valid multiple choice question using letter options
row = {
    'problem': 'What is 2+2? A) 3 B) 4 C) 5 D) 6',
    'is_multiple_choice': None
}

ARGS = {
    'row': row
}
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 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
get_answer_expr Ran
ran on a synthesized input
synthlabsai/big-math/signals/rollouts_based_signals/math_eval.py
code served (permissive licence) · get_code("b1cbccd043cd227e")
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.

# Setup code for get_answer_expr function

def last_boxed_only_string(string: str):
    """
    Extracts the last boxed expression from a string.

    Args:
        string (str): The input string.

    Returns:
        Optional[str]: The last boxed expression or None.
    """
    idx = string.rfind('\\boxed')
    if '\\boxed ' in string:
        return '\\boxed ' + string.split('\\boxed ')[-1].split('$')[0]
    if idx < 0:
        idx = string.rfind('\\fbox')
        if idx < 0:
            return None
    i = idx
    right_brace_idx = None
    num_left_braces_open = 0
    while i < len(string):
        if string[i] == '{':
            num_left_braces_open += 1
        if string[i] == '}':
            num_left_braces_open -= 1
            if num_left_braces_open == 0:
                right_brace_idx = i
                break
        i += 1
    return string[idx:right_brace_idx + 1] if right_brace_idx is not None else None

def remove_boxed(s: str):
    """
    Removes the \boxed or \fbox formatting from a string.

    Args:
        s (str): The input string.

    Returns:
        Optional[str]: String without boxed formatting or None.
    """
    if '\\boxed ' in s:
        left = '\\boxed '
        assert s[:len(left)] == left
        return s[len(left):]
    elif '\\boxed{' in s:
        left = '\\boxed{'
        assert s[:len(left)] == left
        assert s[-1] == '}'
        return s[len(left):-1]
    elif '\\fbox{' in s:
        left = '\\fbox{'
        assert s[:len(left)] == left
        assert s[-1] == '}'
        return s[len(left):-1]
    else:
        return s

def get_answer_expr(answer: str) -> str:
    """
    Extracts the mathematical expression from the answer.

    Args:
        answer (str): The answer string.

    Returns:
        str: Extracted expression.
    """
    try:
        answer = remove_boxed(last_boxed_only_string(answer))
    except Exception:
        answer = answer.split('\n')[-1]
    return answer


# Test cases with various input formats
ARGS = {
    "answer": "\\boxed{42}"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
has_multi_part_q Ran
ran on a synthesized input
synthlabsai/big-math/signals/add_multipartq_signal.py
code served (permissive licence) · get_code("3f5ea156370ed5b4")
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 re

ARGS = {
    'row': {
        'problem': 'Here is part (I) of the problem. Now solve part (II) of this question.'
    }
}
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
has_proof Ran
ran on a synthesized input
synthlabsai/big-math/signals/add_proof_signal.py
code served (permissive licence) · get_code("1edf221dbe0a5c7b")
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 nltk

# Ensure nltk punkt tokenizer is available
try:
    nltk.data.find('tokenizers/punkt')
except LookupError:
    nltk.download('punkt', quiet=True)

# Create a sample row dictionary with the required fields
row = {
    'problem': 'Prove that the sum of angles in a triangle equals 180 degrees.',
    'source': 'olympiads',
    'is_math_proof': False
}

ARGS = {
    'row': row
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
nltk — 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
is_boxed_empty Ran
ran on a synthesized input
synthlabsai/big-math/signals/add_empty_boxed_signal.py
code served (permissive licence) · get_code("1260afe2074fed39")
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 re

def is_boxed_empty(row, patterns):
    row['is_boxed_empty'] = False
    for pattern in patterns:
        if re.search(pattern, row['solution']):
            row['is_boxed_empty'] = True
            break
    return row

# Construct valid arguments
row = {
    'solution': 'The answer is \\boxed{}',
    'is_boxed_empty': None
}

patterns = [
    r'\\boxed\{\}',
    r'\$\$.*?\$\$',
    r'empty'
]

ARGS = {
    'row': row,
    'patterns': patterns
}
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
is_multiple_choice Ran
ran on a synthesized input
synthlabsai/big-math/signals/add_multiple_choice_signal.py
code served (permissive licence) · get_code("79dd767f5347edbf")
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.

# Analyze the function to understand what it needs
# is_multiple_choice takes:
# - question: a string
# - answer_options: a list/sequence of strings

# The function:
# 1. Removes all answer options from the question string
# 2. Finds the position of each option (reversed) in the modified question
# 3. Returns False if any option is not found (-1)
# 4. Returns False if options are not in descending order by position
# 5. Returns True if all options found and in descending order

# Create test data
question = "What is the capital of France? A) Paris B) London C) Berlin A) Paris B) London C) Berlin"
answer_options = ["A) Paris", "B) London", "C) Berlin"]

ARGS = {
    "question": question,
    "answer_options": answer_options
}
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
is_semdedup_duplicate Ran
ran on a synthesized input
synthlabsai/big-math/signals/add_semdedup_signal.py
code served (permissive licence) · get_code("0dc352794ccb6515")
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 Series. 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 pandas as pd

torch.manual_seed(0)

# Analyze the function:
# - row: accessed with dict-like syntax row[f'is_semdedup_duplicate_eps{epsilon}'] = ...
#   so it's a dict or pandas Series
# - idx: compared with `in` operator against indices_to_remove, so it's a hashable value
# - indices_to_remove: used with `in` operator, so it's a container (set, list, etc.)
# - epsilon: used in an f-string for a key name, so it's a numeric value

# Build minimal valid arguments
row = pd.Series({'text': 'sample text', 'id': 1})  # pandas Series acts dict-like
idx = 5  # hashable value
indices_to_remove = {3, 5, 7, 10}  # set containing idx
epsilon = 0.9  # numeric epsilon value

ARGS = {
    'row': row,
    'idx': idx,
    'indices_to_remove': indices_to_remove,
    'epsilon': epsilon
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Series — a Series output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Series output the recorded ndim 1 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
is_true_false Ran
ran on a synthesized input
synthlabsai/big-math/signals/add_true_false_signal.py
code served (permissive licence) · get_code("062710821e296830")
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 re

def is_true_false(row):
    row['is_true_false_question'] = False
    if row['final_answer']:
        if re.search('(true|false)', row['final_answer'], re.IGNORECASE):
            row['is_true_false_question'] = True
    else:
        for solution in row['hard_math_solutions']:
            lines = solution.split('\n')
            if re.search('(true|false)', lines[-1], re.IGNORECASE):
                row['is_true_false_question'] = True
    return row

# Setup code
ARGS = {
    'row': {
        'final_answer': 'The answer is True',
        'hard_math_solutions': [
            'Step 1: Calculate\nStep 2: Verify\nfalse'
        ]
    }
}
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
last_boxed_only_string Ran
ran on a synthesized input
synthlabsai/big-math/signals/rollouts_based_signals/math_eval.py
code served (permissive licence) · get_code("abd7f82534e7b822")
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 numpy as np

# The function takes a single string parameter
# Let's create test cases that exercise the function's logic

# Test case 1: String with \boxed and content
test_string_1 = r"The answer is \boxed{42} in the box"

# Test case 2: String with \boxed followed by space
test_string_2 = r"Result: \boxed {x^2 + 1}$"

# Test case 3: String with \fbox instead
test_string_3 = r"Check this: \fbox{correct}"

# Test case 4: String with nested braces
test_string_4 = r"Formula: \boxed{f(x) = \{x\}}"

# Test case 5: String with no boxed expression
test_string_5 = "No boxes here"

# Use the first test case as the main argument
ARGS = {
    "string": test_string_1
}
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 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
merge_problem_and_answer Ran
ran on a synthesized input
synthlabsai/big-math/signals/add_semdedup_signal.py
code served (permissive licence) · get_code("41e9b0f959030e81")
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 torch
import numpy as np

def merge_problem_and_answer(row):
    row['problem_answer'] = f"Problem: {row['problem']} Answer: {row['final_answer']}"
    return row

# Construct a valid row dict with required keys
row = {
    'problem': 'What is 2 + 2?',
    'final_answer': '4'
}

ARGS = {
    'row': row
}
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 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
remove_boxed Ran
ran on a synthesized input
synthlabsai/big-math/signals/rollouts_based_signals/math_eval.py
code served (permissive licence) · get_code("1fa9e0d56b6ac064")
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

ARGS = {
    's': '\\boxed{42}'
}
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
remove_latex_commands Ran
ran on a synthesized input
synthlabsai/big-math/signals/add_language_signal.py
code served (permissive licence) · get_code("bbfd2bf79378bfcc")
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 remove_latex_commands(text):
    text = re.sub('\\\\frac\\{[^{}]*\\}\\{[^{}]*\\}', '', text)
    text = re.sub('\\\\[a-zA-Z]+\\{[^{}]*\\}', '', text)
    text = re.sub('\\\\[a-zA-Z]+', '', text)
    text = re.sub('\\$\\$(.*?)\\$\\$', '', text)
    text = re.sub('\\$(.*?)\\$', '', text)
    text = re.sub('\\s+', ' ', text).strip()
    return text

ARGS = {
    "text": "Hello \\frac{a}{b} world \\textbf{bold} \\alpha and $inline math$ $$display math$$ end"
}
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
remove_special_chars Ran
ran on a synthesized input
synthlabsai/big-math/signals/add_language_signal.py
code served (permissive licence) · get_code("4d3270ea82447286")
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 remove_special_chars(text):
    pattern = '[0-9*,\\.+\\-=\\(\\)\\/\\^\\[\\]{}|<>~`!@#$%&?_]'
    text = re.sub(pattern, '', text)
    text = re.sub('\\s+', ' ', text).strip()
    return text

ARGS = {
    'text': 'Hello123World*Test+String[with]special{chars}!@#$%'
}
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
formatted_items Not yet run
unverified (harvested, no recorded run)
synthlabsai/big-math/signals/model_based_signals.py
code served (permissive licence) · get_code("57b3d12830c0fc8a")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 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 15 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Increasing interest in reasoning models has led math to become a prominent testing ground for algorithmic and methodological improvements. However, existing open math datasets either contain a small collection of high-quality, human-written problems or a large corpus of machine-generated problems of uncertain quality, forcing researchers to choose between quality and quantity. In this work, we present Big-Math, a dataset of over 250,000 high-quality math questions with verifiable answers, purposefully made for reinforcement learning (RL). To create Big-Math, we rigorously filter, clean, and curate openly available datasets, extracting questions that satisfy our three desiderata: (1) problems with uniquely verifiable solutions, (2) problems that are open-ended, (3) and problems with a closed-form solution. To ensure the quality of Big-Math, we manually verify each step in our filtering process. Based on the findings from our filtering process, we introduce 47,000 new questions with verified answers, Big-Math-Reformulated: closed-ended questions (i.e. multiple choice questions) that have been reformulated as open-ended questions through a systematic reformulation algorithm. Compared to the most commonly used existing open-source datasets for math reasoning, GSM8k and MATH, Big-Math is an order of magnitude larger, while our rigorous filtering ensures that we maintain the questions most suitable for RL. We also provide a rigorous analysis of the dataset, finding that Big-Math contains a high degree of diversity across problem domains, and incorporates a wide range of problem difficulties, enabling a wide range of downstream uses for models of varying capabilities and training requirements. By bridging the gap between data quality and quantity, Big-Math establish a robust foundation for advancing reasoning in LLMs.

For agents

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

get_harvested_code_for_paper("2502.17387")
get_code_for_paper("2502.17387")
have("2502.17387")

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

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

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

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

Connect an agent — have() is free.