mlsanityData to 7 Oct 2026

Escaping Python Dependency Hell: A Hybrid Replay-and-Repair Pipeline for Python Dependency Resolution

arXiv 2609.26952 ↗First posted 22 Sep 2026cs.AI cs.MA cs.SEcited by 0

Not on the map. Why?

Abstract (arXiv)

Dependency conflicts in Python ecosystems arise from incompatible version constraints, missing packages, and undocumented compatibility relationships, causing many real-world code snippets to fail at execution. This paper presents PLLM+, a hybrid dependency-repair pipeline evaluated on the HG2.9K benchmark of 2,891 dependency-failing snippets. PLLM+ prioritizes inexpensive deterministic steps before invoking LLM-based repair: static AST-based interpreter inference, replay of historically successful dependency configurations from the competition-provided solutions database, and live PyPI validation of candidate package versions. When these steps do not resolve a case, the system falls back to a structured LLM-based repair loop with typed error classification and Proposer/Critic agents. On HG2.9K, PLLM+ solves 1,500 out of 2,891 snippets, compared with 1,169 solved by the PLLM baseline. It also reduces average runtime from 368.7 to 71.8 seconds per snippet. Most successful fixes come from replaying known configurations: 1,495 of the 1,500 successful fixes are produced by the solutions database, while the LLM fallback accounts for 5 additional fixes. These results suggest that, in this benchmark setting, deterministic reuse of previously validated dependency configurations is a simple and effective strategy, with LLM-based repair serving as a secondary fallback for cases not covered by prior solutions.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 11 of its 19 references that are in the map. First posted on arXiv 22 Sep 2026.

Builds on

11 of 19 references.

References · 11

  1. 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,739
  2. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 225
  3. 2025A Survey of LLM-based Automated Program Repair: Taxonomies, Design Paradigms, and Applicationscited by 24
  4. 2017Do Developers Update Their Library Dependencies? An Empirical Study on the Impact of Security Advisories on Library Migrationcited by 23
  5. 2019DockerizeMe: Automatic Inference of Environment Dependencies for Python Code Snippetscited by 13
  6. 2025When Judgment Becomes Noise: How Design Failures in LLM Judge Benchmarks Silently Undermine Validitycited by 11
  7. 2025AgentMesh: A Cooperative Multi-Agent Generative AI Framework for Software Development Automationcited by 8
  8. 2023Less is More? An Empirical Study on Configuration Issues in Python PyPI Ecosystemcited by 3
  9. 2024PyRadar: Towards Automatically Retrieving and Validating Source Code Repository Information for PyPI Packagescited by 3
  10. 2025The Last Dependency Crusade: Solving Python Dependency Conflicts with LLMscited by 3
  11. 2018Gistable: Evaluating the Executability of Python Code Snippets on GitHubcited by 1

Built on by

Not cited yet.