mozilla / mozilla/bugbot

Calculate tag statistics taking into account duplicate bugs too

Open Beginner friendly
#1,351 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
68
Forks
92
Avg merge
2d 2h
Merged PRs (30d)
16

Description

In https://github.com/mozilla/relman-auto-nag/blob/d5c923cc599895acc2ea03adb899271df1f2ae95/auto_nag/scripts/pdfjs_tag_change.py, we only take into account unresolved bugs, but for tag statistics when we encounter a given bug we want to increase the number associated to the bug tags by the number of its duplicates and not just by 1.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with auto_nag/scripts/pdfjs_tag_change.py at the referenced revision and trace how unresolved bugs contribute to tag statistics. Check how duplicate counts are represented for each bug, then update the calculation so a bug contributes its duplicate count rather than only one. Done means tag statistics include duplicates while retaining the existing unresolved-bug scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.