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

# Test sets

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

A **test set** is the ground truth for a [training run](/luna-studio/ui/runs/lifecycle). After fine-tuning, Luna Studio scores the resulting metric 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.** Use at least 300 rows with min of 100 rows per label. Ideally, a good test set should be 1000-3000 rows.

## Required schema

Check the [pre-requisites](/luna-studio/ui/prerequisites#required-dataset-format) section for details

## File formats

* **CSV** — standard comma-separated. Headers required.
* **JSONL** — one JSON object per line, with `input` and `label` keys.

Both formats accept up to a few hundred MB. Larger uploads work but take longer to validate.

## 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 Galileo — see [Galileo integration](/luna-studio/ui/integrations/galileo).

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 / Galileo 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>
