Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | export type SimulationStatus = "draft" | "active" | "running" | "completed" | "archived" | "failed";
export type SimulationStrategy = "cooperative" | "competitive" | "mixed" | "adversarial" | "custom";
export interface SimulationWorld {
id: string;
name: string;
description: string | null;
rules: Record<string, unknown> | null;
logic: Record<string, unknown> | null;
status: SimulationStatus;
created_at: string;
}
export interface SimulationRoundResult {
round_number: number;
agent_outputs: Record<string, string>;
terminated: boolean;
termination_reason: string | null;
}
export interface SimulationRunResult {
simulation_id: string;
status: string;
rounds: SimulationRoundResult[];
final_summary: string | null;
metrics: Record<string, unknown>;
total_tokens: number;
error: string | null;
}
export interface Simulation {
id: string;
world_id: string;
scenario_id: string | null;
name: string;
description: string | null;
agent_ids: string[];
status: SimulationStatus;
results: SimulationRunResult | null;
run_metadata: Record<string, unknown> | null;
started_at: string | null;
finished_at: string | null;
created_at: string;
}
export interface SimulationScenario {
id: string;
world_id: string;
name: string;
description: string | null;
strategy: SimulationStrategy;
tags: string[] | null;
config: Record<string, unknown> | null;
status: SimulationStatus;
created_at: string;
}
|