SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2502.19613 · 2025

Self-rewarding correction for mathematical reasoning

arXiv · PDF · Open in the Atlas

Code that ran

10 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; 0 honoured the contract we drafted, 1 violated it and 2 have no contract verdict; 7 failures of our instrument; 6 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.19613.json · badge: /api/ran/2502.19613.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
agentica-project/verl-pipeline community (classifier label)
classifier basis not recorded on the link
10 ran · 6 no recorded run
FunctionStatusWhere it lives
get_huggingface_actor_config Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
agentica-project/verl-pipeline/verl/utils/model.py
code served (permissive licence) · get_code("fe79c459a3e4cc64")
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 MockConfig. 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 torch.nn as nn
from transformers import AutoConfig

torch.manual_seed(0)

# The function uses:
# - model_name: str parameter passed to AutoConfig.from_pretrained()
# - override_config_kwargs: Dict that gets iterated with items() and used with setattr()
# - trust_remote_code: bool parameter passed to AutoConfig.from_pretrained()

# Since we can't actually download models, we need to mock AutoConfig.from_pretrained
# to return a config object that has attributes we can set

class MockConfig:
    """Mock configuration object that behaves like a PretrainedConfig"""
    def __init__(self):
        self.hidden_size = 768
        self.num_hidden_layers = 12
        self.vocab_size = 50257
        self.max_position_embeddings = 2048
    
    def __repr__(self):
        return f"MockConfig(hidden_size={self.hidden_size}, num_hidden_layers={self.num_hidden_layers})"

# Patch AutoConfig.from_pretrained to return our mock config
original_from_pretrained = AutoConfig.from_pretrained
AutoConfig.from_pretrained = lambda model_name, trust_remote_code=False: MockConfig()

