"use client" import React from "react" export default function ReportPanel({ report, onClose }: { report: any, onClose: () => void }) { if (!report) return null const models = report.models || [] return (

Simulation Report

Summary metrics for this match.
Rounds
{report.rounds}
Models
{models.length}
{models.map((m: any) => (
{m.display_name || m.id}
{m.id}
Decisions
{m.decisions}
Distance travelled:
{m.distance.toFixed(0)} px
Water pickups:
{m.water_picks}
Extinguish score:
{m.extinguish_score.toFixed(1)}
Logical moves:
{Math.round(m.logical_pct)}%
Top messages
{(m.top_messages || []).map((msg: string, idx: number) => (
- {msg}
))}
))}
) }