SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.08068 · 2024

Teaching-Inspired Integrated Prompting Framework: A Novel Approach for Enhancing Reasoning in Large Language Models

arXiv · PDF · Open in the Atlas

Code that ran

8 of 8 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; 1 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 5 failures of our instrument; 0 no recorded run), measured 2026-11-21; 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/2410.08068.json · badge: /api/ran/2410.08068.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
sallytan13/teaching-inspired-prompting canonical (classifier label)
classifier basis: census
8 ran · 0 no recorded run
FunctionStatusWhere it lives
calcu_similar_score Ran
ran, honoured the contract we drafted
sallytan13/teaching-inspired-prompting/tip_prompt/analyser/normal_analyser.py
pointer only (licence: NONE) · get_code("d7f6f76cf9a00163")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sallytan13/teaching-inspired-prompting 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_is_same_answer Ran
ran, violated the contract we drafted
sallytan13/teaching-inspired-prompting/tip_prompt/analyser/choice_analyser.py
pointer only (licence: NONE) · get_code("74b17deda70557bb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sallytan13/teaching-inspired-prompting 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_is_same_answer Ran
ran, violated the contract we drafted
sallytan13/teaching-inspired-prompting/tip_prompt/analyser/judge_analyser.py
pointer only (licence: NONE) · get_code("245188e2f808135f")
How it ran

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

do_python Ran
ran; our contract draft was wrong, not the code
sallytan13/teaching-inspired-prompting/tip_prompt/utils/calcu_python_util.py
pointer only (licence: NONE) · get_code("e5f22e392ee8835e")
How it ran

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

extract_num Ran
ran; our contract draft was wrong, not the code
sallytan13/teaching-inspired-prompting/tip_prompt/analyser/normal_analyser.py
pointer only (licence: NONE) · get_code("15f824a74c6ed931")
How it ran

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

extract_python_code Ran
ran; our contract draft was wrong, not the code
sallytan13/teaching-inspired-prompting/tip_prompt/utils/calcu_python_util.py
pointer only (licence: NONE) · get_code("8c5837fd82df0bd2")
How it ran

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

normal_ans Ran
ran; our contract draft was wrong, not the code
sallytan13/teaching-inspired-prompting/tip_prompt/analyser/judge_analyser.py
pointer only (licence: NONE) · get_code("e48602a690045461")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sallytan13/teaching-inspired-prompting 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 Ran
ran; our contract draft was wrong, not the code
sallytan13/teaching-inspired-prompting/tip_prompt/utils/calcu_python_util.py
pointer only (licence: NONE) · get_code("ac9070f28f277af9")
How it ran

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

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 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 8 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-21.

Repositories linked to this paper

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

Abstract

Large Language Models (LLMs) exhibit impressive performance across various domains but still struggle with arithmetic reasoning tasks. Recent work shows the effectiveness of prompt design methods in enhancing reasoning capabilities. However, these approaches overlook crucial requirements for prior knowledge of specific concepts, theorems, and tricks to tackle most arithmetic reasoning problems successfully. To address this issue, we propose a novel and effective Teaching-Inspired Integrated Framework, which emulates the instructional process of a teacher guiding students. This method equips LLMs with essential concepts, relevant theorems, and similar problems with analogous solution approaches, facilitating the enhancement of reasoning abilities. Additionally, we introduce two new Chinese datasets, MathMC and MathToF, both with detailed explanations and answers. Experiments are conducted on nine benchmarks which demonstrates that our approach improves the reasoning accuracy of LLMs. With GPT-4 and our framework, we achieve new state-of-the-art performance on four math benchmarks (AddSub, SVAMP, Math23K and AQuA) with accuracies of 98.2% (+3.3%), 93.9% (+0.2%), 94.3% (+7.2%) and 81.1% (+1.2%). Our data and code are available at https://github.com/SallyTan13/Teaching-Inspired-Prompting.

For agents

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

get_harvested_code_for_paper("2410.08068")
get_code_for_paper("2410.08068")
have("2410.08068")

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

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

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

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

Connect an agent — have() is free.