feat(iace): benchmark distance panel (Thema 1)
Surface result.distances in the benchmark module: a DistanceComparison panel showing agreement %, covered values (green), GT-only gaps (amber) and engine-only extras — mirroring the RiskComparison panel. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,7 @@ import { GTImportForm } from './_components/GTImportForm'
|
||||
import { HazardComparisonTable } from './_components/HazardComparisonTable'
|
||||
import { CategoryBreakdown } from './_components/CategoryBreakdown'
|
||||
import { RiskComparison } from './_components/RiskComparison'
|
||||
import { DistanceComparison } from './_components/DistanceComparison'
|
||||
|
||||
export default function BenchmarkPage() {
|
||||
const { projectId } = useParams<{ projectId: string }>()
|
||||
@@ -106,6 +107,9 @@ export default function BenchmarkPage() {
|
||||
{/* Risk-number comparison (tool vs professional) with traffic lights */}
|
||||
<RiskComparison pairs={result.risk_comparison} agreement={result.risk_agreement} />
|
||||
|
||||
{/* Distance/speed dimension comparison */}
|
||||
<DistanceComparison data={result.distances} />
|
||||
|
||||
{/* Hazard Comparison Table */}
|
||||
<HazardComparisonTable
|
||||
matched={result.matched_pairs || []}
|
||||
|
||||
Reference in New Issue
Block a user