SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2504.16084 · 2025

TTRL: Test-Time Reinforcement Learning

arXiv · PDF · Open in the Atlas

Code that ran

14 of 16 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, 0 violated it and 2 have no contract verdict; 10 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/2504.16084.json · badge: /api/ran/2504.16084.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
prime-rl/ttrl canonical (classifier label)
classifier basis not recorded on the link
14 ran · 2 no recorded run
FunctionStatusWhere it lives
apply_original_gt Ran
ran on a synthesized input
prime-rl/ttrl/verl/verl/trainer/ppo/ttrl_utils.py
code served (permissive licence) · get_code("a5a4390c25526df6")
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 torch.nn as nn

torch.manual_seed(0)

class DataItem:
    def __init__(self):
        self.non_tensor_batch = {
            'reward_model': {
                'original_gt': torch.tensor([1.0, 2.0, 3.0, 4.0]),
                'ground_truth': None
            }
        }

batch = [
    DataItem(),
    DataItem()
]

# Set different original_gt values for each item to verify they're properly applied
batch[0].non_tensor_batch['reward_model']['original_gt'] = torch.tensor([1.0, 2.0, 3.0, 4.0])
batch[1].non_tensor_batch['reward_model']['original_gt'] = torch.tensor([5.0, 6.0, 7.0, 8.0])

ARGS = {
    'batch': batch
}
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 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
compute_ce_dpo_loss_rm Ran
ran; our contract draft was wrong, not the code
prime-rl/ttrl/verl/recipe/prime/prime_core_algos.py
pointer only (licence: MIT); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("f220595adfc5e83c")
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 LeapLabTHU/OPDVR, 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.

compute_detach_dpo_loss_rm Ran
ran; our contract draft was wrong, not the code
prime-rl/ttrl/verl/recipe/prime/prime_core_algos.py
pointer only (licence: MIT); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("4d91e4383716e42c")
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 LeapLabTHU/OPDVR, 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.

compute_online_dpo_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
prime-rl/ttrl/verl/recipe/spin/core_algos.py
pointer only (licence: MIT); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("f19825983a523003")
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 LeapLabTHU/OPDVR, 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.

compute_onlinedpo_pref Ran
ran; our contract draft was wrong, not the code
prime-rl/ttrl/verl/recipe/spin/core_algos.py
pointer only (licence: MIT); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("41b6e81dc3ecba79")
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 LeapLabTHU/OPDVR, 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.

generate_config_from_args Ran
ran; our contract draft was wrong, not the code
prime-rl/ttrl/verl/verl/model_merger/base_model_merger.py
pointer only (licence: MIT); the stored copy get_code serves, from pangpang-xuan/OPERA, is pointer only (licence: NONE) · get_code("9c496dae615ba2a8")
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 pangpang-xuan/OPERA, 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.

get_kl_controller Ran
ran; our contract draft was wrong, not the code
prime-rl/ttrl/verl/recipe/spin/core_algos.py
pointer only (licence: MIT); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("757d109d90121142")
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 LeapLabTHU/OPDVR, 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.

handle_base Ran
ran, honoured the contract we drafted
prime-rl/ttrl/verl/verl/utils/reward_score/ttrl_math/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
prime-rl/ttrl/verl/verl/utils/reward_score/ttrl_math/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
normalize Ran
ran; our contract draft was wrong, not the code
prime-rl/ttrl/verl/verl/utils/reward_score/ttrl_math/grader.py
code served (permissive licence) · get_code("1e5adbd8b9d51c04")
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

# Set random seed for reproducibility
torch.manual_seed(0)

# Analyze the function signature:
# normalize(answer, pi) -> str
# 
# The function:
# - Takes 'answer' which can be a string or various types
# - Takes 'pi' which is used as a numeric value in eval()
# - Returns a string
#
# Test cases to cover the different branches:
# 1. String starting with '$' (currency)
# 2. String ending with '%' (percentage)
# 3. String with '\\pi' (pi symbol)
# 4. String with '_' (base handling)
# 5. Regular numeric answer

ARGS = {
    "answer": "$123.45",
    "pi": 3.14159265359
}
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
normalize_answer Ran
ran; our contract draft was wrong, not the code
prime-rl/ttrl/verl/verl/utils/reward_score/ttrl_math/math_normalize.py
code served (permissive licence) · get_code("31113f93a6e0e98a")
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
from typing import Optional

# The function normalize_answer takes a single parameter: answer
# which should be an Optional[str]

# Test cases for the function
ARGS = {
    "answer": "\\text{hello world}"
}
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
normalize_final_answer Ran
ran; our contract draft was wrong, not the code
prime-rl/ttrl/verl/verl/utils/reward_score/ttrl_math/math_utils.py
code served (permissive licence) · get_code("5662e5ee755b541c")
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

