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?
This exercise is part of the course
Advanced AI-Assisted Coding for Developers
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise