Use the prompt
Include the intended behavior alongside the diff. Existing tests and an example input help Duo reason about whether a suspicious path is actually a bug.
Catch logical errors and edge cases that syntax checkers miss. Go beyond linting to find real bugs.
For GitLab Duo
Review this MR for logical errors, edge cases, and potential bugs: [MR URL or paste code]Include the intended behavior alongside the diff. Existing tests and an example input help Duo reason about whether a suspicious path is actually a bug.