A Tool for In-depth Analysis of Code Execution Reasoning of Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liu, Changshu, Jabbarvand, Reyhaneh
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929692624289792
author Liu, Changshu
Jabbarvand, Reyhaneh
author_facet Liu, Changshu
Jabbarvand, Reyhaneh
contents Code Executing Reasoning is becoming a new non-functional metric that assesses the ability of large language models (LLMs) in programming tasks. State-of-the-art frameworks (CodeMind or REval) and benchmarks (CruxEval) usually focus on LLM's prediction of a given code's input/output or intermediate variable states/values on limited programs. However, there is no tool for more in-depth analysis of the results. Without such a tool, the observations about LLM's code execution reasoning cannot be generalized to more datasets, preventing the research community and practitioners from devising the next generation of LLMs with better code execution reasoning abilities. This paper introduces ExeRScope, a series of tools and heuristics to analyze the result of code execution reasoning frameworks to understand better the impact of code properties in the studied benchmarks on the code execution reasoning. With such tooling, analysis can be generalized to code with similar properties without the urgent need to design more benchmarks, which is a cumbersome effort.
format Preprint
id arxiv_https___arxiv_org_abs_2501_18482
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle A Tool for In-depth Analysis of Code Execution Reasoning of Large Language Models
Liu, Changshu
Jabbarvand, Reyhaneh
Software Engineering
Code Executing Reasoning is becoming a new non-functional metric that assesses the ability of large language models (LLMs) in programming tasks. State-of-the-art frameworks (CodeMind or REval) and benchmarks (CruxEval) usually focus on LLM's prediction of a given code's input/output or intermediate variable states/values on limited programs. However, there is no tool for more in-depth analysis of the results. Without such a tool, the observations about LLM's code execution reasoning cannot be generalized to more datasets, preventing the research community and practitioners from devising the next generation of LLMs with better code execution reasoning abilities. This paper introduces ExeRScope, a series of tools and heuristics to analyze the result of code execution reasoning frameworks to understand better the impact of code properties in the studied benchmarks on the code execution reasoning. With such tooling, analysis can be generalized to code with similar properties without the urgent need to design more benchmarks, which is a cumbersome effort.
title A Tool for In-depth Analysis of Code Execution Reasoning of Large Language Models
topic Software Engineering
url https://arxiv.org/abs/2501.18482