SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.01981 · 2024

Free Process Rewards without Process Labels

arXiv · PDF · Open in the Atlas

Code that ran

14 of 22 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; 6 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 8 failures of our instrument; 8 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/2412.01981.json · badge: /api/ran/2412.01981.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
lifan-yuan/implicitprm canonical (classifier label)
classifier basis: census
14 ran · 8 no recorded run
FunctionStatusWhere it lives
clean_units Ran
ran; our contract draft was wrong, not the code
lifan-yuan/implicitprm/eval/math_utils/eval_theoremqa.py
code served (permissive licence) · get_code("52095429576ac98d")
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 clean_units(pred_str: str):
    """Clean the units in the number."""

    def convert_pi_to_number(code_string):
        code_string = code_string.replace('\\pi', 'π')
        code_string = re.sub('(?<![\\d}])\\\\?π', '3.14', code_string)
        code_string = re.sub('(\\d)(\\\\?π)', '\\1*3.14', code_string)
        code_string = re.sub('\\{(\\\\?π)\\}', '3.14', code_string)
        code_string = re.sub('\\*(\\\\?π)', '*3.14', code_string)
        return code_string
    pred_str = convert_pi_to_number(pred_str)
    pred_str = pred_str.replace('%', '/100')
    pred_str = pred_str.replace('$', '')
    pred_str = pred_str.replace('¥', '')
    pred_str = pred_str.replace('°C', '')
    pred_str = pred_str.replace(' C', '')
    pred_str = pred_str.replace('°', '')
    return pred_str

ARGS = {
    'pred_str': '3.14\\pi * 2 + 50% - $100 + ¥500 at 25°C and 30°'
}
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
compute_approx_kl Ran
ran, honoured the contract we drafted
lifan-yuan/implicitprm/train/openrlhf/models/utils.py
code served (permissive licence) · get_code("b507127549cdea93")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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 torch.nn as nn

torch.manual_seed(0)

# Create small tensors for log probabilities
# Using distinct shapes to make dimensions clear
batch_size = 2
num_actions = 4

log_probs = torch.randn(batch_size, num_actions)
log_probs_base = torch.randn(batch_size, num_actions)

# Create an action mask (optional parameter)
action_mask = torch.randint(0, 2, (batch_size, num_actions)).float()

ARGS = {
    "log_probs": log_probs,
    "log_probs_base": log_probs_base,
    "action_mask": action_mask,
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_reward Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lifan-yuan/implicitprm/train/openrlhf/models/utils.py
code served (permissive licence) · get_code("38b7cb8077e28347")
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 3, 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)

# Construct valid arguments for compute_reward function
# Looking at the function signature and body:
# - r: Union[torch.Tensor, float] - will be clamped and used
# - kl_coef: float - multiplier for KL penalty
# - log_probs: torch.Tensor - shape will be used with action_mask operations
# - log_probs_base: torch.Tensor - same shape as log_probs
# - action_mask: Optional[torch.Tensor] - binary mask for valid actions
# - num_actions: Optional[Union[int, list[int]]] - used when action_mask is None

# Case 1: with action_mask (simpler case)
batch_size = 2
seq_length = 5

# Create tensors with distinct dimensions for clarity
log_probs = torch.randn(batch_size, seq_length)
log_probs_base = torch.randn(batch_size, seq_length)

# action_mask: 1 for valid actions, 0 for padding
# Let's mask out the last position for first sample, last 2 for second
action_mask = torch.ones(batch_size, seq_length)
action_mask[0, 4] = 0  # mask last position for first sample
action_mask[1, 3:] = 0  # mask last 2 positions for second sample

# r as a tensor with rewards for each sample
r = torch.tensor([5.0, -3.0])

kl_coef = 0.1

ARGS = {
    'r': r,
    'kl_coef': kl_coef,
    'log_probs': log_probs,
    'log_probs_base': log_probs_base,
    'action_mask': action_mask,
    'num_actions': None,
}
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 tuple, ndim 3, 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
extract_answer_string_2 Ran
ran; our contract draft was wrong, not the code
lifan-yuan/implicitprm/eval/math_utils/normalizer.py
code served (permissive licence) · get_code("906aa9a1e739f957")
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 extract_answer_string_2

