Skip to content

Conversation

@MHHukiewitz
Copy link
Member

Add PR Difficulty Rating workflow to test and rate the difficulty of pull requests. See https://github.com/rate-my-pr/rate

Provides a difficulty rating for PRs based on content diffs. Ratings are

BLUE: Simple, low risk changes, such as documentation, comments, etc.
RED: Complex, high risk changes, such as refactors, new features, etc.
BLACK: Very complex, very high risk changes, such as large refactors, modifications to core functionality, etc.

@MHHukiewitz MHHukiewitz reopened this Nov 11, 2023
@github-actions
Copy link

Failed to retrieve llama text: Invalid URL '/completion': No scheme supplied. Perhaps you meant https:///completion?

@MHHukiewitz MHHukiewitz reopened this Nov 13, 2023
@github-actions
Copy link

The PR is categorized as BLUE due to its small changes and low risk of introducing bugs. The PR only includes documentation updates and does not involve any complex code modifications or new features.

@github-actions github-actions bot added the BLUE This PR is simple and straightforward. label Nov 13, 2023
@MHHukiewitz MHHukiewitz reopened this Nov 13, 2023
@MHHukiewitz MHHukiewitz removed the BLUE This PR is simple and straightforward. label Nov 13, 2023
@MHHukiewitz MHHukiewitz reopened this Nov 13, 2023
@github-actions github-actions bot added the BLACK This PR has critical implications and must be reviewed by a senior engineer. label Nov 13, 2023
@github-actions
Copy link

This PR includes a new feature to add a PR Difficulty Rating workflow, which requires deep understanding of the project architecture and could introduce high risks. The changes include:

  • Adding a new Python script for rating PRs based on content diffs
  • Modifying existing documentation to include information about the new workflow
  • Updating the README file with instructions for using the new feature

The extensive changes, including modifications to core functionality and large refactors, as well as the potential high risk of introducing bugs, make this PR a 'BLACK' category.

@MHHukiewitz MHHukiewitz requested a review from hoh November 13, 2023 12:34
@MHHukiewitz
Copy link
Member Author

Sometimes the bot is just making things up, but usually the rating is accurate.

@MHHukiewitz MHHukiewitz requested a review from 1yam November 13, 2023 12:37
@MHHukiewitz MHHukiewitz removed the BLACK This PR has critical implications and must be reviewed by a senior engineer. label Nov 13, 2023
@MHHukiewitz MHHukiewitz reopened this Nov 13, 2023
@github-actions github-actions bot added the BLUE This PR is simple and straightforward. label Nov 13, 2023
@github-actions
Copy link

This PR is classified under the 'BLUE' category because it appears to involve mainly documentation updates and setup, rather than significant code changes. The diff provided consists of a new GitHub workflow configuration file for rating PR difficulty. While this can be considered part of the project setup or architecture, it does not introduce complex logic or require extensive knowledge of the existing system.

The CRC will continue to use the provided rules and information for future categorizations.

Copy link
Member

@1yam 1yam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MHHukiewitz MHHukiewitz merged commit 82f7c6a into main Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BLUE This PR is simple and straightforward.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants