Skip to main content

Mahi Begoug

Mahi Begoug is a Postdoctoral Researcher at the Data-driven Analysis of Software (DAS) Lab, Concordia University, Montréal, Canada, under the supervision of Prof. Emad Shihab.

He received his Ph.D. in Software Engineering from École de technologie supérieure (ÉTS), Université du Québec, Canada, in 2026, under the supervision of Prof. Ali Ouni. Prior to his Ph.D., he earned a Research Master's degree in Software Engineering from the University of Montpellier, France, in 2022, and an Engineering degree in Computer Science from the École nationale supérieure d'informatique (ESI), Algiers, Algeria, in 2021.

His research interests lie at the intersection of Software Engineering, Artificial Intelligence, and Software Quality, with a particular emphasis on developing intelligent approaches to improve software development, maintenance, and evolution.

During his Ph.D., his research focused on Infrastructure as Code (IaC), investigating software quality, defect prediction, automated repair, technical debt, and the evolution of infrastructure configurations. His work combined empirical software engineering, machine learning, and automated program analysis to understand and improve the reliability and maintainability of IaC systems.

Currently, his research focuses on AI for Software Engineering (AI4SE), particularly LLM-based coding agents and multi-agent systems. His ongoing research investigates the reliability, effectiveness, and efficiency of autonomous coding agents, including agent collaboration and coordination, persistent memory, coding-agent trajectories, and self-improving agentic systems. He is particularly interested in understanding how these systems make decisions, interact with software repositories, and can be evaluated and improved throughout the software engineering lifecycle.

Research Interests​

  • AI for Software Engineering (AI4SE)
  • LLM-based Coding Agents and Agentic Systems
  • Multi-Agent Systems for Software Engineering
  • Software Quality, Maintenance, and Evolution
  • Empirical Software Engineering and Mining Software Repositories
  • Infrastructure as Code (IaC) and DevOps

Publications​

Publications Before Joining DAS​

  • M. Begoug, A. Ouni, A. Ajjel, and E. A. AlOmar, “Understanding Self-Admitted Technical Debt in Infrastructure-as-Code,” ACM Transactions on Software Engineering and Methodology (TOSEM), (2026). (Just Accepted)

  • M. Begoug, A. Ouni, and B. Salah, “From Diagnostics to Integration-Aware LLM Repair for Terraform Infrastructure Code,” IEEE Transactions on Software Engineering (TSE), (2026). (Under Review)

  • M. Chouchen, M. Begoug, and A. Ouni, “Beyond Single Code Changes: An Empirical Study of Topic-Based Code Review Practices in Gerrit for OpenStack,” in 23rd International Conference on Mining Software Repositories (MSR), 12 pages, (2026).

  • I. Oukhay, M. Begoug, M. Chouchen, and A. Ouni, “When AI Code Doesn’t Stick: An Empirical Study on Reverted Changes Introduced by AI Coding Agents,” in 23rd International Conference on Mining Software Repositories (MSR), Mining Challenge Track, Best Paper Award, 5 pages, (2026).

  • J. Khelifi, M. Begoug, M. Sayagh, M. Saied, A. Ouni, and M. Chouchen, “On the Reliability of Agentic AI in Continuous Integration Pipelines,” in 23rd International Conference on Mining Software Repositories (MSR), Mining Challenge Track, 5 pages, (2026).

  • M. Begoug, A. Ouni, and J. Khelifi, “Understanding AWS Provider Dependencies Updates in Infrastructure-as-Code: Empirical Study, Taxonomy, and Insights,” IEEE Transactions on Services Computing (TSC), (2025). (Published)

  • M. Begoug, M. Chouchen, A. Ouni, E. A. Alomar, and M. W. Mkaouer, “Fine-Grained Instance Space Analysis to Predict Infrastructure-as-Code Defects,” Journal of Systems and Software (JSS), (2025). (Under Review)

  • M. Chouchen, M. Begoug, and A. Ouni, “On the Impact of the Decision Threshold on Predictive Model’s Performance: A Case Study on Software Defect Prediction,” Empirical Software Engineering (EMSE), (2025). (Under Review)

  • I. Oukhay, M. Chouchen, A. Ouni, M. Begoug, and F. H. Fard, “Unveiling the Performance of Large Language Models for Code Change Intent Prediction Using Instance Space Analysis,” ACM Transactions on Software Engineering and Methodology (TOSEM), (2025). (Under Review)

  • M. Begoug, A. Ouni, and M. Chouchen, “How Do Infrastructure-as-Code Practitioners Update Their Dependencies? An Empirical Study on Terraform Module Updates,” in 22nd International Conference on Mining Software Repositories (MSR), pp. 642–653, 12 pages, (2025).

  • M. Begoug and A. Ouni, “How Do Infrastructure-as-Code Practitioners Update Their Provider Dependencies? An Empirical Study on the AWS Provider,” in International Conference on Service-Oriented Computing (ICSOC), pp. 373–388, Distinguished Paper, Best Industrial Paper, 15 pages, (2024).

  • M. Begoug, M. Chouchen, A. Ouni, E. A. Alomar, and M. W. Mkaouer, “Fine-Grained Just-in-Time Defect Prediction at the Block Level in Infrastructure-as-Code (IaC),” in 21st International Conference on Mining Software Repositories (MSR), pp. 100–112, 12 pages, (2024).

  • M. Chouchen, N. Bessghaier, M. Begoug, A. Ouni, E. Alomar, and M. W. Mkaouer, “How Do Software Developers Use ChatGPT? An Exploratory Study on GitHub Pull Requests,” in 21st International Conference on Mining Software Repositories (MSR), Mining Challenge Track, pp. 212–216, Best Paper Award, 5 pages, (2024).

  • M. Begoug, M. Chouchen, and A. Ouni, “Terrametrics: An Open Source Tool for Infrastructure-as-Code (IaC) Quality Metrics in Terraform,” in 32nd International Conference on Program Comprehension (ICPC), Tool Track, pp. 450–454, 5 pages, (2024).

  • N. Bessghaier, M. Begoug, C. Mebarki, A. Ouni, M. Sayagh, and M. W. Mkaouer, “On the Prevalence, Co-Occurrence, and Impact of Infrastructure-as-Code Smells,” in International Conference on Software Analysis, Evolution and Reengineering (SANER), pp. 23–34, 12 pages, (2024).

  • M. Begoug, N. Bessghaier, A. Ouni, E. A. Alomar, and M. W. Mkaouer, “What Do Infrastructure-as-Code Practitioners Discuss? An Empirical Study on Stack Overflow,” in International Symposium on Empirical Software Engineering and Measurement (ESEM), pp. 1–12, 12 pages, (2023).

