AZ-400 · Question #318
You are evaluating the use of code review assignments in GitHub. Which two requirements can be met by using code review assignments' Each correct answer presents a complete solution. NOTE: Each correc
The correct answer is A. Automatically choose and assign reviewers based on a list of available personnel C. Ensure that each team member reviews an equal number of pull requests during any 30-day period.. GitHub's code review assignments allow automatic assignment based on defined personnel lists and aim to distribute review workloads evenly among team members.
Question
Options
- AAutomatically choose and assign reviewers based on a list of available personnel
- BAutomatically choose and assign reviewers based on who has the most completed review requests.
- CEnsure that each team member reviews an equal number of pull requests during any 30-day period.
- DAutomatically choose and assign reviewers based on who received the least recent review requests.
How the community answered
(56 responses)- A89% (50)
- B7% (4)
- D4% (2)
Why each option
GitHub's code review assignments allow automatic assignment based on defined personnel lists and aim to distribute review workloads evenly among team members.
GitHub allows automatic reviewer assignment through CODEOWNERS files, which specify individuals or teams responsible for code paths, or by enabling automatic assignment for teams, effectively using a list of available personnel.
GitHub's automatic assignment algorithms do not consider the number of *completed* review requests as a criterion for assigning new reviews.
GitHub's automatic team review assignments use a round-robin algorithm, which aims to distribute pull request reviews evenly among team members over time to balance the workload.
While round-robin assignment considers load balancing, its primary mechanism is often based on outstanding reviews or ensuring an equal distribution, rather than solely or primarily on who received the 'least recent review requests'.
Concept tested: GitHub code review assignment features
Source: https://docs.github.com/en/organizations/managing-access-to-your-organizations-repositories/managing-code-review-settings-for-your-organization#about-automatic-review-assignments
Community Discussion
No community discussion yet for this question.