COMP 5117: Mining Software Repositories

Software development projects generate impressive amounts of data. Mining software repositories research aims to extract information from the various artifacts produced during the evolution of a software system and inferring the relationships between them. This course will introduce the methods and tools of mining software repositories and artifacts used by software developers and researchers. The course will be seminar-based and will involve weekly reading and discussion. The project component will be flexible but will likely involve some programming. For further details on the course content, please refer to its outline (pdf). This course is offered by the School of Computer Science at the Carleton University.

Seminars are held every Thursday from 8:35 AM to 11:25 AM in RB 3228.


  • Please send me your paper selection list (minimum 3 papers) by Thursday September 12, 2019.
  • We will be using Slack for course communication, news and reminders. Please join COMP5117 channel.
  • Submit your paper review (due 11:59 PM every Wednesday)

Content Overviewtop

The course will be adjusted according to students’ interests and experience. This is an overview of the kinds of topics the course could cover:

  • Mining software repositories (data extraction and analysis)
  • Development team processes
  • Software development tools and environments
  • Software analytics
  • Software visualization
  • Mining social data
  • Software evolution
  • Quantitative and qualitative evaluation of software engineering research

Tentative Scheduletop

It is important to note that this schedule is evolving and will change based on your interests and how the class is progressing.

Thursday September 5 - Introduction

  1. Introduction to course.
  2. Introduction to Mining Software Repositories (Software Analytics).
    Presented by Olga Baysal

Thursday September 12 - Topic Modeling and Sentiment Analysis

  1. Christoph Treude and Markus Wagner Predicting Good Configurations for GitHub and Stack Overflow Topic Models. MSR 2019.
    Presented by Mehardeep Singh.
  2. Nicole Novielli, Daniela Girardi and Filippo Lanubile A Benchmark Study on Sentiment Analysis for Software Engineering Research. MSR 2018.
    Presented by Adarsh Verma.

Thursday September 19 - Development Teams and Collaboration

  1. Yuriy Brun, Reid Holmes, Michael D. Ernst, and David Notkin. Proactive Detection of Collaboration Conflicts.. FSE 2011.
    Presented by Alexis Amezaga.
  2. Teasley, S. D., Covi, L. A., Krishnan, M. S. and Olson, J. S. Rapid Software Development through Team Collocation. TSE 2002.
    Presented by Razieh Tekieh.
  3. Eirini Kalliamvakou; Daniela Damian; Kelly Blincoe; Leif Singer; Daniel German. Open Source-Style Collaborative Development Practices in Commercial Projects Using GitHub. ICSE 2015.
    Presented by Jonathan Lam.

Thursday September 26 - Mining GitHub

  1. Kalliamvakou, Eirini and Gousios, Georgios and Blincoe, Kelly and Singer, Leif and German, Daniel M. and Damian, Daniela The promises and perils of mining GitHub. MSR 2014.
    Presented by Mehak Mustafa.
  2. Jason Tsay, Laura Dabbish, James Herbsleb. Let's talk about it: evaluating contributions through discussion in GitHub. FSE 2014.
    Presented by Khadija Osman.

Thursday October 3 - Expert Recommendation

  1. Tian Y., Kochhar P.S., Lim EP., Zhu F., Lo D. Predicting Best Answerers for New Questions: An Approach Leveraging Topic Modeling and Collaborative Voting. SocInfo 2013.
    Presented by Norbert Eke.
  2. Joao Eduardo Montandon, Luciana L. Silva, Marco Tulio Valente. Identifying Experts in Software Libraries and Frameworks among GitHub Users.
    Presented by Hari Ramakrishnan.

Thursday October 10 - Project proposals feedback

Thursday October 17 - Code Review

  1. Alberto Bacchelli and Christian Bird. Expectations, Outcomes, and Challenges of Modern Code Review. ICSE 2013.
    Presented by Sri Vadlamani.
  2. Andrew Sutherland, Gina Venolia. Can peer code reviews be exploited for later information needs?. ICSE 2009.
    Presented by Zhihe Huang.
  3. J. Tsay, L. Dabbish, and J. Herbsleb. Influence of social and technical factors for evaluating contribution in GitHub. ICSE 2014.
    Presented by Lance Wang.

Thursday October 24 - NO CLASS (Reading Week)

Thursday October 31 - APIs and Vizualization

  1. Cleidson R. Souza and David F. Redmiles. On The Roles of APIs in the Coordination of Collaborative Software Development. CSCW 2009.
    Presented by Julian Clayton.
  2. Jacob T. Biehl, Mary Czerwinski, Greg Smith, George G. Robertson. FASTDash: A Visual Dashboard for Fostering Awareness in Software Teams. CHI 2007.
    Presented by Karan Mahajan.

Thursday November 7 - Mining Social Data

  1. Leif Singer, Fernando Marques Figueira Filho, Margaret-Anne D. Storey. Software engineering at the speed of light: how developers stay current using Twitter. ICSE 2014.
    Presented by Wajiha Zafar.
  2. Preetha Chatterjee, Kostadin Damevski, Lori Pollock, Vinay Augustine, Nicholas A. Kraft. Exploratory Study of Slack Q&A Chats as a Mining Source for Software Engineering Tools.
    Presented by Josh Babu George.
  3. Vishal Kharde and Sheetal Sonawane. Sentiment Analysis of Twitter Data: A Survey of Techniques. JCA 2016.
    Presented by Arunachalam DhakshinaMurthy.

Thursday November 14 - Build Teams and Data Science

  1. Shaun Phillips, Thomas Zimmermann, and Christian Bird. Understanding and Improving Software Build Teams. ICSE 2014.
    Presented by Di Pan.
  2. Andrew Begel, Thomas Zimmermann. Analyze this! 145 questions for data scientists in software engineering. ICSE 2014.
    Presented by Peter Ruan.

Thursday November 21 - Video Games and Notebooks

  1. Emerson Murphy-Hill, Thomas Zimmermann, Nachiappan Nagappan. Cowboys, ankle sprains, and keepers of quality: how is video game development different from software development?. ICSE 2016.
    Presented by Omid Mehrabian.
  2. Joao Felipe Pimentel, Leonardo Murta, Vanessa Braganholo, Julian Freir. A Large-scale Study about Quality and Reproducibility of Jupyter Notebooks. MSR 2019.
    Presented by Vishal Pajak.

Thursday November 28 - Recommender Systems

  1. Sana Maki, Ghizlane El Boussaidi, Segla Kpodjedo. Context extraction in recommendation systems in software engineering: a preliminary survey. CASCON 2015
    Presented by Ritika Bhatia.

Thursday December 5 - Project Presentations (15 minutes for each team)


  • Weekly paper reviews: 10%
  • Class participation and discussion: 20%
  • Paper presentation: 10%
  • Course Project: 60% (10% project presentation + 50% project report)

Weekly Paper Reviewstop

Each week you are expected to carefully read two papers. In addition, you are to submit a review of one of the papers (you choose which one). However, if you are doing a paper presentation, then you are excused for that week.

Reviews are due by 8:00 AM on the morning of the class. Please send me email with the Subject "[COMP 5117] Paper Review Student_Name".

A review should be about 500-1000 words long, and submitted as a PDF file.

Your review should address the following points:

  1. What were the primary contributions of the paper as the author sees it?
  2. What were the main contributions of the paper as you (the reader) see it?
  3. How does this work move the research forward (or how does the work apply to you)?
  4. How was the work validated?
  5. How could this research be extended?
  6. How could this research be applied in practice?

Class Participationtop

Each week you are expected to read two papers, as well as participate in the class discussion.

Paper Presentationstop

In a typical week, we will examine two or three research papers. I will present a few of them on my own, but the other presentations will be done by students.

You will get to select three papers you want to present from the course (in the order of your first to last preferences). Please make your selections from this list. Once you have selected your papers, email me your selection of three papers.This must be done by Thursday September 12 via email. I will generate a cohesive class schedule once everyone has selected their papers. Each student will be assigned to present two papers in class.

You are then to design a presentation of about 20-25 minutes that is both informative and entertaining. Don't feel limited to just the content of the papers.

You should also come prepared with a set of questions to foster a 15-20 minute discussion session that you will lead to follow the presentation (this is where the other students earn their class participation marks).

When you design your talk, keep in mind that the audience has already read the papers. Remind us of the motivation, the big ideas, the context of the problem being addressed, and how all of this relates to what we've already seen in the course.

Presentations can be done using Open Office, Powerpoint, Keynote, or PDF. You must supply a set of slides (only PDF) to me prior your talk and I will put them on the course web page.

Course Projecttop

The project forms an integral part of this course. The projects can be done individually or completed in groups of two students.

You have two options: either create a submission for the 2020 MSR Mining challenge or come up with an idea of your own that relates to the course material. In either case, the project topic will require my approval (via the proposal).

If you decide to do the MSR challenge, you can optionally decide to submit it to the conference, but note that the deadline is February 2020. Talk to me if you are interested in exploring this. Otherwise, you can just decide to do the challenge as your class project and ignore the actual conference submission.

There are three deliverables for your project:

  1. Project proposal. Before you undertake your project you will need to submit a proposal for approval. The proposal should be short (max 2 page PDF in ACM format). The proposal should include a problem statement, the motivation for the project, and set of objectives you aim to accomplish. I will read these and provide comments. The proposal is not for marks but must be completed in order to pass the course. This will be due on September 30 by 11:59 PM via email.

  2. Written report. The required length of the written report varies from project to project (8-10 pages, double column format); all reports must be formatted according to the ACM format and submitted as a PDF. This report will constitute 100% of the project report grade. This will be due on December 12 by 11:59 PM via email.

  3. Project presentation. Each group will have the opportunity to present their project in class on December 05. This presentation should take the form of a 15 minute (hard maximum) conference-style talk and describe the motivation for your work, what you did, and what you found. If a demo is the best way to describe what you did, feel free to include one in the middle of the talk. Please allocate 3-5 minute time for questions after the project has been presented.
  4. The proposed structure of your presentation:

    1. Introduction (describe the problem and motivation)
    2. Research questions
    3. Methodology: data collection, data cleanup, data mining, data analysis (statistics, machine learning), etc.
    4. Results (achieved, preliminary, or anticipated)
    5. Implications (why does this study matter? how can your findings be used?)
    6. Conclusion (summary, main contributions)


The best way to get in touch with me is via email: olga.baysal[at]

University Policiestop

Academic Integrity

Academic Integrity is everyone's business because academic dishonesty affects the quality of every Carleton degree. Each year students are caught in violation of academic integrity and found guilty of plagiarism and cheating. In many instances they could have avoided failing an assignment or a course simply by learning the proper rules of citation. See the academic integrity for more information.

Academic Accommodations for Students with Disabilities

The Paul Menton Centre for Students with Disabilities (PMC) provides services to students with Learning Disabilities (LD), psychiatric/mental health disabilities, Attention Deficit Hyperactivity Disorder (ADHD), Autism Spectrum Disorders (ASD), chronic medical conditions, and impairments in mobility, hearing, and vision. If you have a disability requiring academic accommodations in this course, please contact PMC at 613-520-6608 or for a formal evaluation. If you are already registered with the PMC, contact your PMC coordinator to send me your Letter of Accommodation at the beginning of the term, and no later than two weeks before the first in-class scheduled test or exam requiring accommodation (if applicable). After requesting accommodation from PMC, meet with me to ensure accommodation arrangements are made. Please consult the PMC website for the deadline to request accommodations for the formally-scheduled exam (if applicable).

Pregnancy Obligation

Write to the instructor with any requests for academic accommodation during the first two weeks of class, or as soon as possible after the need for accommodation is known to exist. For more details visit the Equity Services website.

Religious Obligation

Write to the instructor with any requests for academic accommodation during the first two weeks of class, or as soon as possible after the need for accommodation is known to exist. For more details visit the Equity Services website.