Developer pits two free AI code reviewers against each other in a shared chat room
A developer built Code Review Duel for the Flip the Switch hackathon to address the problem of AI reviewers being confidently wrong without anyone noticing. Two reviewers running free models, DeepSeek and GLM, are placed in one Switch room where they review the same code, cross-check each other, and then ask the human user to choose the stronger review. The system runs locally through OpenCode and Switch Console, with Mattermost serving as the shared chat space, and requires no paid subscriptions or API keys. Early testing showed the models disagreed on a simple Java division error, but on longer code they often found nearly the same bugs, because the second reviewer read the first review before writing its own. The developer acknowledges this makes it a partial cross-check rather than fully independent opinions, and suggests having the second reviewer analyze code before seeing the first review.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in