GitHub-OSS Fixit: Fixing bugs at scale in a Software Engineering Course

Shin Hwei Tan, Chunfeng Hu, Ziqiang Li, Xiaowen Zhang, Ying Zhou · DOI

Abstract

Traditional Software Engineering (SE) education often relies on small-scale "toy projects" that fail to capture the complexities of professional development. We present GitHub-OSS Fixit, a pedagogical framework that tasks students with fixing real-world bugs in diverse open-source Java projects. By leveraging industry-standard tools and the "virtual mentorship" of open-source maintainers, the course scales effectively across large student cohorts. Our evaluation shows that 154 students successfully submitted 214 pull requests to 24 projects, with nearly half of them merged into production codebases, while reporting substantial gains in technical and collaborative skills.

Introduction: The "Toy Project" Problem

Educators face persistent challenges when introducing real-world complexity into the classroom. Traditional SE courses often suffer from three main limitations: a lack of project diversity, a narrow focus on specific concepts rather than the full lifecycle, and the risk of students submitting low-quality code that burdens open-source maintainers.

Inspired by industry initiatives like Google Summer of Code (GSoC) and the FindBugs "fixit" programs, we developed GitHub-OSS Fixit to bridge the gap between academic theory and professional practice. Unlike previous models, our approach offers flexibility in project selection and utilizes the existing feedback loops of the GitHub ecosystem.

Comparison of GitHub-OSS Fixit with industry programs like GSoC and FindBugs "fixit".

The GitHub-OSS Fixit Framework

The core of the methodology is a semester-long team project where groups of 5–6 students contribute to popular Java projects on GitHub. The framework rests on several key pillars:

  1. Strict Selection Criteria: To ensure a professional environment, projects must be Java-based, have over 100 GitHub stars, be actively maintained, and possess at least 15 open issues.
  2. Virtual Mentorship: A critical insight of this model is that every GitHub issue reporter acts as a "virtual mentor." They provide the initial requirements (the bug report) and subsequent feedback (code reviews), allowing teaching staff to manage large cohorts without being experts in every specific codebase.
  3. Quality Gates via Tooling: To prevent "spamming" maintainers with poor code, students must adhere to eXtreme Programming (XP) practices, including Test-Driven Development (TDD) and pair programming. The use of static analysis tools (Checkstyle, SpotBugs, PMD) and automated testing (JUnit, Evosuite) is mandatory before any pull request is submitted.

Curriculum Integration

The course is structured to align theoretical lectures with practical lab sessions, ensuring students have the technical foundation to contribute effectively.

Weekly lecture and lab schedule integrating SE concepts with automated program analysis tools.

The project lifecycle is divided into three major milestones: a Proposal (selection and planning), a Progress Report (initial implementation and testing), and a Final Presentation. This structure ensures that students are guided through the full software development lifecycle within the context of an active OSS project.

Results and Impact

The framework demonstrated high efficacy in both technical output and student learning. Out of 214 pull requests submitted to 24 different projects (including high-profile ones like Guice and Fastjson), 93 (43.5%) were merged by maintainers, while 46 were still awaiting a reply at the time of publication.

Student surveys revealed significant perceived improvements across multiple dimensions:

  • GitHub/Git Proficiency: 4.41/5
  • Static Analysis Tools: 4.32/5
  • Unit Testing: 4.31/5

Beyond technical skills, students highlighted the value of reading professional-grade legacy code—a rare opportunity in traditional curricula. While some faced challenges like irresponsive developers or network issues, 82% of students recommended the project format for future iterations.

Conclusion and Future Directions

GitHub-OSS Fixit provides a scalable, ethical, and effective model for integrating open-source contributions into SE education. By decentralizing mentorship and enforcing quality through automated tools, the framework prepares students for the realities of modern software development. Future work will focus on expanding support for other programming languages and implementing automated code review bots to further streamline the grading and feedback process.

Summary updated

BibTeX
@misc{tan2020github,
  author = {Shin Hwei Tan and Chunfeng Hu and Ziqiang Li and Xiaowen Zhang and Ying Zhou},
  title = {{GitHub-OSS Fixit: Fixing bugs at scale in a Software Engineering Course}},
  year = {2020},
  eprint = {2011.14392},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.14392},
}

Loading related content...

Figure