Skip to content

Prepare for classification of comments #4094

@jpangas

Description

@jpangas

There are some tasks that need to be done to prepare for comment models:

### Tasks
- [x] Create a function to  `get_comment` from Bugzilla using `comment_id`
- [x] Create a `comment_classifier` script that classifies using `comment_id`
- [x] Create a function in `http_service` to classify comments using a list of `comment_ids`
- [ ] Create a comment classification job.
- [ ] Create a function to classify a single or batch comments. (in `http_service/bugbug_http/app.py`)

This issue would also be a good place to discuss on the best way to run models on comments:
With the proposed task list above, it was considering to classify comments independently of bugs by using comment_ids.

I thought it would be wise to separate this work from #3994 to minimise the amount of reviews needed to land the model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions