import React from 'react'; export default function ResultsPanel({ results }) { return (

Latest Run Results

{(!results || results.length === 0) ? (

No runs yet. Queue a sensor input and run the simulation.

) : ( {results.map((r, i) => ( ))}
Command Sensor Value Result Output Net ops
{r.command} {r.sensor} {r.value} {r.matched ? 'matched' : 'no match'} {r.output || '—'}{r.actuator ? ` → ${r.actuator}` : ''} {r.network_ops_applied}
)}
); }