LEVEL 3 · ENGINEER

Multi-Agent Code Review Panel

A review disagreement workbench that measures when quorum helps and when it hides findings. Input files maps names to text or lines. Optional reviewers contain id,cost,findings recordings. Expected labels use {file,line,rule}; the report records the source fingerprint and per-reviewer versus consensus metrics.

4 stages~8 hoursTypeScriptcore
Validate reviewer evidenceAggregate independent supportReserve costs and enforce deadlinesMeasure panel precision and recall
YOU END UP WITH

A review disagreement workbench that measures when quorum helps and when it hides findings.

USEFUL FOR
  • Input files maps names to text or lines. Optional reviewers contain id,cost,findings recordings. Expected labels use {file,line,rule}; the report records the source fingerprint and per-reviewer versus consensus metrics.
LEARN FIRST
  • Node22.18+ and Python3 for the grader
  • TypeScript objects, sets, promises, AbortSignal and precision/recall.
PROJECT OUTLINE

Multi-Agent Code Review Panel in 4 stages

A review disagreement workbench that measures when quorum helps and when it hides findings.

  1. Validate reviewer evidence

    Require a file present in the supplied snapshot, a positive one-based line, an exact nonempty quote, a stable rule id and a severity from one through three. Evidence validation is shared across all reviewers. It protects the aggregation boundary against fabricated locations, but agreement and quoted text still do not prove a finding is correct.

    starter · ~2 hours · TypeScript

    validateFinding
  2. Aggregate independent support

    Group valid findings by file, line and rule. Count one vote per reviewer per group, reject duplicate reviewer identities, and retain every severity vote. A quorum produces consensus; a singleton remains visible as needs-review. A disagreement flag survives consensus so the user can inspect conflicting severity judgments.

    core · ~2 hours · TypeScript

    aggregate
  3. Reserve costs and enforce deadlines

    Reserve each reviewer cost before launching it. Skip work that cannot fit the remaining budget and record the decision. Race each reviewer against a deadline and abort its signal when time expires. Failures remain in the trace while completed reviews can still be aggregated. Adapters must honor AbortSignal to stop external work; the runner cannot force a remote service to cancel.

    core · ~2 hours · TypeScript

    runPanel
  4. Measure panel precision and recall

    Evaluate unique finding ids against an expected set. Precision measures how many predicted findings are expected; recall measures how much of the expected set was found. Deduplicate both sets so repeated reviewers cannot inflate the metric. Zero predictions produce precision zero rather than a misleading perfect score. Try held-out inputs before adjusting quorum.

    core · ~2 hours · TypeScript

    evaluate

All projects · Course catalog · Source on GitHub