> ## Documentation Index
> Fetch the complete documentation index at: https://agent-observability-docs.splunk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Test sets

> Human-labelled datasets used to evaluate fine-tuned evaluators.

A **test set** is the ground truth for a [training run](/luna-studio/ui/runs/lifecycle). After fine-tuning, Luna Studio scores the resulting evaluator against the test set and reports F1, AUC-ROC, and other performance KPIs.

## What makes a good test set

* **Human-labelled.** Don't auto-generate test labels — they're the tape measure for evaluating the run.
* **Representative of production data.** Sample inputs from the same distribution your application sees in production.
* **Size.** Luna Studio enforces at least 300 rows total and 100 rows per label. Aim for 1,000-3,000 representative rows when possible.

## Required schema

Check [Prerequisites](/luna-studio/ui/prerequisites#required-dataset-format) for the columns required by each evaluator shape.

## File formats

* **CSV** — the end-to-end format for run validation and evaluation. Headers are required.
* **JSONL** — accepted by the source picker during ingestion, but current downstream processing reads CSV. Convert it to CSV before selecting it for a run.

Browser uploads are limited to 20 MiB.

## Add a test set

You can add a test set in three places:

* The [Datasets page](/luna-studio/ui/datasets/overview) → **Add test set** primary button.
* The [Step 2 of the run creation flow](/luna-studio/ui/runs/new-run/step-2-test-set) → dropdown's **Add new test set** action.
* (Indirectly) by importing from Splunk Agent Observability — see [Splunk Agent Observability integration](/luna-studio/ui/integrations/splunk-ao).

All three paths open the same **Add test set** modal — see [Add a dataset](/luna-studio/ui/datasets/add-a-dataset) for the modal reference.

## Where to go next

<CardGroup cols={2}>
  <Card title="Add a dataset" icon="upload" href="/luna-studio/ui/datasets/add-a-dataset">
    Walk through the Upload / URL / Splunk Agent Observability flows.
  </Card>

  <Card title="Validation" icon="circle-check" href="/luna-studio/ui/datasets/validation">
    What Luna Studio checks and what to do when validation fails.
  </Card>

  <Card title="Training sets" icon="dumbbell" href="/luna-studio/ui/datasets/training-sets">
    The other dataset type — used to fine-tune the base model.
  </Card>
</CardGroup>