ARGS = {
    "answer_str": "Some text \\boxed{x^2 + y = 5}$ more text"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
find_threshold_sigmoid Ran
ran, honoured the contract we drafted
lifan-yuan/implicitprm/eval/processbench.py
code served (permissive licence) · get_code("bc171287029c3465")
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 numpy as np

# Build the data argument
# The function expects a list of dicts, each with:
# - 'reward': a list of raw scores (floats)
# - 'label': an integer (-1 for correct_data, anything else for error_data)

data = [
    {
        'reward': [0.5, 1.2, -0.3, 2.1],
        'label': -1
    },
    {
        'reward': [1.5, 0.2, -1.0, 0.8],
        'label': -1
    },
    {
        'reward': [0.1, -0.5, 1.8, 0.9],
        'label': 1
    },
    {
        'reward': [-0.2, 0.7, 0.3, -1.5],
        'label': 2
    }
]

ARGS = {
    'data': data,
    'num_thresholds': 10000
}
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 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
floatify Ran
ran, honoured the contract we drafted
lifan-yuan/implicitprm/eval/math_utils/eval_theoremqa.py
code served (permissive licence) · get_code("f8cd262700389f42")
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 float, 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

ARGS = {
    "num": "42.5"
}
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 float, 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
get_raw_data Ran
ran; our contract draft was wrong, not the code
lifan-yuan/implicitprm/eval/prm_eval_utils.py
code served (permissive licence) · get_code("1d78ad671b732515")
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. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import tempfile
import os

# Create temporary test files for the function
temp_dir = tempfile.mkdtemp()

# Create the math test files (empty JSON arrays for now)
file_list = [
    os.path.join(temp_dir, 'math-llama3.1-8b-inst-64.json'),
    os.path.join(temp_dir, 'math-Meta-Llama-3.1-70B-Instruct-64.json'),
    os.path.join(temp_dir, 'math-Mistral-7B-Instruct-v0.2-64.json')
]

for f in file_list:
    with open(f, 'w') as fh:
        json.dump([], fh)

# Create the MATH500.jsonl file
jsonl_path = os.path.join(temp_dir, 'MATH500.jsonl')
with open(jsonl_path, 'w') as fh:
    fh.write(json.dumps({"problem": "test problem 1", "solution": "solution 1"}) + '\n')
    fh.write(json.dumps({"problem": "test problem 2", "solution": "solution 2"}) + '\n')

# Monkey patch the function to use our temp directory
import sys
original_getcwd = os.getcwd

def mock_getcwd():
    return temp_dir

os.getcwd = mock_getcwd

# Update the paths in the function by patching
import builtins
original_open = builtins.open

def patched_open(path, *args, **kwargs):
    if path.startswith('./testset/'):
        path = path.replace('./testset/', temp_dir + '/')
    return original_open(path, *args, **kwargs)

builtins.open = patched_open

ARGS = {
    'dataset_name': 'math',
    'process_inst': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple 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
handle_base Ran
ran, honoured the contract we drafted
lifan-yuan/implicitprm/eval/math_utils/grader.py
code served (permissive licence) · get_code("bb175bff1060d928")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

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

# Test case 1: string with underscore
ARGS = {
    'x': '42_suffix_text'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
is_digit Ran
ran, honoured the contract we drafted
lifan-yuan/implicitprm/eval/math_utils/grader.py
code served (permissive licence) · get_code("2a180d3156997924")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

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

ARGS = {
    's': '1,234.56'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
log_probs_from_logits Ran
ran; our contract draft was wrong, not the code
lifan-yuan/implicitprm/train/openrlhf/models/utils.py
code served (permissive licence) · get_code("959df7824bf09cc1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 1, dtype family float, shape (2,) 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 torch.nn.functional as F

torch.manual_seed(0)

# Create small tensors for testing
# logits: shape (batch_size, num_classes) = (2, 4)
logits = torch.randn(2, 4)

# labels: shape (batch_size,) with class indices in range [0, num_classes)
labels = torch.tensor([0, 2])

ARGS = {
    "logits": logits,
    "labels": labels,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (2,) — shape (2,) 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
normalize Ran
ran; our contract draft was wrong, not the code
lifan-yuan/implicitprm/eval/math_utils/grader.py
code served (permissive licence) · get_code("960059cee2753e3f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

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

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

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

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

ARGS = {
    "answer": "$42.5",
    "pi": 3.14159
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
normalize_answer Ran
ran; our contract draft was wrong, not the code
lifan-yuan/implicitprm/eval/math_utils/math_normalize.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from PKU-SEC-Lab/SPEX, is pointer only (licence: NONE) · get_code("101b1e54fcdadf90")
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 PKU-SEC-Lab/SPEX, 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.

normalize_answer_string Ran
ran; our contract draft was wrong, not the code
lifan-yuan/implicitprm/eval/math_utils/normalizer.py
code served (permissive licence) · get_code("c431597b4cd16dfc")
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

# The function normalize_answer_string takes a single parameter: expr (a string)
# It performs various string manipulations and regex substitutions on LaTeX expressions
# No complex objects needed - just a string input

ARGS = {
    "expr": "\\left( \\frac{3}{4} \\right) \\text{ meters} \\in [0, 10]"
}
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
sigmoid Ran
ran, honoured the contract we drafted
lifan-yuan/implicitprm/eval/processbench.py
code served (permissive licence) · get_code("1c192362b31daf5b")
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 ndarray, ndim 2, dtype family float, shape (2, 4) 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 numpy as np

# The sigmoid function takes a single parameter 'x' which should be a numeric array or value
# The function computes element-wise sigmoid: 1.0 / (1.0 + exp(-x))

# Create a small numpy array to pass as input
x = np.array([[-2.0, -1.0, 0.0, 1.0],
              [2.0, 0.5, -0.5, 1.5]])

ARGS = {
    'x': x
}
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 ndarray, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_metrics Not yet run
unverified (harvested, no recorded run)
lifan-yuan/implicitprm/eval/bon_eval.py
code served (permissive licence) · get_code("ad31a6c133b0728c")
How it ran

no invocation recorded.

convert_ring_attn_params Not yet run
unverified (harvested, no recorded run)
lifan-yuan/implicitprm/train/openrlhf/models/ring_attn_utils.py
code served (permissive licence) · get_code("d66f259aaf6cd9c7")
How it ran

no invocation recorded.

extract_attributes_from_name Not yet run
unverified (harvested, no recorded run)
lifan-yuan/implicitprm/eval/math_utils/normalizer.py
code served (permissive licence) · get_code("3dd56c766e1b4ca8")
How it ran

no invocation recorded.

get_tokenizer Not yet run
unverified (harvested, no recorded run)
lifan-yuan/implicitprm/eval/prm_eval_utils.py
code served (permissive licence) · get_code("7032a4070687fc83")
How it ran

no invocation recorded.

reset_ring_attn_position_ids Not yet run
unverified (harvested, no recorded run)
lifan-yuan/implicitprm/train/openrlhf/models/ring_attn_utils.py
code served (permissive licence) · get_code("e93117d99aa6b210")
How it ran

no invocation recorded.

set_special_token_ids Not yet run
unverified (harvested, no recorded run)
lifan-yuan/implicitprm/eval/prm_eval_utils.py
code served (permissive licence) · get_code("fb5dce3b9cdca298")
How it ran

no invocation recorded.

setup_accelerator_and_models Not yet run
unverified (harvested, no recorded run)
lifan-yuan/implicitprm/eval/processbench.py
code served (permissive licence) · get_code("5a3cf1b9cf6bcb3c")
How it ran

no invocation recorded.

within_eps Not yet run
unverified (harvested, no recorded run)
lifan-yuan/implicitprm/eval/math_utils/eval_theoremqa.py
code served (permissive licence) · get_code("98b05a45dfc53b99")
How it ran

no invocation recorded.

Also present in other papers' code

Of 22 samples lifted from this paper's linked repositories, 22 carry a function identity and 0 do not. Of the 22 distinct functions with an identity, 12 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 1 the same month, 11 later) and 10 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
reset_ring_attn_position_ids 15 other papers
3 dated earlier, 12 later
2306.00398 (2023-06)
Preference-grounded Token-level Guidance for Language Model Fine-tuning
2402.09345 (2024-02)
InfoRM: Mitigating Reward Hacking in RLHF via Information-Theoretic Reward Modeling
2404.18922 (2024-04)
DPO Meets PPO: Reinforced Token Optimization for RLHF
and 12 more not named here
sigmoid 12 other papers
10 dated earlier, 2 later · 1 only as an assembly brick
1506.02640 (2015-06)
You Only Look Once: Unified, Real-Time Object Detection
1602.01783 (2016-02)
Asynchronous Methods for Deep Reinforcement Learning
2106.12930 (2021-06)
VinDr-SpineXR: A deep learning framework for spinal lesions detection and classification from radiographs
and 9 more not named here
normalize_answer 10 other papers
2 dated earlier, 8 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?
2502.01456 (2025-02)
Process Reinforcement through Implicit Rewards
and 7 more not named here
convert_ring_attn_params 9 other papers
3 dated earlier, 6 later
2306.00398 (2023-06)
Preference-grounded Token-level Guidance for Language Model Fine-tuning
2402.09345 (2024-02)
InfoRM: Mitigating Reward Hacking in RLHF via Information-Theoretic Reward Modeling
2404.18922 (2024-04)
DPO Meets PPO: Reinforced Token Optimization for RLHF
and 6 more not named here
log_probs_from_logits 8 other papers
3 dated earlier, 1 the same month, 4 later
2306.00398 (2023-06)
Preference-grounded Token-level Guidance for Language Model Fine-tuning
2404.18922 (2024-04)
DPO Meets PPO: Reinforced Token Optimization for RLHF
2410.20749 (2024-10)
Matryoshka Pilot: Learning to Drive Black-Box LLMs with LLMs
and 5 more not named here
is_digit 7 other papers
1 dated earlier, 6 later
2404.02078 (2024-04)
Advancing LLM Reasoning Generalists with Preference Trees
2502.01456 (2025-02)
Process Reinforcement through Implicit Rewards
2504.16084 (2025-04)
TTRL: Test-Time Reinforcement Learning
and 4 more not named here
handle_base 5 other papers
1 dated earlier, 4 later
2404.02078 (2024-04)
Advancing LLM Reasoning Generalists with Preference Trees
2502.01456 (2025-02)
Process Reinforcement through Implicit Rewards
2504.16084 (2025-04)
TTRL: Test-Time Reinforcement Learning
and 2 more not named here
normalize 5 other papers
1 dated earlier, 4 later
2404.02078 (2024-04)
Advancing LLM Reasoning Generalists with Preference Trees
2502.01456 (2025-02)
Process Reinforcement through Implicit Rewards
2504.16084 (2025-04)
TTRL: Test-Time Reinforcement Learning
and 2 more not named here
floatify 3 other papers
1 dated earlier, 2 later
2402.05808 (2024-02)
Training Large Language Models for Reasoning through Reverse Curriculum Reinforcement Learning
2025.findings-acl.605 (2025 (year only))
LEMMA: Learning from Errors for MatheMatical Advancement in LLMs
2505.21413 (2025-05)
RefTool: Reference-Guided Tool Creation for Knowledge-Intensive Reasoning
within_eps 2 other papers
2 later
2025.findings-acl.605 (2025 (year only))
LEMMA: Learning from Errors for MatheMatical Advancement in LLMs
2505.21413 (2025-05)
RefTool: Reference-Guided Tool Creation for Knowledge-Intensive Reasoning
clean_units 1 other paper
1 later
2505.21413 (2025-05)
RefTool: Reference-Guided Tool Creation for Knowledge-Intensive Reasoning
compute_approx_kl 1 other paper
1 dated earlier
2404.18922 (2024-04)
DPO Meets PPO: Reinforced Token Optimization for RLHF

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

Different from its counterpart outcome reward models (ORMs), which evaluate the entire responses, a process reward model (PRM) scores a reasoning trajectory step by step, providing denser and more fine grained rewards. However, training a PRM requires labels annotated at every intermediate step, presenting significant challenges for both manual and automatic data collection. This paper aims to address this challenge. Both theoretically and empirically, we show that an \textit{implicit PRM} can be obtained at no additional cost, by simply training an ORM on the cheaper response-level labels. The only assumption is to parameterize the outcome reward as the log-likelihood ratios of the policy and reference models, which can be optimized regardless of the specific choice of loss objectives. In experiments, we instantiate our implicit PRMs with various objectives and evaluate their performance on MATH. We show that our implicit PRM outperforms a strong MCTS-based baseline \textit{á la} Math-Shepherd using less than $1/38$ of the training data. Its performance can be further improved with majority voting. We further find that scaling up instructions and responses benefits our implicit PRM, and the latter brings a larger gain. Particularly, we find that our implicit PRM, when instantiated with the cross-entropy (CE) loss, is more data-efficient and can keep improving generation models even when trained with only one response per instruction, the setup that suffers from extreme data scarcity and imbalance. Further, instructions should be relevant to downstream tasks while the diversity of responses does not bring gains. Surprisingly, training on extra Math-Shepherd step labels brings no further improvements to our implicit PRM trained on only outcome data. We hope that our work will encourage a rethinking of PRM training approaches and contribute to making training PRMs more accessible.

For agents

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

get_harvested_code_for_paper("2412.01981")
get_code_for_paper("2412.01981")
have("2412.01981")

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

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

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

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

Connect an agent — have() is free.