Learn from Previously Reviewed PRs

Your team's review comments, turned into rules. CloudAEye finds the patterns in comments your reviewers have already left on pull requests and drafts custom rules for you to check and activate.

Rules from the reviews you already did.

Learn from team comments on PRs and automatically create rules from pattern analysis.

CloudAEyeRules / Learn From PRs

Learn from

Repository
payments-api
Pull requests
#188, #204, #211
Exclude comments from
dependabot

Reviewer, #204Refunds should check the remaining balance, not the order total.

Generated rule

New ruleReview before saving

"Every refund path must compare the refund with the remaining balance, not the original order total."

Save it to activate it. It then runs on every pull request review.

Stop repeating
the same comment.

Your reviewers already wrote your team's standards, one comment at a time. CloudAEye finds the patterns in those comments and turns them into rules the review applies from then on.

Capture what reviewers repeat.

The comments your team leaves on pull requests become rules, so the next review catches the same issue without anyone typing it again.

  • Learns fromTeam review comments
  • FindsRepeated patterns
  • CreatesA custom rule
See an example

Pick the PRs.

Choose the repository and the pull requests to learn from, and exclude authors whose comments should not shape the rule.

  • RepositoryOne at a time
  • Pull requestsOne or more
  • ExcludeAuthors you choose
Read the docs

Review before it goes live.

A learned rule is a draft. Read it, edit it if you need to, and save it to activate it.

  • GeneratedAs a draft
  • You canEdit the wording
  • Goes liveWhen you save it
Set it up

Runs like any custom rule.

Once saved, a learned rule works like a rule you wrote yourself: scoped, switchable, and applied on every pull request review.

  • ScopeRepositories and paths
  • StatusOn or off
  • AppliedEvery PR review
Explore Custom Rules

Set it up.

Learn rules from the Rules page in the CloudAEye console.

Read the setup guide
  1. Open Code Review, then Rules, and click Learn From PRs.
  2. Select a repository and one or more pull requests.
  3. Optionally exclude comments from authors you choose.
  4. Click Learn From PRs, review the generated rule, and save it to activate it.