Journal

Journal entry

Five Months Inside Bugbug

Two rejections, one tiny scikit-learn contribution, and a Mozilla internship building an accessibility classifier. My Outreachy journey through unfamiliar code, machine learning, and learning to ask for help.

Filed underMozillaOutreachyMLOpen Source

Before I could teach a model to recognize accessibility bugs, I had to learn how to find my own way through an unfamiliar codebase. That started with one very small contribution.

I was rejected from Outreachy twice before I was accepted. By the time the good news finally arrived, I had already spent plenty of time wondering whether I was ready for any of this.

So yes, I was excited. Bursting-with-excitement excited. I was going to work with Mozilla, alongside my fellow intern Promise, with Suhaib as my mentor. The codebases that had once looked impossibly big were becoming places where I could contribute.

The project was to build a machine learning model that could identify accessibility-related bug reports. Getting there involved Python, unfamiliar systems, a lot of learning, and a discovery I wish I’d made earlier: asking for help makes the work move.

But the story starts with something much smaller than a model.

One default value, one very happy beginner

In November 2022, I made my first open-source contribution to scikit-learn. I changed a default value. That was enough to make me feel as though I’d climbed Mount Rwenzori.

From the outside, a change like that can look tiny. From my side of the screen, it meant finding my way into a real project and contributing something to it. That feeling stayed with me.

There was still plenty to wrestle with. Git commands could be cryptic. My Python skills felt small beside the code I was reading. And when I got stuck, I sometimes treated asking a question as an admission that I shouldn’t be there.

What helped was giving myself a smaller place to start. I spent time understanding a function called get_feature_names_out: what it did and how it connected to the code around it. Each connection made the next piece a little easier to understand.

That became my approach to unfamiliar projects. Pick something small enough to investigate. Follow it. Let the map grow as you go.

The work continued between applications

The rejections hurt, but I kept contributing. Online communities and advice from more experienced developers helped me keep learning through the uncertainty.

By the time I began the Mozilla internship, I had already spent time in Bugbug’s codebase. Those earlier contributions gave me somewhere to stand. I still had unfamiliar work ahead, but I could recognize parts of the project and build on what I knew.

Outreachy also meant something beyond a project on my résumé. Its support for people facing underrepresentation and systemic barriers in tech made the acceptance feel especially meaningful. I was joining a community that wanted people like me to have a chance to grow.

I felt grateful to Outreachy, Mozilla, the Software Freedom Conservancy, and the people who had helped me keep going. Then it was time to turn that excitement into working software.

Meet the three bugs: Bugzilla, Bugbug, and Bugbot

The names take a moment to untangle.

Bugzilla is where the bug reports live. Bugbug brings together machine learning models, data, and scripts for software engineering tasks, including helping classify and triage those reports. Bugbot handles automation rules that can act on them.

My part was an accessibility classifier in Bugbug. Given a report, it would estimate how likely the report was to describe an accessibility issue. Bugbot could then use that prediction to add the access keyword when the confidence was high enough.

That connection gave the machine learning work a concrete purpose. A prediction could help a report receive a useful label in the system where people were already working.

It also meant I had to understand how the model’s output would travel beyond the code that trained it.

How it connects

From a report to an accessibility label

  1. 01

    Bugzilla

    A bug report enters the workflow.

  2. 02

    Bugbug

    The classifier estimates its accessibility probability.

  3. 03

    Bugbot

    A rule checks confidence before adding the label.

The intended integration: Bugbug estimates whether a report concerns accessibility, and a Bugbot rule uses a confidence threshold to decide whether to add the access keyword.

Teaching the model what to look for

I used an XGBoost classifier, working with Python and scikit-learn along the way. XGBoost uses gradient boosting: it builds a sequence of decision trees, with later trees helping correct mistakes made by the earlier ones.

For training and testing, I worked with historical Bugzilla reports and their existing accessibility information, including the access keyword and Accessibility Severity field. The classifier would take a bug report and return a probability score for whether it concerned accessibility.

That sounds compact when you write it in two sentences. The work underneath kept me busy.

I had to learn how to collect and process Bugzilla data, understand the project’s data rollback workflow, tune the classifier’s parameters, and make sense of its results. Each step raised questions that the next step depended on.

Feature engineering became one of my biggest lessons. Features are the information we make available to a model so it can learn patterns. Choosing useful information deserved just as much attention as choosing the learning algorithm.

I was learning gradient boosting and model evaluation while applying them to a real project. The unfamiliar terms gradually became things I could investigate, work with, and discuss with my mentor. That was a satisfying kind of progress.

Another codebase, another small starting point

Connecting the model to Bugbot brought me into a different repository. Familiarity with Bugbug didn’t automatically tell me where everything belonged there.

So I used the same approach that had helped with scikit-learn: find a manageable piece, understand how it fits, and follow the connections outward.

The integration mattered because the classifier’s score was only part of the workflow. A rule also had to decide when the prediction was confident enough to add the access keyword to a report.

In my January update, I was still waiting for the Bugbot integration. I remember the excitement of imagining an accessibility report being tagged automatically and knowing that my work could be part of that moment. It made the distance between learning an algorithm and contributing to a community feel wonderfully small.

The surprise was how much groundwork counted

I had expected the accessibility model to occupy months. I finished that model work within the first month and a half of the internship, earlier than I had imagined.

Looking back, the preparation before the internship mattered enormously. Time spent finding my way around Bugbug had already answered some of the questions I would otherwise have faced on day one.

Suhaib’s mentorship mattered too. His feedback, explanations, and willingness to answer questions helped me work through problems and keep moving. Having someone to learn from made difficult tasks feel approachable.

I also committed at least 30 hours a week to the project. That gave me sustained time to investigate problems, try things, and return with better questions. It was the rhythm that worked for me during this internship; finishing earlier wasn’t a standard anyone else needs to measure themselves against.

The bigger change was taking ownership. I began to care about understanding the decisions behind my contribution and following it through the surrounding workflow. The project felt like something I was responsible for helping improve.

For the person staring at their first repository

I still recognize the feeling: a large codebase on the screen, unfamiliar names everywhere, and the suspicion that everyone else knows exactly what they’re doing.

My way forward began with a default value and a single function. Later, the same habit helped me build a model and navigate another repository. Confidence grew through those attempts, with help from people willing to share what they knew.

If you’re starting out, find one part of a project you can get curious about. Read it. Try to understand its connections. Ask a question when you get stuck, and give yourself room to learn from the answer.

Two rejected applications were part of my journey. So were small contributions, patient mentorship, and the joy of finally seeing unfamiliar code make sense.

I’m proud of the accessibility model. I’m also proud that I kept showing up long enough to build it.