SUBSTITUTIONS = [('an ', ''), ('a ', ''), ('.$', '$'), ('\\$', ''), ('\\ ', ''), (' ', ''), ('mbox', 'text'), (',\\text{and}', ','), ('\\text{and}', ','), ('\\text{m}', '\\text{}')]

REMOVED_EXPRESSIONS = ['square', 'ways', 'integers', 'dollars', 'mph', 'inches', 'ft', 'hours', 'km', 'units', '\\ldots', 'sue', 'points', 'feet', 'minutes', 'digits', 'cents', 'degrees', 'cm', 'gm', 'pounds', 'meters', 'meals', 'edges', 'students', 'childrentickets', 'multiples', '\\text{s}', '\\text{.}', '\\text{\ns}', '\\text{}^2', '\\text{}^3', '\\text{\n}', '\\text{}', '\\mathrm{th}', '^\\circ', '^{\\circ}', '\\;', ',\\!', '{,}', '"', '\\dots']

def normalize_final_answer(final_answer: str) -> str:
    """
    Normalize a final answer to a quantitative reasoning question.
    This code comes from https://arxiv.org/pdf/2206.14858.pdf, page18.
    """
    for before, after in SUBSTITUTIONS:
        final_answer = final_answer.replace(before, after)
    for expr in REMOVED_EXPRESSIONS:
        final_answer = final_answer.replace(expr, '')
    final_answer = re.sub('(.*?)(\\$)(.*?)(\\$)(.*)', '$\\3$', final_answer)
    final_answer = re.sub('(\\\\text\\{)(.*?)(\\})', '\\2', final_answer)
    final_answer = re.sub('(\\\\textbf\\{)(.*?)(\\})', '\\2', final_answer)
    final_answer = re.sub('(\\\\overline\\{)(.*?)(\\})', '\\2', final_answer)
    final_answer = re.sub('(\\\\boxed\\{)(.*)(\\})', '\\2', final_answer)
    final_answer = re.sub('(frac)([^{])(.)', 'frac{\\2}{\\3}', final_answer)
    final_answer = re.sub('(sqrt)([^{])', 'sqrt{\\2}', final_answer)
    final_answer = final_answer.replace('$', '')
    if final_answer.replace(',', '').isdigit():
        final_answer = final_answer.replace(',', '')
    return final_answer

