SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.00660 · 2026

FINEVERIFY: Scaling Test-Time Compute with Fine-Grained Self-Verification for Agentic Search

Zhao Chen, Bryan Hooi, See-Kiong Ng, James Xu

arXiv · PDF · Open in the Atlas

Code that ran

11 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, 1 violated it and 0 have no contract verdict; 8 failures of our instrument; 5 no recorded run), measured 2026-11-23; 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/2606.00660.json · badge: /api/ran/2606.00660.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
XuZhao0/fineverify canonical (classifier label)
classifier basis: census
11 ran · 5 no recorded run
FunctionStatusWhere it lives
call_llm_api Ran
ran; our contract draft was wrong, not the code
XuZhao0/fineverify/gemini_bc_decompose.py
code served (permissive licence) · get_code("b704f57a0150f855")
How it ran

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

import threading
import time
import random
from unittest.mock import Mock, MagicMock, patch

# Initialize global state that the function expects
stats_lock = threading.Lock()
api_semaphore = threading.Semaphore(1)

total_stats = {
    'input_tokens': 0,
    'input_tokens_cached': 0,
    'output_tokens': 0,
    'reasoning_tokens': 0,
    'actual_cost': 0.0,
    'successful_requests': 0,
    'failed_requests': 0
}

# Create mock args object
args = Mock()
args.dry_run = True
args.api_key_env = "TEST_API_KEY"
args.max_output_tokens = 2048
args.thinking_level = "deep"
args.model = "gemini-2.0-flash-thinking-exp-01-21"

# Create mock queries dict
queries = {
    'id': 'test_query_1',
    'question': 'What is the capital of France?'
}

# Mock the helper functions and imports that are used in call_llm_api
def extract_gemini_response_text(response):
    return "- Paris\n- City of Light"

def extract_gemini_reasoning_summary(response):
    return "Thinking about French capitals"

def extract_subquestion_items(response_text):
    return ["- Paris", "- City of Light"], [("- Paris",), ("- City of Light",)]

def extract_gemini_decompose_usage(response):
    return 600, 100, 800, 150

def get_gemini_client(api_key_env):
    mock_client = Mock()
    mock_genai = Mock()
    mock_genai.types.GenerateContentConfig = Mock(return_value={})
    mock_genai.types.ThinkingConfig = Mock(return_value={})
    mock_response = Mock()
    mock_response.text = "- Subquestion 1\n- Subquestion 2"
    mock_client.models.generate_content = Mock(return_value=mock_response)
    return mock_client, mock_genai

def is_rate_limit_error(e):
    return "rate_limit" in str(e).lower()

DECOMPOSE_PROMPT = "Decompose the question: {QUESTION}"

