SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2308.00436 · 2023

SelfCheck: Using LLMs to Zero-Shot Check Their Own Step-by-Step Reasoning

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; 3 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 10 failures of our instrument; 2 no recorded run), measured 2026-11-22; 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/2308.00436.json · badge: /api/ran/2308.00436.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
ningmiao/selfcheck canonical (classifier label)
classifier basis: census
14 ran · 2 no recorded run
FunctionStatusWhere it lives
get_exact_answer Ran
ran; our contract draft was wrong, not the code
ningmiao/selfcheck/src/arithmatic_problem_utils.py
pointer only (licence: NONE) · get_code("c9d0417e3e64a048")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ningmiao/selfcheck 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_last_expression Ran
ran; our contract draft was wrong, not the code
ningmiao/selfcheck/src/str2arithmatic.py
pointer only (licence: NONE) · get_code("3c73c002559c8c87")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ningmiao/selfcheck 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_response_chat Ran
ran; our contract draft was wrong, not the code
ningmiao/selfcheck/src/gpt.py
pointer only (licence: NONE) · get_code("3cad79c9bc67cca1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ningmiao/selfcheck 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_response_text Ran
ran; our contract draft was wrong, not the code
ningmiao/selfcheck/src/gpt.py
pointer only (licence: NONE) · get_code("026ecf76275bc182")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ningmiao/selfcheck 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_string_between_bracket Ran
ran; our contract draft was wrong, not the code
ningmiao/selfcheck/src/str2arithmatic.py
pointer only (licence: NONE) · get_code("f5e4834f5d25c4d8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ningmiao/selfcheck 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_unit Ran
ran; our contract draft was wrong, not the code
ningmiao/selfcheck/src/str2arithmatic.py
pointer only (licence: NONE) · get_code("31b1e5e99c4d8eb7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ningmiao/selfcheck 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_weight_1 Ran
ran, honoured the contract we drafted
ningmiao/selfcheck/script/evaluate-checking.py
pointer only (licence: NONE) · get_code("8bd18a209a72b613")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ningmiao/selfcheck 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_weight_2 Ran
ran, honoured the contract we drafted
ningmiao/selfcheck/script/evaluate-checking.py
pointer only (licence: NONE) · get_code("45cfa55415870fb6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ningmiao/selfcheck 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_GSM8K Ran
ran; our contract draft was wrong, not the code
ningmiao/selfcheck/src/dataset.py
pointer only (licence: NONE) · get_code("5fca40e8cb3dace0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ningmiao/selfcheck 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_MathQA Ran
ran; our contract draft was wrong, not the code
ningmiao/selfcheck/src/dataset.py
pointer only (licence: NONE) · get_code("8e85162d2f0494e1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ningmiao/selfcheck 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_dataset Ran
ran; our contract draft was wrong, not the code
ningmiao/selfcheck/src/dataset.py
pointer only (licence: NONE) · get_code("136ff6959b00109f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ningmiao/selfcheck 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.

transform2verifierformat Ran
ran; our contract draft was wrong, not the code
ningmiao/selfcheck/src/utils.py
pointer only (licence: NONE) · get_code("553f04e6b7bed21c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ningmiao/selfcheck 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.

verify_format Ran
ran, honoured the contract we drafted
ningmiao/selfcheck/src/rule.py
pointer only (licence: NONE) · get_code("50f437e243ace864")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ningmiao/selfcheck 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.

verify_middle Ran
ran, violated the contract we drafted
ningmiao/selfcheck/src/rule.py
pointer only (licence: NONE) · get_code("657a47aed803ffa4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ningmiao/selfcheck 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.

check Not yet run
unverified (harvested, no recorded run)
ningmiao/selfcheck/src/multiprocess.py
pointer only (licence: NONE) · get_code("82c1d9826986afae")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ningmiao/selfcheck 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_predicted_dict Not yet run
unverified (harvested, no recorded run)
ningmiao/selfcheck/script/evaluate-checking.py
pointer only (licence: NONE) · get_code("cd995ccec25fdd48")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ningmiao/selfcheck 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.

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, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 16 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

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

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

Repositories linked to this paper

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

Abstract

The recent progress in large language models (LLMs), especially the invention of chain-of-thought prompting, has made it possible to automatically answer questions by stepwise reasoning. However, when faced with more complicated problems that require non-linear thinking, even the strongest LLMs make mistakes. To address this, we explore whether LLMs are able to recognize errors in their own step-by-step reasoning, without resorting to external resources. To this end, we propose SelfCheck, a general-purpose zero-shot verification schema for recognizing such errors. We then use the results of these checks to improve question-answering performance by conducting weighted voting on multiple solutions to the question. We test SelfCheck on three datasets (GSM8K, MathQA, and MATH) and find that it successfully recognizes errors and, in turn, increases final answer accuracies.

For agents

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

get_harvested_code_for_paper("2308.00436")
get_code_for_paper("2308.00436")
have("2308.00436")

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

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

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

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

Connect an agent — have() is free.