paper-with-me

Papers

Collaborative Agents for Automated Program Repair in Ruby

2025-11-06 · Nikta Akbarpour, Mahdieh Sadat Benis, Fatemeh Hendijani Fard, Ali Ouni, Mohamed Aymen Saied arxiv

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 that RAMP achieves a pass@1 of 67% on Ruby, outper-forming prior approaches. RAMP converges quickly within five iterations, and ablation studies confirm that test generation and self-reflection are key drivers of its performance. Further analysis shows that RAMP is particularly effective at repairing wrong answers, compilation errors, and runtime errors. Our approach provides new insights into multi-agent repair strategies, and establishes a foundation for extending LLM-based debugging tools to under-studied languages.

📄 PDF Abstract BibTeX arXiv:2511.03925

Code (0)

등록된 구현이 없습니다.

Tasks

Program Repair

Similar Papers 제목 키워드 기반

Automated Program Repair of Uncompilable Student Code

2025-10-07 · Griffin Pitts, Aum Pandya, Darsh Rank, Tirth Bhatt 외 arxiv

A significant portion of student programming submissions in CS1 learning environments are uncompilable, limiting their use in student modeling and downstream knowledge tracing. Traditional modeling pipelines often exclud…

Knowledge TracingProgram Repair

SIADAFIX: issue description response for adaptive program repair

2025-10-17 · Xin Cao, Nan Yu arxiv

We propose utilizing fast and slow thinking to enhance the capabilities of large language model-based agents on complex tasks such as program repair. In particular, we design an adaptive program repair method based on is…

Program Repair

Ruby Teaming: Improving Quality Diversity Search with Memory for Automated Red Teaming

2024-06-17 · Vernon Toh Yan Han, Rishabh Bhardwaj, Soujanya Poria

We propose Ruby Teaming, a method that improves on Rainbow Teaming by including a memory cache as its third dimension. The memory dimension provides cues to the mutator to yield better-quality prompts, both in terms of a…

DiversityRed Teaming

MemoCoder: Automated Function Synthesis using LLM-Supported Agents

2025-07-24 · Yiping Jia, Zhen Ming Jiang, Shayan Noei, Ying Zou arxiv

With the widespread adoption of Large Language Models (LLMs) such as GitHub Copilot and ChatGPT, developers increasingly rely on AI-assisted tools to support code generation. While LLMs can generate syntactically correct…

Code Generation

On the Transferability of Pre-trained Language Models for Low-Resource Programming Languages

2022-04-05 · Fuxiang Chen, Fatemeh Fard, David Lo, Timofey Bryksin

A recent study by Ahmed and Devanbu reported that using a corpus of code written in multilingual datasets to fine-tune multilingual Pre-trained Language Models (PLMs) achieves higher performance as opposed to using a cor…

Code SearchCode Summarization