ARGS = {
    'queries': queries,
    'args': args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
finalize_defaults Ran
ran; our contract draft was wrong, not the code
XuZhao0/fineverify/gemini_fineverify.py
code served (permissive licence) · get_code("67d954368ecf15ea")
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 Namespace. 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 argparse

def finalize_defaults(args: argparse.Namespace) -> argparse.Namespace:
    if args.judge_model is None:
        args.judge_model = args.search_model if args.judge_provider == 'gemini' else 'gpt-5-mini'
    return args

# Create a Namespace with the required attributes
args = argparse.Namespace(
    judge_model=None,
    search_model='gpt-4',
    judge_provider='gemini'
)

ARGS = {'args': args}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Namespace — a Namespace output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Namespace output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
format_query Ran
ran; our contract draft was wrong, not the code
XuZhao0/fineverify/prompts.py
code served (permissive licence) · get_code("5118a2591c02ba6a")
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

torch.manual_seed(0)

# Construct valid arguments for format_query function
ARGS = {
    "query": "What is the capital of France?",
    "query_template": "QUERY_TEMPLATE_NO_GET_DOCUMENT"
}
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
is_relative_to Ran
ran, violated the contract we drafted
XuZhao0/fineverify/search_agent/gpt5_mini_bc_fineverify.py
pointer only (licence: MIT); the stored copy get_code serves, from AI-Santiago/KAware, is pointer only (licence: NONE) · get_code("eb4bea908ec63670")
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 AI-Santiago/KAware, 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.

load_config_to_args Ran
ran; our contract draft was wrong, not the code
XuZhao0/fineverify/gemini_fineverify.py
code served (permissive licence) · get_code("3df6a57f0f185815")
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 Namespace. 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 argparse
from pathlib import Path
import tempfile
import yaml

# Create a temporary config file for testing
with tempfile.NamedTemporaryFile(mode='w', suffix='.yaml', delete=False) as f:
    config_data = {
        'model': 'test-model-v1',
        'max_tokens': 2048,
        'thinking_level': 'deep',
        'query': 'test_query_data',
        'other_param': 'other_value'
    }
    yaml.dump(config_data, f)
    config_file_path = f.name

# Create an argparse.Namespace with required attributes
args = argparse.Namespace(
    config=config_file_path,
    judge_provider='gemini',
    judge_model=None,
    search_model=None,
    verification_model=None,
    search_max_output_tokens=None,
    verification_max_output_tokens=None,
    search_reasoning_effort=None,
    verification_reasoning_effort=None,
    judge_reasoning_effort=None,
    data=None,
    other_param=None
)

ARGS = {
    'args': args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
yaml — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Namespace — a Namespace output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Namespace 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
load_config_to_args Ran
ran; our contract draft was wrong, not the code
XuZhao0/fineverify/gpt5_mini_fineverify.py
code served (permissive licence) · get_code("d7f41dc1fc130ece")
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 Namespace. 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 argparse
import yaml
import tempfile
from pathlib import Path

# Create a temporary YAML config file
temp_dir = tempfile.TemporaryDirectory()
config_path = Path(temp_dir.name) / "test_config.yaml"

# Write a sample config file
config_content = """
learning_rate: 0.001
batch-size: 32
model-name: test_model
epochs: 10
"""

with config_path.open('w', encoding='utf-8') as f:
    f.write(config_content)

# Create argparse.Namespace with config path
args = argparse.Namespace(config=str(config_path))

ARGS = {
    'args': args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
yaml — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Namespace — a Namespace output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Namespace 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
load_config_to_args Ran
ran; our contract draft was wrong, not the code
XuZhao0/fineverify/search_agent/gemini_bc_fineverify.py
code served (permissive licence) · get_code("7d6b4b417f7962bc")
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 Namespace. 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 argparse
from pathlib import Path
import tempfile
import yaml

# Create a temporary directory and config file for testing
temp_dir = tempfile.mkdtemp()
config_file = Path(temp_dir) / "test_config.yaml"

# Write a minimal config file
config_data = {
    "model": "gpt-4",
    "max_tokens": 2048,
    "thinking_level": "high",
    "mcp_url": "http://localhost:8000",
    "other_param": "test_value"
}

with open(config_file, 'w') as f:
    yaml.dump(config_data, f)

# Create the args Namespace with all necessary attributes
args = argparse.Namespace(
    config=str(config_file),
    search_model=None,
    verification_model=None,
    judge_provider="gemini",
    judge_model=None,
    search_max_output_tokens=None,
    verification_max_output_tokens=None,
    search_thinking_level=None,
    verification_thinking_level=None,
    judge_thinking_level=None,
    search_mcp_url=None,
    verification_mcp_url=None,
    other_param=None
)

ARGS = {"args": args}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
rich, yaml — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Namespace — a Namespace output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Namespace 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
parse_float Ran
ran, honoured the contract we drafted
XuZhao0/fineverify/tools.py
code served (permissive licence) · get_code("33ddee9096d20923")
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
import numpy as np

torch.manual_seed(0)

ARGS = {
    "value": 42.5,
    "default": 0.0,
}
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 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
resolve_existing_path Ran
ran; our contract draft was wrong, not the code
XuZhao0/fineverify/gemini_fineverify.py
code served (permissive licence) · get_code("5756102720f5c78f")
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 PosixPath. 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 tempfile
from pathlib import Path

# Create a temporary directory with a test file
temp_dir = tempfile.mkdtemp()
test_file = Path(temp_dir) / "test.txt"
test_file.write_text("test content")

# Test cases for resolve_existing_path
ARGS = {
    "path_text": str(test_file)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PosixPath — a PosixPath output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PosixPath 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
safe_filename Ran
ran; our contract draft was wrong, not the code
XuZhao0/fineverify/tools.py
code served (permissive licence) · get_code("92f610ebc9667cd2")
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

torch.manual_seed(0)

ARGS = {
    'value': 'test-file_name.txt',
    'fallback': 'default_file'
}
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
safe_int Ran
ran, honoured the contract we drafted
XuZhao0/fineverify/tools.py
code served (permissive licence) · get_code("1cad81d9856d1b1e")
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
import numpy as np

torch.manual_seed(0)

ARGS = {
    "value": 42,
    "default": 0,
}
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 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
call_llm_api Not yet run
unverified (harvested, no recorded run)
XuZhao0/fineverify/gemini_decompose.py
code served (permissive licence) · get_code("94969da0bbe44a34")
How it ran

no invocation recorded.

get_searcher_class Not yet run
unverified (harvested, no recorded run)
XuZhao0/fineverify/search_agent/gpt5_mini_bc_fineverify.py
code served (permissive licence) · get_code("9c7dc936c4e564b2")
How it ran

no invocation recorded.

load_records_for_run Not yet run
unverified (harvested, no recorded run)
XuZhao0/fineverify/gpt5_mini_fineverify.py
code served (permissive licence) · get_code("f3dfcc555b8d619f")
How it ran

no invocation recorded.

load_searcher_module_direct Not yet run
unverified (harvested, no recorded run)
XuZhao0/fineverify/search_agent/gpt5_mini_bc_fineverify.py
code served (permissive licence) · get_code("02e7c978277ad889")
How it ran

no invocation recorded.

resolve_existing_path Not yet run
unverified (harvested, no recorded run)
XuZhao0/fineverify/search_agent/gemini_bc_fineverify.py
code served (permissive licence) · get_code("15c256a7c93ff2e6")
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, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 1 the same month, 0 later) and 15 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

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

FunctionAlso present inEarliest-datedOthers named
is_relative_to 1 other paper
1 the same month
2606.20661 (2026-06)
From Knowing to Acting: Benchmarking Self-Awareness Capability of LLM Agents

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

Agentic search requires language model agents to explore many sources and answer complex information-seeking questions. Scaling testtime compute is a promising way to improve these agents, but current approaches can fail, because correct answers are often sparse and score-based selection depends on model calibration. We propose FINEVERIFY, a finegrained self-verification framework that decomposes each question into checkable subquestions, verifies sampled candidates against each sub-question, and selects the candidate with the highest aggregated score. This percheck structure turns selection into simpler local judgments and produces scores under the same explicit criteria. Across four agentic search benchmarks and two models, FINEVER-IFY consistently outperforms standard scaling baselines. With only four sampled trajectories, it improves GPT-5-mini by 8.2 accuracy points and Gemini-3-flash by 5.6% on average. With 12 samples, FINEVERIFY enables GPT-5-mini to surpass frontier GPT-5 on BrowseComp-Plus. Beyond accuracy, FINEVERIFY produces interpretable verification traces that help audit benchmark errors, suggesting broader applications for inspecting agentic search systems. Code and data are available at https: //github.com/XuZhao0/fineverify.

For agents

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

get_harvested_code_for_paper("2606.00660")
get_code_for_paper("2606.00660")
have("2606.00660")

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

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

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

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

Connect an agent — have() is free.