Automatización de Code Review utilizando LLMs

Autores/as

Palabras clave:

automatización de revisión de código, modelos de lenguaje de gran escala (LLMs), ingeniería de prompts, integración continua y entrega continua (CI/CD), inteligencia artificial centrada en el humano, análisis estático de código

Resumen

En el desarrollo moderno de software, los métodos ágiles exigen una entrega rápida y continua, lo que incrementa la presión sobre los equipos de desarrollo y pone en evidencia ineficiencias en tareas que consumen mucho tiempo, como la revisión manual de código. Aunque es fundamental para garantizar la calidad del software, la revisión de código suele percibirse como costosa y demandante, lo que lleva a muchos equipos a minimizar su uso o a tener dificultades para sostenerla de manera efectiva dentro de sus flujos de trabajo. Los avances recientes en los Modelos de Lenguaje de Gran Escala (LLMs) han habilitado enfoques automatizados para la revisión de código; sin embargo, la investigación actual se centra principalmente en el avance y la especialización de los modelos mediante preentrenamiento o ajuste fino. Si bien estos enfoques son efectivos, requieren una cantidad considerable de recursos computacionales, inversión de tiempo y conocimiento especializado, lo que limita su aplicabilidad en escenarios reales. Este trabajo propone una alternativa liviana y práctica para la automatización parcial de la revisión de código utilizando modelos LLM disponibles “off-the-shelf”, es decir, sin necesidad de entrenamiento adicional. La solución aprovecha técnicas de ingeniería de prompts y el acceso a través de APIs para integrarse de manera fluida en pipelines de CI/CD, generando retroalimentación estructurada sobre pull requests basada en reglas configurables. Una evaluación en tres dimensiones demuestra un rendimiento consistente frente a distintos tamaños de entrada y evidencia el potencial de la herramienta para reducir carga de trabajo al actuar como filtro preliminar. Este enfoque ofrece una solución accesible y escalable, alineada con principios de inteligencia artificial centrada en el ser humano.

Descargas

Los datos de descarga aún no están disponibles.

Referencias

Bosu, A., & Carver, J. C. (2013). Impact of peer code review on peer impression formation: A survey. 2013 ACM / IEEE International Symposium on Empirical Software Engineering and Measurement.

Bosu, A., Greiler, M., & Bird, C. (2015). Characteristics of Useful Code Reviews: An Empirical Study at Microsoft. 2015 IEEE/ACM 12th Working Conference on Mining Software Repositories, 146-156. https://doi.org/10.1109/MSR.2015.21

Frömmgen, A., Austin, J., Choy, P., Ghelani, N., Kharatyan, L., Surita, G., Khrapko, E., Lamblin, P., Manzagol, P.-A., Revaj, M., Tabachnyk, M., Tarlow, D., Villela, K., Zheng, D., Chandra, S., & Maniatis, P. (2024). Resolving Code Review Comments with Machine Learning.

Jason Wei and Xuezhi Wang and Dale Schuurmans and Maarten Bosma and Brian Ichter and Fei Xia and Ed H. Chi and Quoc V. Le and Denny Zhou. (2023). Chain-of-Thought Prompting Elicits Reasoning in Large Language Models.

Jia Li and Ge Li and Yongmin Li and Zhi Jin. (2023). Structured Chain-ofThought Prompting for Code Generation.

Junyi Lu and Lei Yu and Xiaojia Li and Li Yang and Chun Zuo. (2023). LLaMAReviewer: Advancing Code Review Automation with Large Language Models through Parameter-Efficient Fine-Tuning.

Li, Z., Lu, S., Guo, D., Duan, N., Jannu, S., Jenks, G., Majumder, D., Green, J., Svyatkovskiy, A., Fu, S., & Sundaresan, N. (2022). Automating Code Review Activities by Large-Scale Pre-training.

Licorish, S. A., Holvitie, J., Hyrynsalmi, S., Leppänen, V., MacDonell, S. G., & Buchan, J. (2016). Adoption and Suitability of Software Development Methods and Practices.

Pornprasit, C., & Tantithamthavorn, C. (2024). Fine-tuning and prompt engineering for large language models-based code review automation. Inf. Softw. Technol., 175(107523), 107523.

Rasheed, Z., Sami, M. A., Waseem, M., Kemell, K.-K., Wang, X., Nguyen, A., Systä, K., & Abrahamsson, P. (2025). AI-powered Code Review with LLMs: Early Results. https://arxiv.org/abs/2404.18496

Shneiderman, B. (2022). Human-centered AI: ensuring human control while increasing automation. Proceedings of the 5th Workshop on Human Factors in Hypertext. https://doi.org/10.1145/3538882.3542790

TrustRadius. (2022). Agile Project Management Software Survey.

Descargas

Publicado

2026-09-23

Número

Sección

ASSE - Argentine Symposium on Software Engineering

Cómo citar

Olmos, J., Gardey, J. C., & Grigera, J. (2026). Automatización de Code Review utilizando LLMs. JAIIO, Jornadas Argentinas De Informática, 12(2), 15-28. https://revistas.unlp.edu.ar/JAIIO/article/view/22003