[Paper Review] Student Teamwork on Programming Projects: What can GitHub logs show us?
This study proposes a method to automatically classify student teamwork styles in programming projects using GitHub commit logs, leveraging NLP to categorize commit messages and machine learning to predict collaboration types. It achieves F1 scores above 0.68 in identifying collaborative, cooperative, and solo-submitting teams, enabling early detection of inequitable contribution patterns.
Teamwork, often mediated by version control systems such as Git and Apache Subversion (SVN), is central to professional programming. As a consequence, many colleges are incorporating both collaboration and online development environments into their curricula even in introductory courses. In this research, we collected GitHub logs from two programming projects in two offerings of a CS2 Java programming course for computer science majors. Students worked in pairs for both projects (one optional, the other mandatory) in each year. We used the students' GitHub history to classify the student teams into three groups, collaborative, cooperative, or solo-submit, based on the division of labor. We then calculated different metrics for students' teamwork including the total number and the average number of commits in different parts of the projects and used these metrics to predict the students' teamwork style. Our findings show that we can identify the students' teamwork style automatically from their submission logs. This work helps us to better understand novices' habits while using version control systems. These habits can identify the harmful working styles among them and might lead to the development of automatic scaffolds for teamwork and peer support in the future.
Motivation & Objective
- To automatically identify students' teamwork styles—collaborative, cooperative, or solo-submit—using GitHub commit logs.
- To analyze how students distribute contributions across project components (e.g., implementation, testing) through commit patterns.
- To develop predictive models based on commit metrics and prior performance to flag at-risk teams.
- To support instructors in detecting inequitable collaboration early, enabling timely interventions.
Proposed method
- Manually tagged 400 commit messages into categories (e.g., Implementation, Testing, Bugfix) to create a labeled dataset.
- Applied TF-IDF and logistic regression to automatically classify the remaining commit messages into project component categories.
- Collected GitHub commit data from two offerings of a CS2 Java course with paired programming projects.
- Used subject matter experts to manually label 100 team repositories into three teamwork styles: collaborative, cooperative, or solo-submit.
- Extracted features such as number of commits per category, percentage of commits per user, and prior academic performance.
- Trained and evaluated logistic regression and random forest models to predict teamwork styles from commit-based metrics.
Experimental results
Research questions
- RQ1Can commit message content be automatically classified into project component categories using NLP techniques?
- RQ2Can student teamwork styles—collaborative, cooperative, or solo-submit—be accurately predicted from GitHub commit logs?
- RQ3Which commit-based metrics are most predictive of different teamwork styles?
- RQ4How do prior student performance and team formation choices affect teamwork style prediction?
- RQ5Can automated models detect early signs of solo-submitting behavior before final project submission?
Key findings
- The study successfully classified commit messages into project components using TF-IDF and logistic regression, enabling automated analysis of contribution patterns.
- The random forest model achieved an F1 score of 0.90 for identifying solo-submitting teams, indicating strong predictive power for this category.
- The percentage of commits per user across the entire project was the top feature for predicting solo-submitting behavior.
- Metrics such as the percentage of commits in specific categories (e.g., testing, implementation) were more predictive for collaborative and cooperative teams than overall commit counts.
- Surprisingly, pair-programming activity was not among the top predictive features, likely due to inconsistent commit message logging.
- The models demonstrated that automated analysis of GitHub logs can reliably detect problematic teamwork patterns early in the semester, supporting proactive instructor intervention.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.