ARGS = {
    "model_name": "gpt2",
    "override_config_kwargs": {
        "hidden_size": 256,
        "num_hidden_layers": 4,
        "vocab_size": 1000
    },
    "trust_remote_code": False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, transformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MockConfig — a MockConfig output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MockConfig 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_rope_index Ran
ran; our contract draft was wrong, not the code
agentica-project/verl-pipeline/verl/models/transformers/qwen2_vl.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Alibaba-NLP/VRAG, is pointer only (licence: NONE) · get_code("e29ba2dcd05add9f")
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 Alibaba-NLP/VRAG, 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.

is_transformers_version_in_range Ran
ran, violated the contract we drafted
agentica-project/verl-pipeline/verl/models/transformers/monkey_patch.py
code served (permissive licence) · get_code("42a7954a8cfa89e0")
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.

import torch
import numpy as np
from packaging import version

# The function checks if the transformers package version falls within a given range
# It uses version.parse() to compare version strings
# We need to provide valid version strings as arguments

ARGS = {
    'min_version': '4.0.0',
    'max_version': '5.0.0',
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, packaging, torch — 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
make_batch_generator Ran
ran on a synthesized input
agentica-project/verl-pipeline/verl/utils/megatron/pipeline_parallel.py
code served (permissive licence) · get_code("6db82df20842d655")
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_iterator. 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 torch.nn as nn

torch.manual_seed(0)

# Create a simple batch generator - a list of batches
# Each batch is a tuple of (input, target)
batches = [
    (torch.randn(2, 4), torch.randint(0, 2, (2,))),
    (torch.randn(2, 4), torch.randint(0, 2, (2,))),
    (torch.randn(2, 4), torch.randint(0, 2, (2,))),
]

ARGS = {
    "batches": batches,
    "vpp_size": 1,
}
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_iterator — a list_iterator output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a list_iterator 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
pad_input Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
agentica-project/verl-pipeline/verl/models/bert_padding.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from amazon-science/dualkv-flash-attn-for-rl, is pointer only (licence: NOASSERTION) · get_code("a8cf6124094beaab")
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 amazon-science/dualkv-flash-attn-for-rl, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

prepare_fa2_from_position_ids Ran
ran; our contract draft was wrong, not the code
agentica-project/verl-pipeline/verl/models/transformers/qwen2_vl.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Alibaba-NLP/VRAG, is pointer only (licence: NONE) · get_code("e89bd73550a8c08f")
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 Alibaba-NLP/VRAG, 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.

union_tensor_dict Ran
ran; our contract draft was wrong, not the code
agentica-project/verl-pipeline/verl/protocol.py
code served (permissive licence) · get_code("21331a58f93375e4")
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 TensorDict. 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
from tensordict import TensorDict

torch.manual_seed(0)

# Create two TensorDicts with identical batch size
batch_size = torch.Size([2])

# First tensor dict with some keys
tensor_dict1 = TensorDict(
    {
        "shared_key": torch.randn(2, 4),
        "key1": torch.randn(2, 3),
    },
    batch_size=batch_size,
)

# Second tensor dict with overlapping and new keys
tensor_dict2 = TensorDict(
    {
        "shared_key": tensor_dict1["shared_key"].clone(),  # Same tensor values
        "key2": torch.randn(2, 5),
    },
    batch_size=batch_size,
)

ARGS = {
    "tensor_dict1": tensor_dict1,
    "tensor_dict2": tensor_dict2,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensordict, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type TensorDict — a TensorDict output has no array shape of its own; none is 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
unpad_dataproto Ran
ran on a synthesized input
agentica-project/verl-pipeline/verl/protocol.py
code served (permissive licence) · get_code("80bcfef75cb84b53")
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 DataProto. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

class DataProto:
    def __init__(self, length=5, non_tensor_batch=None):
        self.length = length
        self.non_tensor_batch = non_tensor_batch
        self._data = list(range(length))
    
    def __len__(self):
        return len(self._data)
    
    def __getitem__(self, indices):
        if isinstance(indices, list):
            new_proto = DataProto(len(indices), self.non_tensor_batch)
            new_proto._data = [self._data[i] for i in indices]
            if self.non_tensor_batch:
                new_non_tensor = {}
                for key, value in self.non_tensor_batch.items():
                    if isinstance(value, np.ndarray):
                        new_non_tensor[key] = value[indices]
                    else:
                        new_non_tensor[key] = value
                new_proto.non_tensor_batch = new_non_tensor
            return new_proto
        elif isinstance(indices, slice):
            sliced_data = self._data[indices]
            new_proto = DataProto(len(sliced_data), self.non_tensor_batch)
            new_proto._data = sliced_data
            if self.non_tensor_batch:
                new_non_tensor = {}
                for key, value in self.non_tensor_batch.items():
                    if isinstance(value, np.ndarray):
                        new_non_tensor[key] = value[indices]
                    else:
                        new_non_tensor[key] = value
                new_proto.non_tensor_batch = new_non_tensor
            return new_proto
        else:
            return self._data[indices]

# Test case 1: pad_size = 0 (no unpadding needed)
data1 = DataProto(length=5)
pad_size1 = 0

# Test case 2: pad_size != 0 with no non_tensor_batch (simple slicing case)
data2 = DataProto(length=7, non_tensor_batch=None)
pad_size2 = 2

# Test case 3: pad_size != 0 with non_tensor_batch containing valid/None values
non_tensor_batch = {
    'mask': np.array([1, 1, None, 1, 1, 1, 1])
}
data3 = DataProto(length=7, non_tensor_batch=non_tensor_batch)
pad_size3 = 0

ARGS = {
    'data': data3,
    'pad_size': pad_size3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataProto — a DataProto output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataProto output the recorded ndim 1 and dtype family int 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
unpad_input Ran
ran; our contract draft was wrong, not the code
agentica-project/verl-pipeline/verl/models/bert_padding.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from amazon-science/dualkv-flash-attn-for-rl, is pointer only (licence: NOASSERTION) · get_code("d84093c20a0ed8fd")
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 amazon-science/dualkv-flash-attn-for-rl, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

unpad_input_for_concatenated_sequences Ran
ran; our contract draft was wrong, not the code
agentica-project/verl-pipeline/verl/models/bert_padding.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from amazon-science/dualkv-flash-attn-for-rl, is pointer only (licence: NOASSERTION) · get_code("62394c842aafb022")
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 amazon-science/dualkv-flash-attn-for-rl, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

apply_monkey_patch Not yet run
unverified (harvested, no recorded run)
agentica-project/verl-pipeline/verl/models/transformers/monkey_patch.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Alibaba-NLP/VRAG, is pointer only (licence: NONE) · get_code("63fac81eb8667d39")
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 Alibaba-NLP/VRAG, 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. No invocation recorded.

flash_attention_forward Not yet run
unverified (harvested, no recorded run)
agentica-project/verl-pipeline/verl/models/transformers/qwen2_vl.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Alibaba-NLP/VRAG, is pointer only (licence: NONE) · get_code("736144d442549c26")
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 Alibaba-NLP/VRAG, 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. No invocation recorded.

get_generation_config Not yet run
unverified (harvested, no recorded run)
agentica-project/verl-pipeline/verl/utils/model.py
code served (permissive licence) · get_code("660713a8fa047736")
How it ran

no invocation recorded.

get_weight_loader Not yet run
unverified (harvested, no recorded run)
agentica-project/verl-pipeline/verl/models/weight_loader_registry.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from ncbi-nlp/Med-V1, is pointer only (licence: NOASSERTION) · get_code("af005d03c2088909")
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 ncbi-nlp/Med-V1, and GitHub could not classify the licence of that repository (NOASSERTION). 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. No invocation recorded.

get_weight_saver Not yet run
unverified (harvested, no recorded run)
agentica-project/verl-pipeline/verl/models/weight_loader_registry.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Alibaba-NLP/VRAG, is pointer only (licence: NONE) · get_code("914227ac881d05be")
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 Alibaba-NLP/VRAG, 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. No invocation recorded.

squeeze Not yet run
unverified (harvested, no recorded run)
agentica-project/verl-pipeline/verl/utils/model.py
code served (permissive licence) · get_code("3b15e2ac7497c441")
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, 14 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 4 the same month, 14 later) and 2 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
squeeze 82 other papers
2 dated earlier, 1 the same month, 75 later, 1 same year, order not determinable, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.21236 (2024-10)
Flaming-hot Initiation with Regular Execution Sampling for Large Language Models
2025.findings-emnlp.1015 (2025 (year only))
MT-R1-Zero: Advancing LLM-based Machine Translation via R1-Zero-like Reinforcement Learning
and 79 more not named here
union_tensor_dict 64 other papers
2 dated earlier, 1 the same month, 57 later, 1 same year, order not determinable, 3 undated · 4 only as an assembly brick
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.21236 (2024-10)
Flaming-hot Initiation with Regular Execution Sampling for Large Language Models
2025.findings-emnlp.1015 (2025 (year only))
MT-R1-Zero: Advancing LLM-based Machine Translation via R1-Zero-like Reinforcement Learning
and 61 more not named here
get_generation_config 63 other papers
2 dated earlier, 59 later, 2 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.21236 (2024-10)
Flaming-hot Initiation with Regular Execution Sampling for Large Language Models
2503.06580 (2025-03)
Agent models: Internalizing Chain-of-Action Generation into Reasoning models
and 60 more not named here
get_huggingface_actor_config 53 other papers
2 dated earlier, 1 the same month, 47 later, 1 same year, order not determinable, 2 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2410.21236 (2024-10)
Flaming-hot Initiation with Regular Execution Sampling for Large Language Models
2025.findings-emnlp.1015 (2025 (year only))
MT-R1-Zero: Advancing LLM-based Machine Translation via R1-Zero-like Reinforcement Learning
and 50 more not named here
is_transformers_version_in_range 14 other papers
1 dated earlier, 1 the same month, 10 later, 1 same year, order not determinable, 1 undated
2410.21236 (2024-10)
Flaming-hot Initiation with Regular Execution Sampling for Large Language Models
2025.findings-emnlp.1015 (2025 (year only))
MT-R1-Zero: Advancing LLM-based Machine Translation via R1-Zero-like Reinforcement Learning
2502.14768 (2025-02)
Logic-RL: Unleashing LLM Reasoning with Rule-Based Reinforcement Learning
and 11 more not named here
get_weight_loader 4 other papers
4 later
2505.18822 (2025-05)
AdaCtrl: Towards Adaptive and Controllable Reasoning via Difficulty-Aware Budgeting
2505.24875 (2025-05)
ReasonGen-R1: CoT for Autoregressive Image generation models through SFT and RL
2602.12735 (2026-02)
VimRAG: Navigating Massive Visual Context in Retrieval-Augmented Generation via Multimodal Memory Graph
and 1 more not named here
pad_input 4 other papers
2 dated earlier, 2 later
2309.06180 (2023-09)
Efficient Memory Management for Large Language Model Serving with PagedAttention
2407.08608 (2024-07)
FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision
2604.23798 (2026-04)
ELSA: Exact Linear-Scan Attention for Fast and Memory-Light Vision Transformers
and 1 more not named here
unpad_input 4 other papers
2 dated earlier, 2 later
2309.06180 (2023-09)
Efficient Memory Management for Large Language Model Serving with PagedAttention
2407.08608 (2024-07)
FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision
2604.23798 (2026-04)
ELSA: Exact Linear-Scan Attention for Fast and Memory-Light Vision Transformers
and 1 more not named here
unpad_input_for_concatenated_sequences 4 other papers
2 dated earlier, 2 later
2309.06180 (2023-09)
Efficient Memory Management for Large Language Model Serving with PagedAttention
2407.08608 (2024-07)
FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision
2604.23798 (2026-04)
ELSA: Exact Linear-Scan Attention for Fast and Memory-Light Vision Transformers
and 1 more not named here
apply_monkey_patch 2 other papers
2 later
2505.18917 (2025-05)
Behavior Injection: Preparing Language Models for Reinforcement Learning
2602.12735 (2026-02)
VimRAG: Navigating Massive Visual Context in Retrieval-Augmented Generation via Multimodal Memory Graph
flash_attention_forward 2 other papers
2 later
2504.05520 (2025-04)
Efficient Reinforcement Finetuning via Adaptive Curriculum Learning
2602.12735 (2026-02)
VimRAG: Navigating Massive Visual Context in Retrieval-Augmented Generation via Multimodal Memory Graph
get_rope_index 2 other papers
2 later
2504.05520 (2025-04)
Efficient Reinforcement Finetuning via Adaptive Curriculum Learning
2602.12735 (2026-02)
VimRAG: Navigating Massive Visual Context in Retrieval-Augmented Generation via Multimodal Memory Graph
get_weight_saver 2 other papers
2 later
2505.18822 (2025-05)
AdaCtrl: Towards Adaptive and Controllable Reasoning via Difficulty-Aware Budgeting
2602.12735 (2026-02)
VimRAG: Navigating Massive Visual Context in Retrieval-Augmented Generation via Multimodal Memory Graph
prepare_fa2_from_position_ids 2 other papers
2 later
2504.05520 (2025-04)
Efficient Reinforcement Finetuning via Adaptive Curriculum Learning
2602.12735 (2026-02)
VimRAG: Navigating Massive Visual Context in Retrieval-Augmented Generation via Multimodal Memory Graph

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 study self-rewarding reasoning large language models (LLMs), which can simultaneously generate step-by-step reasoning and evaluate the correctness of their outputs during the inference time-without external feedback. This integrated approach allows a single model to independently guide its reasoning process, offering computational advantages for model deployment. We particularly focus on the representative task of self-correction, where models autonomously detect errors in their responses, revise outputs, and decide when to terminate iterative refinement loops. To enable this, we propose a two-staged algorithmic framework for constructing self-rewarding reasoning models using only self-generated data. In the first stage, we employ sequential rejection sampling to synthesize long chain-of-thought trajectories that incorporate both self-rewarding and self-correction mechanisms. Fine-tuning models on these curated data allows them to learn the patterns of self-rewarding and self-correction. In the second stage, we further enhance the models' ability to assess response accuracy and refine outputs through reinforcement learning with rule-based signals. Experiments with Llama-3 and Qwen-2.5 demonstrate that our approach surpasses intrinsic self-correction capabilities and achieves performance comparable to systems that rely on external reward models.

For agents

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

get_harvested_code_for_paper("2502.19613")
get_code_for_paper("2502.19613")
have("2502.19613")

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

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

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

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

Connect an agent — have() is free.