From a6eb0ba904100984fb9e98b3589009bc5421e0c4 Mon Sep 17 00:00:00 2001 From: Francis Li Date: Sat, 31 Oct 2026 03:01:26 -0700 Subject: [PATCH 1/2] Correct report data contract: unlisted metric keys are not charted ChartGrid renders only SORTED_CHART_CONFIG entries (report/src/components/ChartGrid.tsx:45). --- docs/report-data-contract.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/report-data-contract.md b/docs/report-data-contract.md index b758327..c67cf02 100644 --- a/docs/report-data-contract.md +++ b/docs/report-data-contract.md @@ -191,8 +191,8 @@ on-the-wire shape. The set of metric keys inside `ExecutionMetrics` is open. The frontend has a registry of "known" metrics with units and labels at -`report/src/metricDefinitions.ts`; anything not listed there still -renders, just with raw key names. +`report/src/metricDefinitions.ts`; anything not listed there is not +charted. ## Comparison groups (automatic) From c6488f459f385d9483fde77812b92a0dc5e54562 Mon Sep 17 00:00:00 2001 From: Francis Li Date: Sat, 31 Oct 2026 03:02:39 -0700 Subject: [PATCH 2/2] Scope report data contract claim to charted metrics ChartGrid can resolve a listed key to one labeled variant (report/src/components/ChartGrid.tsx:24). --- docs/report-data-contract.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/report-data-contract.md b/docs/report-data-contract.md index c67cf02..e42217f 100644 --- a/docs/report-data-contract.md +++ b/docs/report-data-contract.md @@ -191,8 +191,8 @@ on-the-wire shape. The set of metric keys inside `ExecutionMetrics` is open. The frontend has a registry of "known" metrics with units and labels at -`report/src/metricDefinitions.ts`; anything not listed there is not -charted. +`report/src/metricDefinitions.ts`; the report charts only metrics +listed there. ## Comparison groups (automatic)