@runloop/api-client - v1.4.0
    Preparing search index...

    Interface BenchmarkRunView

    A BenchmarkRunView represents a run of a complete set of Scenarios, organized under a Benchmark or created by a BenchmarkJob.

    interface BenchmarkRunView {
        id: string;
        metadata: { [key: string]: string };
        start_time_ms: number;
        state: "running" | "completed" | "canceled";
        benchmark_id?: string | null;
        duration_ms?: number | null;
        environment_variables?: { [key: string]: string } | null;
        name?: string | null;
        purpose?: string | null;
        score?: number | null;
        secrets_provided?: { [key: string]: string } | null;
    }
    Index

    Properties

    id: string

    The ID of the BenchmarkRun.

    metadata: { [key: string]: string }

    User defined metadata to attach to the benchmark run for organization.

    start_time_ms: number

    The time the benchmark run execution started (Unix timestamp milliseconds).

    state: "running" | "completed" | "canceled"

    The state of the BenchmarkRun.

    benchmark_id?: string | null

    The ID of the Benchmark definition. Present if run was created from a benchmark definition.

    duration_ms?: number | null

    The duration for the BenchmarkRun to complete.

    environment_variables?: { [key: string]: string } | null

    Environment variables used to run the benchmark.

    name?: string | null

    The name of the BenchmarkRun.

    purpose?: string | null

    Purpose of the run.

    score?: number | null

    The final score across the BenchmarkRun, present once completed. Calculated as sum of scenario scores / number of scenario runs.

    secrets_provided?: { [key: string]: string } | null

    User secrets used to run the benchmark. Example: {"DB_PASS": "DATABASE_PASSWORD"} would set the environment variable 'DB_PASS' on all scenario devboxes to the value of the secret 'DATABASE_PASSWORD'.