Skip to content
← All projects

LLM tooling · Structured output

AI Code Reviewer

Paste code and get a review ranked by severity, with a quality score, from Llama 3.3 70B in JSON mode.

Status
Completed
Role
Personal project
Year
2026

Overview

A code-review tool that forces the model to answer in a fixed JSON schema so the interface can rank, colour and count every finding.

Problem

A free-text review from a model is hard to scan and harder to display.

Objectives

  • Structured, validated review output.
  • Findings ranked by severity.
  • Try it without an API key.

My role and contributions

Personal project

  • Built the API, prompt schema and interface.

Technical architecture

Drawn from the project's real components, in the order data moves through them.

  1. Pasted code

    max 15,000 characters

  2. FastAPI

  3. Groq JSON mode

    Llama 3.3 70B

  4. Ranked findings

    critical · warning · suggestion

Technology stack

PythonFastAPIGroqLlama 3.3 70BJavaScriptVercel

Implementation details

Structured output
Groq JSON mode with a fixed schema: language, a 0–100 score, a summary, and findings with severity, title, line, description and suggestion.
Demo mode
Without an API key the app returns sample output.
Interface
One self-contained HTML file, no build step; serverless config for Vercel.

Screenshots and demonstrations

Screenshots for this project are being prepared.

Results and evaluation

  • Working tool; no formal evaluation published.

Limitations

  • Single-shot review of pasted code, no repository context.

Future improvements

  • Review whole diffs with repository context.

Next project

Smart Environmental Monitor