Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Notebook to compute stats about label bot #71

@jlewi

Description

@jlewi

We need metrics about how many issues were labeled by the label bot and whether they are accurate or not.

The label bot adds a comment to each issue when it adds a label. It also leaves a comment if it can't predict labels with high enough accuracy.

If the label bot is wrong we can detect this by looking to see if someone removed the label applied by the label bot.

We should write some code to compute accuracy of the label bot.

The issue_triage project provides some code that could be a good starting point
We can modify the code below to download recent issues for a specific repository

def download_issues(self, repo, output, issue_filter=None):

We can then iterate over comments and events to look for label bot comments

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions