bugbug icon indicating copy to clipboard operation
bugbug copied to clipboard

Create a model to identify accessibility bugs

Open marco-c opened this issue 2 years ago • 4 comments

To get labels, we can use the presence of "access" in the keywords, or the presence of "access-s" in the whiteboard.

marco-c avatar Mar 18 '22 22:03 marco-c

I'd like to work on this. I believe I'm not stepping on anyone's toes?

As far as I understood, the goal is to build a model that assigns accessibility label to the relevant issues?

Chandu-4444 avatar May 25 '22 19:05 Chandu-4444

You are more than welcome. If you need any help or have any questions, please join the bugbug Matrix room. I will be glad to help.

suhaibmujahid avatar May 25 '22 19:05 suhaibmujahid

As far as I understood, the goal is to build a model that assigns accessibility label to the relevant issues?

Yes, accessibility bugs are tagged manually with access keyword or [access-s*] in the whiteboard field (e.g., [access-s2]). The goal is to automatically label such bugs as soon as they got reported.

suhaibmujahid avatar May 25 '22 19:05 suhaibmujahid

You could start by setting up the environment and installing the dependencies as explained in the readme file.

Next, you could try training an existing model; spambug model could be a good candidate:

python3 -m scripts.trainer spambug

If you feel stuck, do not hesitate to ask in bugbug Matrix room

suhaibmujahid avatar May 25 '22 20:05 suhaibmujahid

Hello, @suhaibmujahid I would like to work on this issue as this will provide me some insights into the main project. How do I start?

prernadabi23 avatar Mar 20 '23 10:03 prernadabi23

Hello, @suhaibmujahid I would like to work on this issue as this will provide me some insights into the main project.

Feel free to do that.

How do I start?

Please read the comments above.

suhaibmujahid avatar Mar 20 '23 13:03 suhaibmujahid

@suhaibmujahid Can you please suggest what I have to learn or maybe some resources that can help me in making it?

Next, you could try training an existing model; spambug model could be a good candidate:

python3 -m scripts.trainer spambug

I did run this command but I didn't understand anything.

prernadabi23 avatar Mar 22 '23 19:03 prernadabi23

I did run this command but I didn't understand anything.

Have a look here: https://github.com/mozilla/bugbug#structure-of-the-project to get an idea about the project structure. Seeing how other models are implemented could be helpful.

suhaibmujahid avatar Mar 22 '23 22:03 suhaibmujahid

While trying to work this issue, I thought, isn't it possible for us to extend the bugtype model to also identify and label accessibility bugs as well? Let me know if this is okay, I can open a PR.

jpangas avatar Oct 24 '23 12:10 jpangas