Multi-agent code review comment generation
AssigneeMicrosoft Technology Licensing, LLC
InventorsSHENGYU FU, BIRGIT HINDMAN, MAOLIANG HUANG, XIAOYU LIU, SNEHA BHUPINDERSINGH TULI, DONGJIANG YOU, SHUO ZHANG
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Technology Licensing, LLC
InventorsSHENGYU FU, BIRGIT HINDMAN, MAOLIANG HUANG, XIAOYU LIU, SNEHA BHUPINDERSINGH TULI, DONGJIANG YOU, SHUO ZHANG
Estimating the term…
A code review comment is automatically generated using multiple agents that perform a dedicated task using a particular language model. A code quality estimator agent uses a code quality encoder model to determine whether a code change to a file of a repository presents a risk to the repository if merged. For those code changes classified as presenting a risk, a comment generator agent uses a generative language model to generate an initial code review comment for the code change and determines a severity of the issue with the code change. A comment critic agent uses a reasoning language model to critique the initial code review comment generated by the generative language model. A final code review comment is output by the comment critic agent when the comment critic agent determines that the initial code review comment is satisfactory.
A system for generating a code review comment, comprising:
A computer-implemented method for generating a code review comment, comprising:
A hardware storage device having stored thereon computer executable instructions that are structured to be executable by a processor of a computing device to thereby cause the computing device to generate a code review comment by performing actions that:
Dependencies are inferred from the claim text.