SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.11199 · 2024

Direct Evaluation of Chain-of-Thought in Multi-hop Reasoning with Knowledge Graphs

arXiv · PDF · Open in the Atlas

Code that ran

10 of 13 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; 7 failures of our instrument; 3 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/2402.11199.json · badge: /api/ran/2402.11199.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
minhvuong2000/llmreasoncert canonical (classifier label)
classifier basis: census
10 ran · 3 no recorded run
FunctionStatusWhere it lives
calc_avg_match_edit_rate Ran
ran; our contract draft was wrong, not the code
minhvuong2000/llmreasoncert/finegrained_analysis.py
pointer only (licence: NONE) · get_code("78c0a2f574146e9d")
How it ran

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

calculate_answer_error_reasoning Ran
ran; our contract draft was wrong, not the code
minhvuong2000/llmreasoncert/finegrained_analysis.py
pointer only (licence: NONE) · get_code("80d308fe20d561e8")
How it ran

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

eval_acc Ran
ran, honoured the contract we drafted
minhvuong2000/llmreasoncert/evaluate_results.py
pointer only (licence: NONE) · get_code("35d831fcc8aee4e2")
How it ran

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

find_best_triplet Ran
ran; our contract draft was wrong, not the code
minhvuong2000/llmreasoncert/certify_fact.py
pointer only (licence: NONE) · get_code("69a2e9646f4aca33")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, minhvuong2000/llmreasoncert 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_key Ran
ran; our contract draft was wrong, not the code
minhvuong2000/llmreasoncert/extract_subgraph/deal_cvt.py
pointer only (licence: NONE) · get_code("2df04bc8e76254e2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, minhvuong2000/llmreasoncert 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_cvt Ran
ran, violated the contract we drafted
minhvuong2000/llmreasoncert/extract_subgraph/deal_cvt.py
pointer only (licence: NONE) · get_code("24992d56b6af72fb")
How it ran

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

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

match Ran
ran, violated the contract we drafted
minhvuong2000/llmreasoncert/evaluate_results.py
pointer only (licence: NONE) · get_code("876ffe758695f56b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, minhvuong2000/llmreasoncert 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
minhvuong2000/llmreasoncert/evaluate_results.py
pointer only (licence: NONE) · get_code("c520f9221e13e737")
How it ran

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

write_results Ran
ran; our contract draft was wrong, not the code
minhvuong2000/llmreasoncert/llm_generation.py
pointer only (licence: NONE) · get_code("7c17bf36914f8229")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, minhvuong2000/llmreasoncert 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_output_file Not yet run
unverified (harvested, no recorded run)
minhvuong2000/llmreasoncert/discriminative-cert.py
pointer only (licence: NONE) · get_code("2619750f8ec27e4f")
How it ran

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

prompt_builder Not yet run
unverified (harvested, no recorded run)
minhvuong2000/llmreasoncert/llm_generation.py
pointer only (licence: NONE) · get_code("8f73e963ff6a9811")
How it ran

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

save_result_df Not yet run
unverified (harvested, no recorded run)
minhvuong2000/llmreasoncert/generative-cert.py
pointer only (licence: NONE) · get_code("9ef02a39f6f7c2cc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, minhvuong2000/llmreasoncert 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 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 2 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 2 later) and 11 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
match 2 other papers
1 later, 1 same year, order not determinable
2024.findings-emnlp.927 (2024 (year only))
Less is More: Making Smaller Language Models Competent Subgraph Retrievers for Multi-hop KGQA
2410.20724 (2024-10)
Simple is Effective: The Roles of Graphs and Large Language Models in Knowledge-Graph-Based Retrieval-Augmented Generation
eval_acc 1 other paper
1 later
2410.20724 (2024-10)
Simple is Effective: The Roles of Graphs and Large Language Models in Knowledge-Graph-Based Retrieval-Augmented Generation

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

Large language models (LLMs) demonstrate strong reasoning abilities when prompted to generate chain-of-thought (CoT) explanations alongside answers. However, previous research on evaluating LLMs has solely focused on answer accuracy, neglecting the correctness of the generated CoT. In this paper, we delve deeper into the CoT reasoning capabilities of LLMs in multi-hop question answering by utilizing knowledge graphs (KGs). We propose a novel discriminative and generative CoT evaluation paradigm to assess LLMs' knowledge of reasoning and the accuracy of the generated CoT. Through experiments conducted on 5 different families of LLMs across 2 multi-hop question-answering datasets, we find that LLMs possess sufficient knowledge to perform reasoning. However, there exists a significant disparity between answer accuracy and faithfulness of the CoT reasoning generated by LLMs, indicating that they often arrive at correct answers through incorrect reasoning.

For agents

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

get_harvested_code_for_paper("2402.11199")
get_code_for_paper("2402.11199")
have("2402.11199")

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

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

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

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

Connect an agent — have() is free.