ARGS = {
    'final_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
reward_func Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
prime-rl/ttrl/verl/recipe/r1/reward_score.py
code served (permissive licence) · get_code("c30b2a96103abd2c")
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 MagicMock. 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

torch.manual_seed(0)

# Mock the recipe.r1.tasks modules to avoid import errors
import sys
from unittest.mock import MagicMock

mock_math = MagicMock()
mock_math.compute_score = lambda sol, gt: 0.85

mock_gpqa = MagicMock()
mock_gpqa.compute_score = lambda sol, gt: 0.92

mock_livecodebench = MagicMock()
mock_livecodebench.compute_score = lambda sol, gt: 0.78

sys.modules['recipe'] = MagicMock()
sys.modules['recipe.r1'] = MagicMock()
sys.modules['recipe.r1.tasks'] = MagicMock()
sys.modules['recipe.r1.tasks.math'] = mock_math
sys.modules['recipe.r1.tasks.gpqa'] = mock_gpqa
sys.modules['recipe.r1.tasks.livecodebench'] = mock_livecodebench

# Define arguments for reward_func
ARGS = {
    'data_source': 'Maxwell-Jia/AIME_2024',
    'solution_str': 'The answer is 42.',
    'ground_truth': '42',
    'extra_info': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, recipe, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MagicMock — a MagicMock output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MagicMock output the recorded ndim 1 and dtype family None 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
timeout_ours Ran
ran on a synthesized input
prime-rl/ttrl/verl/verl/utils/reward_score/ttrl_math/math_utils.py
code served (permissive licence) · get_code("bc7d12a7bef2d7e8")
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 function. 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 signal

# The timeout_ours function is a decorator factory that takes a timeout_seconds parameter
# It doesn't actually need any complex setup - just needs to be called with an integer

ARGS = {
    'timeout_seconds': 8
}
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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
mathd_normalize_answer Not yet run
unverified (harvested, no recorded run)
prime-rl/ttrl/verl/verl/utils/reward_score/ttrl_math/math_utils.py
code served (permissive licence) · get_code("3f78ce44e20c50d1")
How it ran

no invocation recorded.

select_top_k_per_prompt Not yet run
unverified (harvested, no recorded run)
prime-rl/ttrl/verl/verl/trainer/ppo/ttrl_utils.py
code served (permissive licence) · get_code("50e288f719695c06")
How it ran

no invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 12 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 0 the same month, 12 later) and 4 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
compute_ce_dpo_loss_rm 46 other papers
2 dated earlier, 41 later, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
2505.14362 (2025-05)
DeepEyes: Incentivizing "Thinking with Images" via Reinforcement Learning
and 43 more not named here
compute_detach_dpo_loss_rm 44 other papers
2 dated earlier, 39 later, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
2505.14362 (2025-05)
DeepEyes: Incentivizing "Thinking with Images" via Reinforcement Learning
and 41 more not named here
compute_online_dpo_loss 38 other papers
2 dated earlier, 33 later, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
2506.12935 (2025-06)
SoundMind: RL-Incentivized Logic Reasoning for Audio-Language Models
and 35 more not named here
get_kl_controller 38 other papers
2 dated earlier, 33 later, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
2506.12935 (2025-06)
SoundMind: RL-Incentivized Logic Reasoning for Audio-Language Models
and 35 more not named here
compute_onlinedpo_pref 30 other papers
2 dated earlier, 25 later, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
2512.11391 (2025-12)
Mitigating the Safety Alignment Tax with Null-Space Constrained Policy Optimization
and 27 more not named here
reward_func 28 other papers
1 dated earlier, 25 later, 2 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2505.14362 (2025-05)
DeepEyes: Incentivizing "Thinking with Images" via Reinforcement Learning
2505.20046 (2025-05)
REARANK: Reasoning Re-ranking Agent via Reinforcement Learning
and 25 more not named here
normalize_answer 10 other papers
5 dated earlier, 5 later
2404.02078 (2024-04)
Advancing LLM Reasoning Generalists with Preference Trees
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
and 7 more not named here
normalize_final_answer 9 other papers
9 later
2509.24372 (2025-09)
Evolution Strategies at Scale: LLM Fine-Tuning Beyond Reinforcement Learning
2511.13223 (2025-11)
TokenSqueeze: Performance-Preserving Compression for Reasoning LLMs
2511.15694 (2025-11)
The Impact of Quantization on Large Reasoning Model Reinforcement Learning
and 6 more not named here
is_digit 7 other papers
3 dated earlier, 4 later
2404.02078 (2024-04)
Advancing LLM Reasoning Generalists with Preference Trees
2412.01981 (2024-12)
Free Process Rewards without Process Labels
2502.01456 (2025-02)
Process Reinforcement through Implicit Rewards
and 4 more not named here
generate_config_from_args 6 other papers
6 later
2603.19880 (2026-03)
What If Consensus Lies? Selective-Complementary Reinforcement Learning at Test Time
2604.17928 (2026-04)
HEALing Entropy Collapse: Enhancing Exploration in Few-Shot RLVR via Hybrid-Domain Entropy Dynamics Alignment
2604.21327 (2026-04)
Understanding and Mitigating Spurious Signal Amplification in Test-Time Reinforcement Learning for Math Reasoning
and 3 more not named here
handle_base 5 other papers
3 dated earlier, 2 later
2404.02078 (2024-04)
Advancing LLM Reasoning Generalists with Preference Trees
2412.01981 (2024-12)
Free Process Rewards without Process Labels
2502.01456 (2025-02)
Process Reinforcement through Implicit Rewards
and 2 more not named here
normalize 5 other papers
3 dated earlier, 2 later
2404.02078 (2024-04)
Advancing LLM Reasoning Generalists with Preference Trees
2412.01981 (2024-12)
Free Process Rewards without Process Labels
2502.01456 (2025-02)
Process Reinforcement through Implicit Rewards
and 2 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

This paper investigates Reinforcement Learning (RL) on data without explicit labels for reasoning tasks in Large Language Models (LLMs). The core challenge of the problem is reward estimation during inference while not having access to ground-truth information. While this setting appears elusive, we find that common practices in Test-Time Scaling (TTS), such as majority voting, yield surprisingly effective rewards suitable for driving RL training. In this work, we introduce Test-Time Reinforcement Learning (TTRL), a novel method for training LLMs using RL on unlabeled data. TTRL enables self-evolution of LLMs by utilizing the priors in the pre-trained models. Our experiments demonstrate that TTRL consistently improves performance across a variety of tasks and models. Notably, TTRL boosts the pass@1 performance of Qwen-2.5-Math-7B by approximately 211% on the AIME 2024 with only unlabeled test data. Furthermore, although TTRL is only supervised by the maj@n metric, TTRL has demonstrated performance to consistently surpass the upper limit of the initial model maj@n, and approach the performance of models trained directly on test data with ground-truth labels. Our experimental findings validate the general effectiveness of TTRL across various tasks and highlight TTRL's potential for broader tasks and domains. GitHub: https://github.com/PRIME-RL/TTRL

For agents

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

get_harvested_code_for_paper("2504.16084")
get_code_for_paper("2504.16084")
have("2504.16084")

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

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

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

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

Connect an agent — have() is free.