Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
AI, ML & LLMSeniorSpecialistTest design

You changed a coding agent's harness, for example its instructions, a hook or context compaction. How do you show that it got better and not worse?

Answer

Treat it as a regression experiment. Run a fixed task set with known expected results, including the past failures that motivated earlier harness rules, on the old and the new harness with the model, tools and versions unchanged. Repeat each task several times because agents are non-deterministic, and compare task success and consistency across runs, cost per successful task, turns and time. Read the traces of tasks that flipped either way, watch for gains on one task that cause regressions elsewhere, and roll out gradually while monitoring the same metrics in real use.

Strong answer includes

  • uses a fixed task set with known outcomes and past failures
  • changes only the harness and keeps the model and tools fixed
  • repeats runs and compares success, consistency, cost and turns
  • inspects traces of flipped tasks and guards against overfitting to one task

Practical example

A new compaction rule shortens long sessions. On 40 tasks run three times each, success stays at 31 of 40 and cost per successful task drops 18%, but two tasks that need an early file path now fail every time; the traces show the path was summarised away. The rule is changed to keep file paths before it ships.

#agent-harness#agent-evaluation#regression#ai-qa

Sources

What is asked in a Harness Engineer interview?Outcome School · Round-by-round harness-engineer interview: the agent loop, stopping criteria, loop detection, self-correction through tests, evaluating harness changes and designing a team harnessAI Engineer Interview Questions 2026: RAG, Agents, Evals, and Production SystemsPracHub · Candidate-reported practice prompts, including designing an agent harness and evaluation system with repeatable trials, traces and gradersAI Engineering Interview Questions Company WiseGitHub community repository · Questions compiled from publicly reported AI-engineering interviews, including model versus harness for coding agents and evaluating agents rather than single responsesImproving Deep Agents with harness engineeringLangChain · Harness-only changes with a fixed model on Terminal Bench 2.0: verification before finishing, loop detection, time budgets and the risk of overfitting harness changesEvaluation best practicesOpenAI · LLM evaluation design, datasets, graders, continuous evaluation and human calibration