AI Campus • Project guide

Automated LLM Evaluation & Benchmark Suite

Create a repeatable saved-output regression harness, then extend it with human ratings and operational measurements.

Build guide and prerequisites

Follow this roadmap to implement and validate your own application, then record your observed results.

  • Python and JSON basics.
  • Saved baseline/candidate outputs and a small manually labeled task set.

Required tools and free options

  • Python
  • JSON
  • Optional SQLite
  • Optional charting frontend

Cost: The supplied deterministic starter runs offline without model calls. Evaluating saved answers is free of API fees; generating new outputs or using an LLM judge may incur separate costs.

Start with a smaller working example

Downloadable offline output evaluator →

This starter checks required and forbidden phrases with exit codes. It does not evaluate semantic truth, faithfulness or comprehensive model quality, and it does not call an LLM judge.

Build it step by step

  1. 1. Specify cases before candidate changes

    Create ten stable case IDs with inputs, expected properties and known failure examples. Cover normal, ambiguous, unsupported and adversarial inputs. Freeze a holdout set that is not used to tune the prompt.

  2. 2. Run the deterministic starter

    Download the evaluator and follow its cases.json and answers.json example. Confirm a known good answer exits 0, a deliberately wrong answer exits 1 and invalid input exits 2.

  3. 3. Compare saved output versions

    Save baseline and candidate answers under different filenames, with the same case IDs and prompt/model metadata. Run both against identical checks. Do not regenerate answers silently during evaluation.

  4. 4. Add task-specific review

    For citations, resolve source IDs and manually compare claims to passages. For structured output, validate JSON shape and required fields. Have a reviewer score a blinded sample against a written rubric; phrase matches alone are not truth assessment.

  5. 5. Capture operational measurements honestly

    Record latency, errors and token usage only when actually observed during generation. Leave unavailable metrics blank rather than inventing zeros. Calculate estimated costs separately using the applicable provider rate and date, if a paid provider is later used.

  6. 6. Publish a bounded comparison

    Create a table or dashboard with pass counts, changed cases, reviewer notes and missing metrics. Define acceptance thresholds before looking at the candidate. Retain examples of regressions; do not turn one aggregate score into a universal quality claim.

Expected output and validation

A reproducible comparison of saved outputs with transparent deterministic checks and optional human review. A complete LLM-as-judge benchmark is an extension, not supplied code.

  • Deliberate regressions fail and malformed suites cannot pass.
  • Case IDs align across versions and holdout cases stay separate.
  • Reports distinguish phrase checks, human ratings and measured operational metrics.

From setup to a working demo

  1. Check Python: python --version. On Windows, if it is not found, try py --version.
  2. Run the smallest local example first. Use the guide’s inputs, expected output and failure cases before adding more features.
  3. API keys: The local starters need none. If you choose a cloud provider later, keep its key in a server environment variable and out of browser code and Git.
  4. Setup stuck? Record the exact command, Python version and redacted error. “Module not found” usually means the package was installed in a different environment; use the same Python executable to install and run.
  5. Before sharing: Add a local demo video or screenshot, README and observed tests. For public hosting, follow your framework’s deployment guide and check environment variables, secrets and hosting costs first.

Three checkpoints before your demo

  • Run the sample from the guide and record the actual output in your README.
  • Change one input, write down what you expect, then compare it with what happens.
  • Give a classmate just your README. Fix one thing that gets in their way when they try to run it.

Share a build or ask for feedback

Share your build or setup question without leaving AI Campus. Admin replies appear on your private status link. Review depends on availability; no response time is promised.

Include the exact command and redacted error for setup help. Do not send API keys, passwords, private resumes or personal documents. This does not subscribe or unsubscribe you.

Official references

Free to read. Software setup, model access and hosted services have their own requirements. References checked 3 November 2026.

AI Campus Weekly Dispatch

Keep learning with AI Campus

Get AI news, tools, skills and opportunities in the weekly dispatch.

Get a welcome AI briefing and weekly Sunday updates. Unsubscribe anytime in 1 click.

Learn and build with BrandMint AI

Learning opportunities with BrandMint AI

Explore AI news, tools and skills on AI Campus. When you want to learn further, choose BrandMint AI courses, mentoring or learning apps below.

AI Campus guides are free. Check each platform for course fees and availability.

Courses and mentoring

Learn AI foundations or develop practical software skills.

Learning apps

Practise AI skills or explore CBSE learning support.

Marketing and filmmaking

Build a portfolio through creative and practical learning.

Essential cookies keep the site working. Language and subscription preferences stay on your device. We do not currently use optional analytics or advertising cookies.

Details and settings