Back to Course Topics EECE 2140, Northeastern University
3
Code Quality Review for EECE 2140

Code Judge

Compare two solutions side by side. Evaluate readability, correctness, efficiency, and design quality — then write structured review comments like a professional engineer.

Step 1Read Problem
Step 2Study Both Solutions
Step 3Rate Each Criterion
Step 4Pick a Winner
Step 5Write Review Comments
Ready
Scenario: None selected
Session: not started
Student Information
CMP
Step 1: Read the Problem
Select a scenario above to begin
Read the problem statement fully before looking at either solution.

Choose a week and scenario from the selectors above. The problem statement and both code solutions will load here.

    CODE
    Step 2: Study Both Solutions
    Side-by-Side Code Review
    Read both solutions carefully before answering any questions. Notice naming, structure, edge cases, and style.
    solution_a.cpp
    Structured
    solution_b.cpp
    Basic Style
    Questions and Answers
    Steps 3 to 5: Analysis Questions
    Structured Code Review
    Answer all five questions. Use specific line references where possible.
    1Which solution is more readable and why?
    Solution A
    Solution B
    2Which solution handles edge cases and correctness better?
    3Which solution is more efficient? Analyse time and space complexity.
    4Rate each solution across five software engineering criteria:
    5Write three specific code review comments for the weaker solution:

    Format each comment like a real GitHub PR review: cite the specific line or function, describe the issue, and suggest the fix.

    6What is the single most important lesson from this comparison?
    Your Verdict

    Submit Your Code Review

    Export your full review — answers, ratings, comments, and verdict — as a JSON file.