mlsanityData to 14 Oct 2026

Treefix: Enabling Execution with a Tree of Prefixes

arXiv 2501.12339 ↗First posted 21 Jan 2025cs.SE cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

The ability to execute code is a prerequisite for various dynamic program analyses. Learning-guided execution has been proposed as an approach to enable the execution of arbitrary code snippets by letting a neural model predict likely values for any missing variables. Although state-of-the-art learning-guided execution approaches, such as LExecutor, can enable the execution of a relative high amount of code, they are limited to predicting a restricted set of possible values and do not use any feedback from previous executions to execute even more code. This paper presents Treefix, a novel learning-guided execution approach that leverages LLMs to iteratively create code prefixes that enable the execution of a given code snippet. The approach addresses the problem in a multi-step fashion, where each step uses feedback about the code snippet and its execution to instruct an LLM to improve a previously generated prefix. This process iteratively creates a tree of prefixes, a subset of which is returned to the user as prefixes that maximize the number of executed lines in the code snippet. In our experiments with two datasets of Python code snippets, Treefix achieves 25% and 7% more coverage relative to the current state of the art in learning-guided execution, covering a total of 84% and 82% of all lines in the code snippets.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 30 of its 46 references that are in the map. First posted on arXiv 21 Jan 2025.

Builds on

30 of 46 references.

References · 30

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
  3. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  4. 2024AutoCodeRover: Autonomous Program Improvementcited by 278
  5. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 232
  6. 2023An Empirical Evaluation of Using Large Language Models for Automated Unit Test Generationcited by 194
  7. 2018SequenceR: Sequence-to-Sequence Learning for End-to-End Program Repaircited by 145
  8. 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolutioncited by 134
  9. 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 125
  10. 2022Large Language Models are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Modelscited by 103
  11. 2023Fuzz4All: Universal Fuzzing with Large Language Modelscited by 88
  12. 2022Less Training, More Repairing Please: Revisiting Automated Program Repair via Zero-shot Learningcited by 76
18 more
  1. 2024Code-Aware Prompting: A study of Coverage Guided Test Generation in Regression Setting using LLMcited by 64
  2. 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repaircited by 50
  3. 2024You Name It, I Run It: An LLM Agent to Execute Tests of Arbitrary Projectscited by 47
  4. 2023Conversational Automated Program Repaircited by 41
  5. 2024A Deep Dive into Large Language Models for Automated Bug Localization and Repaircited by 39
  6. 2019TypeWriter: Neural Type Prediction with Search-based Validationcited by 32
  7. 2023Learning Deep Semantics for Test Completioncited by 31
  8. 2020Typilus: Neural Type Hintscited by 29
  9. 2021Type4Py: Practical Deep Similarity Learning-Based Type Inference for Pythoncited by 19
  10. 2020Automated Unit Test Generation for Pythoncited by 18
  11. 2023ITER: Iterative Neural Repair for Multi-Location Patchescited by 16
  12. 2023GrACE: Generation using Associated Code Editscited by 16
  13. 2024Unprecedented Code Change Automation: The Fusion of LLMs and Transformation by Examplecited by 15
  14. 2020Neural Software Analysiscited by 11
  15. 2023Coeditor: Leveraging Contextual Changes for Multi-round Code Auto-editingcited by 9
  16. 2023LExecutor: Learning-Guided Executioncited by 7
  17. 2024SelfPiCo: Self-Guided Partial Code Execution with LLMscited by 7
  18. 2024ChangeGuard: Validating Code Changes via Pairwise Learning-Guided Executioncited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.