Skip to content
back to achievements

Case study · Stadium Rover

Client project · AugmentProject period2024 – 2025

AI output evaluation

Designed an AI evaluation agent using the ReAct framework to assess itinerary and stadium-review-summary outputs against predefined inputs and evaluation criteria.

01

Why

With AI work we change model versions and prompts often, and each change can alter the results. The agent didn't give consistent output across different preferences, and a change could quietly make things worse. Initially there were no tests for the AI at all.

02

Decision

I pushed for evaluation tests, and I built an evaluation agent on the ReAct framework. It runs predefined inputs through the generation, checks the results against evaluation criteria, and reasons about their quality. It covers both itineraries and review summaries. It runs in GitHub Actions on every AI change, with a quality gate: if the outputs get worse, the change is blocked, and only a change that passes is deployed.

There was hesitation, because every change would now cost money to evaluate. My case was that it gives us confidence that we are delivering something that works against our metrics, and a confirmation that existing behavior still works after every change.

How it fits

Hover or focus a box for the story behind it.

Whenever the model or a prompt changes, a ReAct evaluation agent runs in GitHub Actions and a quality gate decides: a passing change ships, a worse one is blocked, fixed and rerun.GitHub Actions, every AI changeRerun after the fixSwitching to a new model version, editing a prompt or changing the generation logic all count as an AI change.AI change Model or promptAn agent built on the ReAct framework runs predefined inputs through the generation, checks the results against evaluation criteria and reasons about their quality. It covers itineraries and review summaries.Eval agent ReAct frameworkIf the outputs get worse, the change is blocked. Only a change that passes is deployed.Quality gate Pass or blockA change that passes the gate is deployed.Ship Deploy the changeThe change is reworked and the evals run again before it ships. This is where regressions are caught, such as a prompt change that affects other results.Blocked Fix and rerun

Quality holds, so the gate lets the change through and it is deployed.

03

Alternatives considered

Shipping without evaluation tests, which is where the project started.

04

What I built

Designed and developed an AI evaluation mechanism for validating generated itinerary results before deployment.

Implemented an evaluation agent using the ReAct framework to test AI-generated itineraries against predefined inputs and evaluation criteria, analyze the quality of generated results, and support iterative refinement of the AI workflow.

Extended AI evaluation testing to cover both itinerary generation and review-summary functionality.

05

Trade-offs

  • It costs money on every change.
  • The cost isn't optimized. I planned a cheaper way using the same model but didn't get to it, so it is costlier than it could be.

06

Outcome

AI changes are tested like code before they ship, and the team can change prompts and models with confidence. It catches real regressions: when we change a model or a prompt, it shows which results are affected, and we rework the change before it ships.

Technologies