# Trialground
Generated: 2026-11-11T09:39:25.115Z
Source build: local
Canonical docs: https://teammately.ai/docs
---
id: concepts.trialground
title: Trialground
summary: Execute saved Harnesses in managed sandboxes and assess recorded behavior against expert rubrics.
kind: concept
product_area: trialground
status: stable
updated: 2026-11-06
canonical: /docs/concepts/trialground
---
# Trialground
Trialground connects Harness execution with rubric evaluation. Your engineers can try candidate implementations across the situations in a benchmark and inspect how they behaved.
A change to retrieval, instructions, tool use, or orchestration becomes a concrete experiment with recorded inputs, responses, and judgments.
## Definition
Managed execution runs an exact saved Python Harness Version with its declared dependencies and selected benchmark inputs. Trialground prepares the dependency environment, manages execution, and retains outputs and captured trajectory events outside the sandbox.
**Benchmark Evaluations** provides **Runs**, **Results**, and **Dashboard**. A Run contains its planned Trials; each Trial exercises the candidate across the recorded Case population.
You can also submit externally executed responses, failures, and supported trajectories for assessment against the selected benchmark.
## Decision checkpoint
| Your question | Open | What to inspect |
| --- | --- | --- |
| Which candidate will execute? | Runs | Saved Version, machine, and Trial count |
| What did the agent do? | Results | Response, captured trajectory, and capture status |
| Why did it receive that score? | Results | Applicable rubrics, points, penalties, and gates |
| How do candidates compare? | Results and Dashboard | Comparable settings and complete populations |
| What happened across repetitions? | Run history | Independent Runs and the Run used for score |
## Prepare and run the experiment
Publish the intended Harness Version and grant the credentials it needs. Declared Python dependencies form the prepared execution image. Select the machine and Trials when launching an evaluation.
The Harness defines model calls, tools, task behavior, and state handling. An execution job can process several inputs in one process and workspace. Configure per-Case state and World reset behavior as part of the experiment.
Use a saved-Harness debug run to try supplied inputs during development. Use a Benchmark Version to assess the candidate against a fixed Case population and criteria.
## Read recorded behavior and judgments
Captured trajectories make instrumented actions and tool use inspectable. Capture status identifies the recorded material available for assessment. Preserve any other execution files through the configured persistence path when the task needs them.
Rubric judgments feed the project Regime. Positive points reward passing conditions; penalties deduct for failures; mandatory gates express requirements that must pass. Incomplete judgments remain visible across the full population.
## Investigate the next change
Run evaluation reopens matching existing work. Use **Run again** for an independent repetition. **Used for score** identifies the Run chosen before its results were known.
Follow a failure into a Harness change, a coverage question, or clarification of the standard. Engineers can compare the proposed intervention against the same benchmark that motivated it.
{% example-demo title="Inspect a retrieval intervention" %}
Two saved Harness Versions handle the same conflicting-document Cases. One improves source selection but becomes overconfident when the current document is missing. Results lets the engineer inspect both the gain and the regression before deciding which change to pursue.
{% /example-demo %}
## Related workflows
{% related-card-grid title="Run and inspect a candidate" %}
- [Run a Benchmark Evaluation](/docs/benchmark-evaluations/run-evaluation)
- [Evaluation Results](/docs/benchmark-evaluations/results)
- [Import External Evaluation Outputs](/docs/benchmark-evaluations/output-mapping)
{% /related-card-grid %}
## Related reference pages
{% related-card-grid title="Understand the experiment" %}
- [Harnesses](/docs/assets/harnesses)
- [Rubric Points and Benchmark Scores](/docs/correctness-governance/scoring)
- [Run Details and Metadata](/docs/benchmark-evaluations/run-details)
{% /related-card-grid %}
---
id: benchmark-evaluations.overview
title: Benchmark Evaluations
summary: Run saved candidates against a fixed Benchmark Version and inspect Runs, Trials, scores, comparisons, and resource use.
kind: concept
product_area: benchmark_evaluations
status: stable
updated: 2026-10-30
canonical: /docs/benchmark-evaluations
---
# Benchmark Evaluations
Benchmark Evaluations connects a fixed Benchmark Version to candidate responses, rubric judgments, scores and recorded resource use. Open **Runs** to launch or inspect execution, **Results** to inspect and compare outcomes, or **Dashboard** to read Progress, Leaderboard and Frontier.
## Definition
A product **Run** contains its planned **Trials**. Each Trial executes the selected candidate against the Case population. Repeated Trials remain separate executions; they are not retries that overwrite an earlier response. Managed Runs identify an exact saved Harness Version. Imported Runs identify externally produced responses.
The Benchmark Version freezes the Cases and evaluation configuration. Changing today's Harness activation, project settings or dataset does not rewrite an accepted Run.
## Decision checkpoint
| Question | Open | Check |
| --- | --- | --- |
| Which candidate and machine will execute? | Runs | Saved Version, machine, planned Trials |
| Why did a Case receive its result? | Results | Response, applicable Rubrics, gates and points |
| Where do candidates differ? | Results | Exact Runs and the same Benchmark Version |
| How is progress changing? | Dashboard | Population, completeness and metric |
| What happened on another execution? | Run history | Its independent Trials and settings |
## Launch and score selection
**Run evaluation** opens a matching existing Run when its immutable conditions agree. **Run again** deliberately creates another Run. **Used for score** identifies the reference selected before its outcomes were known. Later repeats remain inspectable without silently replacing the representative score.
Choose the execution machine and Trial count when launching. An ordinary Run has one Trial. Repeat Trials when the question requires repeated behavior, then read the chosen aggregation rule with the results.
## Scores and completeness
Binary rubric judgments feed the configured Regime. Positive points, penalties and mandatory gates have different effects. Negative scores can be valid. A missing judgment is incomplete rather than a pass, failure or zero. Results retain the full planned Case and Trial population.
Read cost, tokens and latency only when recorded. Missing telemetry stays unknown. Submitted trajectories describe captured execution steps; they do not disclose private model reasoning.
## External responses
Import and evaluate file-based responses or use the supplied API instructions. Accepted responses are immutable within that Trial. Corrected responses require a new Trial in the same external Run or a new Run; accepted responses in the original Trial remain unchanged. Imported Runs can appear in Results comparisons; executing or improving a Harness still requires an executable saved Version.
## Related reference pages
{% related-card-grid title="Related reference pages" %}
- [Run a Benchmark Evaluation](/docs/benchmark-evaluations/run-evaluation)
- [Evaluation Results](/docs/benchmark-evaluations/results)
- [Evaluation Dashboard](/docs/benchmark-evaluations/dashboard)
- [Evaluation Execution Settings](/docs/benchmark-evaluations/execution-settings)
- [Import External Evaluation Outputs](/docs/benchmark-evaluations/output-mapping)
- [Rubric Points and Benchmark Scores](/docs/correctness-governance/scoring)
{% /related-card-grid %}
---
id: benchmark-evaluations.run
title: Run a Benchmark Evaluation
summary: Choose saved Harness Versions, an execution machine, and Trials, then launch or reuse a comparable Run.
kind: task
product_area: benchmark_evaluations
status: stable
updated: 2026-10-30
canonical: /docs/benchmark-evaluations/run-evaluation
---
# Run a Benchmark Evaluation
Use a managed evaluation to execute a saved Harness Version against every Case in the selected Benchmark Version.
## Prerequisites
- A Benchmark Version with the intended Cases and eligible evaluation rules.
- A saved Harness Version with its runtime and required secret grants.
- Permission to run evaluations and an available execution machine.
## Steps
1. Open the Benchmark's **Benchmark Evaluations → Runs**.
2. Choose **Run evaluation** and select the saved Harness Versions. Confirm each Version rather than relying on the Harness name.
3. Select the execution machine. Its CPU and memory allocation must meet the Harness requirements.
4. Keep one Trial for a single execution, or select **Repeat Trials** and enter the total Trials per Run, including the first.
5. Check the displayed Case executions and confirm the launch.
6. Follow output preparation and rubric evaluation separately. Responses can finish before their judgments.
7. Open Results after checking the planned population and completeness.
The service accepts 1–50 Trials per selected candidate. The launch form checks a positive whole number; the service enforces its upper bound. This is a per-launch choice rather than a request to change a benchmark-wide sampling profile.
## Reuse and deliberate repeats
Run evaluation reopens a Run with matching immutable conditions when one already exists, including a queued, running, completed or failed Run. It does not start extra Trials merely because the action was selected again.
Use **Run again** when another independent execution is intended. A repeat keeps the referenced conditions. Changed conditions must be handled explicitly rather than silently joining a different population.
## Object and state changes
A new admission records one Run per selected candidate, its Trials, exact Harness and Benchmark Versions, execution allocation and evaluation settings. A matching admission returns the existing Run. Recorded responses, judgments and telemetry accumulate independently.
The Run automatically selected as **Used for score** is chosen before results are known. Later repeats remain in Run history and do not silently replace it.
## Success criteria
- The selected Versions, machine and Trial count match the intended experiment.
- Every planned Case and Trial remains accounted for.
- Missing judgments remain incomplete.
- A repeat is distinguishable from reopening existing work.
## Common failure modes
- Choosing a different saved Version than intended.
- Mistaking output completion for completed evaluation.
- Treating Run evaluation as an unconditional repeat.
- Reading only successful Trials from an incomplete Run.
## Related reference pages
{% related-card-grid title="Related reference pages" %}
- [Evaluation Execution Settings](/docs/benchmark-evaluations/execution-settings)
- [Evaluation Results](/docs/benchmark-evaluations/results)
- [Run Details and Metadata](/docs/benchmark-evaluations/run-details)
{% /related-card-grid %}
## Related troubleshooting pages
{% related-card-grid title="Related troubleshooting pages" %}
- [Benchmark run troubleshooting](/docs/troubleshooting/benchmark-runs)
- [Missing Outputs](/docs/troubleshooting/missing-outputs)
{% /related-card-grid %}
---
id: benchmark-evaluations.compare
title: Evaluation Results
summary: Inspect Case and rubric outcomes and compare exact managed or imported Runs within a Benchmark Version.
kind: task
product_area: benchmark_evaluations
status: stable
updated: 2026-11-06
canonical: /docs/benchmark-evaluations/results
---
# Evaluation Results
Results presents a matrix of selected Runs and the Cases or criteria they evaluated. Use one Run for inspection or several comparable Runs to locate gains, regressions and missing judgments.
## Prerequisites
- At least one Run for the intended Benchmark Version.
- Permission to inspect its Cases, responses and judgments.
- Comparable recorded conditions when interpreting differences.
## Steps
1. Open **Benchmark Evaluations → Results** and confirm the Benchmark Version.
2. Select the visible Runs. Managed and imported Runs can both be inspected and compared; an imported Run does not require a saved Harness Version for comparison. Confirm the external candidate identity and recorded conditions before interpreting a difference.
3. Choose Cases, Policies, Rubrics, Dimension ontology values, Topics, Topic Groups or Scenarios as the row grouping.
4. Read completeness before comparing scores. An empty or incomplete result is not a failed judgment.
5. Open a Case or rubric detail to inspect the response, captured trajectory where supplied, criterion, observed judgment and rationale. Check capture status before using recorded actions to explain a trajectory judgment.
6. For repeated Trials, inspect the selected aggregation rule and the individual Trial outcomes.
7. Route an actual candidate problem to Harness improvement, a standard problem to Correctness Governance, or an input-coverage problem to Coverage Design.
## Representative and historical Runs
Default candidate results use the Run selected before its outcomes were known. **Used for score** identifies that reference. Other executions remain in Run history and can be inspected without silently replacing the representative result.
Selecting matrix columns changes the analysis view. It does not activate a Harness, execute a candidate or declare a winner.
## Object and state changes
Filtering, row grouping and inspection are read-only. An authorized project manager can separately use **Correct judgment** on an exact rubric result. That operation records a correction and preserves the original AI judgment; refreshed aggregates come from the authoritative result snapshot.
## Success criteria
- Every compared column has an identified Run and Benchmark Version.
- Differences resolve to actual Cases and applicable criteria.
- Missing outcomes stay distinct from negative scores or failed gates.
- Manual corrections remain attributable.
## Common failure modes
- Treating an imported Run as an executable Harness.
- Combining later successful Trials into an earlier reference score.
- Reading a filtered population as the entire benchmark.
- Changing a rubric judgment when the real problem is an incorrect Case or standard.
## Related reference pages
{% related-card-grid title="Related reference pages" %}
- [Inspect Evaluation Results](/docs/benchmark-evaluations/inspect-results)
- [Evaluation Dashboard](/docs/benchmark-evaluations/dashboard)
- [Rubric Points and Benchmark Scores](/docs/correctness-governance/scoring)
{% /related-card-grid %}
## Related troubleshooting pages
{% related-card-grid title="Related troubleshooting pages" %}
- [Benchmark Results Changed Unexpectedly](/docs/troubleshooting/benchmark-results-changed-unexpectedly)
- [Overlapping Rubrics](/docs/troubleshooting/overlapping-rubrics)
{% /related-card-grid %}
---
id: benchmark-evaluations.output-mapping
title: Import External Evaluation Outputs
summary: Import native responses or execution failures for exact benchmark Cases and complete the Trial for rubric evaluation.
kind: task
product_area: benchmark_evaluations
status: stable
updated: 2026-10-30
canonical: /docs/benchmark-evaluations/output-mapping
---
# Import External Evaluation Outputs
Import externally produced responses when execution belongs to your application. Teammately associates them with the Cases in the selected Benchmark Version and evaluates them against that Version's criteria.
## Prerequisites
- An immutable Benchmark Version and its issued Case IDs.
- Actual responses or recorded execution failures.
- Permission to import results.
- Explicit intent to complete a partial Trial if some Cases are absent.
## File import
Open **Benchmark Evaluations → Runs** and the import flow. Match the response rows to the exact Case IDs, inspect supplied and expected counts, then confirm **Import and evaluate**.
Files can be CSV, a JSON array or JSONL up to 10 MB. CSV response cells are text. JSON retains native response types and text whitespace. A JSON null response is a submitted value, not an absent response.
## API submission
The in-product API instructions expose the Case manifest and request examples for the selected Version. First submission creates a Run and its first Trial atomically from real results. Merely opening the instructions or choosing a destination does not reserve an empty Run.
Use returned IDs and links for later batches and completion. Reuse the exact idempotency key and request when recovering an uncertain submission. Each result supplies a Case ID and exactly one response or execution failure; recorded trajectories, latency, usage and cost are optional.
## Object and state changes
Accepted Case results are immutable within a Trial. Additional batches can append missing Cases but cannot replace accepted responses. Corrections require a new Trial, either within the same external Run or in a new Run, while retaining the original response.
Completion freezes the submitted population and queues evaluation. Missing Cases require explicit partial completion. A retry of failed evaluation admission does not modify accepted responses.
## Success criteria
- Rows identify Cases in the intended Benchmark Version.
- Supplied, missing and failed-execution counts are understood.
- Completion and evaluation state are confirmed separately.
- Corrected responses are distinguishable from the original import.
## Common failure modes
- Joining by row order or similar text instead of Case identity.
- Reusing an idempotency key for changed content.
- Treating an execution failure as a valid failing response.
- Treating imported responses as an executable Harness.
- Assuming recorded trajectories disclose private reasoning.
## Related reference pages
{% related-card-grid title="Related reference pages" %}
- [Evaluation Results](/docs/benchmark-evaluations/results)
- [Connect Model Outputs](/docs/integrations/connect-model-outputs)
- [Dataset Snapshots](/docs/benchmark-datasets/snapshots)
{% /related-card-grid %}
## Related troubleshooting pages
{% related-card-grid title="Related troubleshooting pages" %}
- [Output mapping troubleshooting](/docs/troubleshooting/output-mapping)
- [Missing Outputs](/docs/troubleshooting/missing-outputs)
{% /related-card-grid %}
---
id: correctness.scoring
title: Rubric Points and Benchmark Scores
summary: Interpret earned points, penalties, mandatory gates, negative percentages, and incomplete benchmark results.
kind: reference
product_area: correctness_governance
status: stable
updated: 2026-11-06
canonical: /docs/correctness-governance/scoring
---
# Rubric Points and Benchmark Scores
## Definition
A binary rubric judgment describes observed behavior. The Regime determines how that judgment contributes to a Case and Benchmark score. Positive points, penalties and mandatory gates have distinct meanings.
## Fields, states, or lifecycle rules
- Positive points are earned when the relevant Rubric passes.
- Penalty points are deducted when its Rubric fails.
- A mandatory gate determines eligibility in a gated framework.
- Missing or incompatible judgments remain incomplete.
- Exact recorded fractions are displayed as percentages.
## Scoring frameworks
| Framework | How applicable judgments combine |
| --- | --- |
| Weighted | Positive points reward passes and penalty points deduct for failures, producing a percentage score. |
| Gated Weighted | Point scoring is combined with mandatory gates. A high point score cannot compensate for a failed gate. |
| All Must Pass | Every applicable rubric must pass. A failed rubric fails the Case; there is no partial credit or numeric point configuration. |
Read each result using the framework captured by its Benchmark Version. A
preference can be assessed by a binary rubric without becoming a mandatory gate.
The framework and configured treatment determine its scoring effect. Missing
required judgments remain incomplete in every framework.
## Case score
For current point-based configuration, the Case score is:
```text
(earned positive points - triggered penalty points)
/ total applicable positive points
```
If there are no applicable positive points, the denominator is the total applicable penalty points. If that denominator is also zero, the Case is unscored.
A penalty-only Case ranges from 0% when no penalty triggers to -100% when all trigger. A mixed Case can score below -100%. There is no per-Case floor, cap or output scaling in the current configuration.
{% example-demo title="A valid negative score" %}
A Case has 2 applicable positive points and 6 penalty points. It earns both positive points and triggers every penalty. Its score is (2 - 6) / 2, or -200%. The negative result preserves the configured consequence rather than being clamped to zero.
{% /example-demo %}
{% example-demo title="A requirement that must pass" %}
A response earns 8 of 10 applicable positive points and triggers a 3-point penalty, giving a 50% rubric calculation. In Gated Weighted, a completed mandatory-gate failure makes that Case contribute zero to the benchmark score while preserving the calculation for diagnosis. An incomplete judgment keeps the assessment incomplete until its required population is settled.
{% /example-demo %}
## Gates and incomplete judgments
A completed mandatory-gate failure contributes zero to the benchmark score. Its rubric calculation remains available for diagnosis. Missing judgments do not become zero merely because another gate failed.
Benchmark and repeated-Trial means retain the entire frozen population. An unresolved Case or Trial makes the evaluation incomplete and unrankable. Technical execution failure is not a valid rubric failure.
## Repeated Trial judgments
For pass@n and pass^n, combine judgments for each Rubric across the Run's `n` planned Trials before applying the captured Regime. Both require an available, compatible pass-or-fail judgment for that Rubric from every planned Trial.
- **pass@n:** the Rubric passes when at least one of the `n` Trials passes it.
- **pass^n:** the Rubric passes only when all `n` Trials pass it.
- A missing, unavailable, or incompatible judgment leaves that Rubric's repeated result incomplete, even when another Trial passes it.
The Regime applies its configured scoring rules to the combined Rubric judgments.
{% example-demo title="A missing Trial judgment" %}
Two Trials are planned. A Rubric passes in the first Trial, but its second judgment is unavailable. Both pass@2 and pass^2 remain incomplete. If the second judgment later completes as a failure, pass@2 passes that Rubric and pass^2 fails it.
{% /example-demo %}
## History and configuration
Project Settings → Regime configures point ranges, increments and guidance. New settings affect future captured work. Earlier Benchmark Versions retain their accepted scoring configuration; historical scaling rules are interpreted under that configuration.
Use **Correct judgment** for an attributable correction to an exact result. Use the governing Policy, Rubric or Regime settings when the intended standard is what needs to change.
## Related task pages
{% related-card-grid title="Related task pages" %}
- [Regime Settings](/docs/project-settings/regime)
- [Inspect Evaluation Results](/docs/benchmark-evaluations/inspect-results)
- [Write Binary Rubrics](/docs/correctness-governance/binary-rubrics)
{% /related-card-grid %}