๐Ÿš€ Everything is free โ€” help us improve! Submit feedback and shape the platform.
โ† AI Agents/M-045Build a Multi-Agent Code Review System๐Ÿ“– Guide๐Ÿ…Rank 09ยท The Nexus
๐ŸงชTDD Challengeยทadvancedยทโฑ๏ธ 45โ€“65mยทโญ 250 XP

M-045Build a Multi-Agent Code Review System

Description

Nebula Corp wants to automate code reviews using multiple specialized agents. The system should have three agents: a Security Reviewer that checks for vulnerabilities, a Style Reviewer that checks coding standards, and a Coordinator that collects reviews and produces a final summary. The agent definitions exist but the coordination logic is missing โ€” wire up the multi-agent pipeline so the coordinator delegates to reviewers and aggregates their findings.

Test Cases (3)

Detects critical security issues
Code with eval() should produce a FAIL verdict
Input:coordinateReview('eval(userInput)')
Expected:CONTAINS:FAIL
Passes clean code
Clean code with no issues should produce a PASS verdict
Input:coordinateReview('// Safe code\nconst x = 1;')
Expected:CONTAINS:PASS
Aggregates issues from all reviewers
Should collect issues from both security and style reviewers
Input:JSON.stringify(coordinateReview('var password = eval(x);'))
Expected:CONTAINS:Total issues: 4

Related Lessons

Click Run / Check to validate your solution