AI-assisted code review
A teammate at GreenGrid has submitted a pull request that adds a batch alerting function to the monitoring pipeline. The terminal shows the code diff. Before merging, you want AI to review the code for readability, maintainability, and potential bugs.
Your task: Use the AI chat to review the pull request diff. Pay close attention to whether any suggestion would change the function's behavior.
After reviewing AI's recommendations, which suggestion fixes a genuine bug rather than a style preference?
Cet exercice fait partie du cours
Advanced AI-Assisted Coding for Developers
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
Commencer l’exercice