Member Junction
    Preparing search index...

    Result from running a single test

    interface TestRunResult {
        completedAt: Date;
        durationMs: number;
        errorMessage?: string;
        failedChecks: number;
        oracleResults: OracleResult[];
        passedChecks: number;
        resolvedVariables?: ResolvedTestVariables;
        score: number;
        sequence?: number;
        startedAt: Date;
        status: "Passed" | "Failed" | "Skipped" | "Error" | "Timeout";
        targetLogEntityId?: string;
        targetLogId: string;
        targetType: string;
        testId: string;
        testName: string;
        testRunId: string;
        totalChecks: number;
        totalCost: number;
    }
    Index

    Properties

    completedAt: Date

    When execution completed

    durationMs: number

    Execution duration in milliseconds

    errorMessage?: string

    Error message if status is Error

    failedChecks: number

    Number of checks that failed

    oracleResults: OracleResult[]

    Oracle evaluation results

    passedChecks: number

    Number of checks that passed

    resolvedVariables?: ResolvedTestVariables

    Resolved variables that were used for this test run

    score: number

    Overall score (0.0000 to 1.0000)

    sequence?: number

    Iteration number for repeated tests (when RepeatCount > 1)

    startedAt: Date

    When execution started

    status: "Passed" | "Failed" | "Skipped" | "Error" | "Timeout"

    Test execution status

    targetLogEntityId?: string

    Entity ID identifying the type of target being tested. References Entity.ID (e.g., Entity ID for "MJ: AI Agent Runs").

    targetLogId: string

    Target entity ID (e.g., AIAgentRun.ID)

    targetType: string

    Optional sub-category or variant label for the test target. Use for ad-hoc labeling or to distinguish test scenarios within the same entity type. Examples: "Summarization", "Classification", "Code Review", "Multi-turn Chat"

    testId: string

    Test ID

    testName: string

    Test name (from lookup field)

    testRunId: string

    Test Run ID

    totalChecks: number

    Total number of checks

    totalCost: number

    Cost in USD