Education​

  • Ph.D. in Software Engineering (2023–2026)
    École de technologie supérieure (ÉTS), Université du Québec, Montréal, Canada.
    Research: Software Quality, Evolution, and Automation of Infrastructure as Code (IaC).
    Supervisor: Prof. Ali Ouni.
    Distinction: Excellent.

  • Research Master's Degree in Software Engineering (2021–2022)
    University of Montpellier, Montpellier, France.
    Research: A Dataflow-Based Event-Driven Architecture for Microservices Interoperability.

  • Engineering Degree in Computer Science — Software Engineering (2016–2021)
    École nationale supérieure d'informatique (ESI), Algiers, Algeria.
    Specialization: Software Systems and Engineering (SIL).
    Research: A Generic Approach for Migrating the Client Side of Web Applications Using Model-Driven Engineering.

Research Experience​

Postdoctoral Researcher​

Concordia University — DAS Lab
July 2026 – Present

  • Investigating the reliability, effectiveness, and efficiency of LLM-based coding agents.
  • Exploring persistent memory and its impact on coding-agent behavior, trajectories, and performance.
  • Mentoring graduate students working on AI-driven software engineering.

Doctoral Researcher​

École de technologie supérieure (ÉTS)
2023 – 2026

  • Investigated quality assurance, maintenance, and evolution of Infrastructure as Code systems.
  • Developed and evaluated approaches for detecting and predicting defects in Terraform projects.
  • Studied self-admitted technical debt and software maintenance practices in IaC.
  • Investigated automated diagnostics and repair of IaC configurations.
  • Applied machine learning, empirical software engineering, and repository mining techniques to study real-world software projects.

Awards​

  • 2026 — Best Mining Challenge Paper Award, International Conference on Mining Software Repositories (MSR).
  • 2026 — LogTI Research Scholarship, École de technologie supérieure (ÉTS).
  • 2024 — Best Industrial Paper Award, International Conference on Service-Oriented Computing (ICSOC).
  • 2024 — Distinguished Research Paper Award, International Conference on Service-Oriented Computing (ICSOC).
  • 2024 — Best Mining Challenge Paper Award, International Conference on Mining Software Repositories (MSR).
  • 2023–2026 — Ph.D. Research Scholarship, École de technologie supérieure (ÉTS).

Academic Service​

  • Publicity and Social Media Co-Chair, ICPC 2027.
  • Program Committee Member, TechDebt 2027.
  • Shadow Program Committee Member, SSBSE 2026.
  • Student Research Competition Judge, FSE 2026.
  • Artifact Evaluation and Reviewing Activities, ASE, ICSE, ISSTA, and FSE.

Teaching and Mentoring​

  • Instructor, Software Engineering for AI-based Systems (SOEN 6221), Concordia University, 2026.
  • Teaching Assistant, LOG680, École de technologie supérieure (ÉTS), 2025.
  • Teaching Assistant, MGL804, École de technologie supérieure (ÉTS), 2024.
  • Graduate Research Mentorship, Co-supervision of Ph.D. and Master's students at the DAS Lab, Concordia University.
  • Student Project Mentorship, Supervision and mentoring of undergraduate and graduate research projects in software quality, Infrastructure as Code, and software maintenance.

Contact​