Data Scientist / AI/ML Engineer

The challenge

A change to a model, prompt, or set of context inputs can move quality, cost, and latency in different directions. A cheaper candidate might also drop the evidence it needs for the cases you cannot afford to miss. You need a comparison that tells you which tradeoff you are making, not just whether the mean score improved.

The hard part is making results from different experiments comparable. The candidate, input materials, cases, and assessment all need stable identities. Otherwise a promising result can disappear when someone else runs it again.

Trace a behavior failure to the change worth testing and compare model or harness candidates against a stable behavioral specification.

How we address

Start with a behavioral failure. Hold the bench fixed when testing a model, retrieval change, or revised prompt. Keep nearby Cases where the baseline worked so the same experiment can surface a regression.

Compare model and harness versions on the same Cases. Read quality and cost together, then inspect the Case results and available traces to see what changed: whether the agent asked for a missing input, chose a different action, or simply phrased the same answer differently.

With Teammately, you can run a saved harness in Trialground or submit supported evidence from your own runtime. You decide whether to investigate a change interactively with Lemon Code, ask Lemon Goal to try several approaches, or prepare examples for training and assess the resulting model independently.

Compare exactly what ran

Trialground associates saved harness and bench versions with outcomes, execution status, and recorded trajectories. Use repeated trials to check whether a change holds beyond one attempt. With Lemon Goal, set an objective, budget, permitted changes, and behaviors to protect. For model weights, inspect expert-grounded examples or preference pairs, review the training splits, and assess the resulting model on separate Cases.

Loading Benchmark Eval…
Trialground in the Teammately SandboxSwipe inside the workspace to see more.

Trace the failure before changing the agent

Application behavior depends on the model, the harness, the context it supplies, and the tools it makes available. A failed case can come from missing source material, an action attempted in the wrong state, or a decision that the model got wrong despite having the facts. Those failures call for different changes.

Start with the Case, applicable Rubrics, and what the candidate actually did. Trialground retains outputs, execution status, and available trajectories so you can inspect the difference between a response problem and a problem in the path that produced it. Compare candidates on the same bench version and examine variation across repeated trials.

Inside a Trialground run →

Test a concrete change against behavior you want to keep

Choose the next change based on the observed failure. Inspect and develop a harness interactively with Lemon Code, or give Lemon Goal an objective, protected behavior, permitted changes, and a budget. Goal investigates failures and tests competing harness revisions. Engineers review both the proposed change and the gains and regressions before deciding what to integrate.

An existing runtime is also a useful starting point. Submit supported outputs or trajectories from that runtime for assessment when moving harness execution into a managed environment is unnecessary for the question you need to answer.

Lemon Goal →

Keep the experiment tied to an exact candidate

Make the comparison answer one engineering question at a time. Save the candidate’s harness and declared runtime requirements, and choose a fixed Bench Version with the cases and assessment settings you intend to use. If the test depends on reference files or starting conditions, preserve those inputs too. A result should not silently start referring to a later harness draft or a case that was edited after execution.

Inspect coverage slices that correspond to the behavior you meant to change. A net improvement can conceal failures that cluster around one permission boundary, a group of inputs that need additional context, or a tool operation that became less reliable. Looking at the applicable criteria and captured trajectories tells you whether the gain came from the intended mechanism.

Repeated trials add a separate dimension: whether a result reproduces under the same case and assessment. Record when the candidate failed to complete an execution or when an assessment was unavailable instead of reading those cases as a successful check. That distinction helps determine whether the next change belongs in the agent, its environment, or the evaluation.

Choose the smallest candidate that tests your explanation

An experiment is more useful when it separates competing explanations. If a harness never sees the necessary reference, first test whether giving it the right source changes the decision. If it sees the source and still mishandles the exception, try changing the decision instructions or the model and measure the difference. The intervention should reflect where the failure happened, not which component is easiest to edit.

Lemon Code works with you on an editable harness draft; Lemon Goal can investigate multiple alternatives under a benchmark objective. Both require a human decision about the next change to adopt. Give the experiment explicit behavior to protect so the easiest score increase cannot erase other expectations from the same task.

For an external coding agent, use the same Cases, requirements, and run evidence while keeping edits in the repository where the application lives. A small baseline comparison still helps when the candidate is not executed by Trialground. What matters is that the artifact being assessed, the evidence it produced, and the criteria used to assess it remain identifiable.

Return unclear criteria to the people who can settle them

A lower score is not always an engineering assignment. Sometimes the benchmark leaves out evidence a person would need, or two reviewers expect different outcomes for the same recorded facts. More prompt experiments will not settle the intended behavior. Bring the specific Case and the competing readings back to the builder or expert who can explain the requirement.

Once the team has an agreed criterion and coverage on both sides of the distinction, compare the baseline and candidate again. That closes the question in a way a score alone cannot: you can see whether the new behavior meets the actual requirement and whether it preserves the decisions the earlier harness got right.

Use a different evidence set to teach the model

If the required behavior depends on a distinction the model repeatedly misses, expert criteria can guide demonstrations or preference pairs. Keep closely related teaching cases within the same split and assess the trained candidate on separate benchmark Cases. The point is to learn whether behavior transfers, not how well the model repeats its teaching examples.

Alignment Actualization →

Resources to get started

  • Inside a Trialground run

    See what a managed execution preserves and how that evidence is assessed.

    Read article
  • How Lemon Goal tests harness improvements

    Follow an investigation from constraints to competing candidate results.

    Read article
  • Documentation

    Developer guide: MCP and CLI

    Use the bench and run evidence with the tools you already develop in.

    Read documentation

Find which behavior changed, and what it cost.

A failing trajectory and the change you’re considering are enough to start. We can look at what the run establishes, choose one variable to test, and compare quality and cost on the same Cases without losing sight of the behavior you need to preserve.