Arize Phoenix TS
    Preparing search index...

    The Example fields that define a single test case, excluding its expected output (which is supplied separately via ReferenceOutput).

    input is the example's input — the value fed to the task under evaluation. When the case is tracked, this becomes the dataset example's input.

    interface TestParamsBase<Input extends KVMap = KVMap> {
        config?: TestConfig;
        dryRun?: boolean;
        id?: string;
        input: Input;
        metadata?: KVMap;
        repetitions?: number;
        splits?: string[];
    }

    Type Parameters

    Index

    Properties

    config?: TestConfig

    Per-test config (tags + metadata recorded on the run).

    dryRun?: boolean

    When true, this test runs as an ordinary local test only — no dataset example is created and no experiment run or annotations are uploaded to Phoenix. Useful for scaffolding a case before it's ready to track.

    id?: string

    Optional stable example id; used to upsert the example between runs.

    input: Input

    The example's input — fed to the task under evaluation. Required.

    metadata?: KVMap

    Additional metadata stored on the example and its run.

    repetitions?: number

    Number of times to run this test case. Each repetition becomes a separate experiment run against the same dataset example (carrying a distinct repetition_number). Overrides the suite-level repetitions. Defaults to the suite value, then PHOENIX_TEST_REPETITIONS, then 1.

    splits?: string[]

    Split assignment(s) for the example, used to slice the dataset and experiment in the Phoenix UI (e.g. ["factual_accuracy", "correct"]).