Collaborative Agents for Automated Program Repair in Ruby
Nikta Akbarpour, Mahdieh Sadat Benis, Fatemeh Hendijani Fard, Ali Ouni, Mohamed Aymen Saied

TL;DR
This paper introduces RAMP, a lightweight, multi-agent framework for automated program repair in Ruby that outperforms prior methods by efficiently generating and refining fixes through feedback-driven iterations.
Contribution
RAMP is a novel multi-agent, feedback-driven framework for Ruby APR that avoids large databases and costly fine-tuning, demonstrating improved repair performance.
Findings
RAMP achieves 67% pass@1 on Ruby in XCodeEval.
RAMP converges within five iterations.
Test generation and self-reflection are key to RAMP's success.
Abstract
Automated Program Repair (APR) has advanced rapidly with Large Language Models (LLMs), but most existing methods remain computationally expensive, and focused on a small set of languages. Ruby, despite its widespread use in web development and the persistent challenges faced by its developers, has received little attention in APR research. In this paper, we introduce RAMP, a novel lightweight framework that formulates program repair as a feedback-driven, iterative process for Ruby. RAMP employs a team of collaborative agents that generate targeted tests, reflect on errors, and refine candidate fixes until a correct solution is found. Unlike prior approaches, RAMP is designed to avoid reliance on large multilingual repair databases or costly fine-tuning, instead operating directly on Ruby through lightweight prompting and test-driven feedback. Evaluation on the XCodeEval benchmark shows…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software System Performance and Reliability · Software Engineering Research
