# Experiment Report block

> A/B Experiment Report with Ship Decision, Evidence Grid and Guardrails

Read-only experiment analysis: ship-decision verdict card, tabbed evidence grid with period/segment filters and export, rollout plan and guardrails. ReUI Badge, DataGrid; shadcn Card, Tabs, Button. For A/B test reports, variant lift analysis.

- Type: Pro block
- Category: [Analytics](https://web.dev.reui.io/blocks/solutions/analytics.md)
- Page: https://web.dev.reui.io/blocks/solutions/analytics/solution-analytics-7
- MCP: `get_block("solution-analytics-7")`
- Built with: Avatar, Badge, Button, Card, Data Grid, Dropdown Menu, Item, Separator, Tabs
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A ship or hold verdict card over an evidence grid of lift and confidence, with rollout plan and guardrail cards below

## Agent notes

- The `EVIDENCE_RECORDS`, `DECISION_VERDICT`, `ROLLOUT_PLAN` and `GUARDRAIL_ROWS` exports in data.tsx are the sample EXP-224 content to replace
- Approve Rollout and Hold Control in `DecisionCard` only toast, with the variant and holdout wording hardcoded
- In `EvidenceGrid` the period choice only changes the export label: `filteredData` ignores `selectedPeriod` and `handleExport` only toasts

## When not to use

- A retention curve with a cohort table rather than a rollout verdict: use [Cohort Retention](https://web.dev.reui.io/blocks/solutions/analytics/solution-analytics-4.md) (`get_block("solution-analytics-4")`)

## Third-party libraries

- TanStack Table v9: [API reference](https://tanstack.com/table/v9/docs/framework/react/reference/index), [docs](https://tanstack.com/table/v9/docs/framework/react/quick-start)
- Sonner v2: [API reference](https://sonner.emilkowal.ski/toast), [docs](https://sonner.emilkowal.ski/getting-started)

## Install

```bash
npx shadcn@latest add @reui/solution-analytics-7
```

## About Analytics blocks

### When to use

- Product usage reports: overall health, feature adoption, activation funnel, cohort retention or an A/B test
- Analyst workspaces for an event catalog, weekly segment rule coverage or the detail page of one metric
- Alert rule settings for product metrics: thresholds, delivery per rule and channel, and quiet hours

### When not to use

- A team home for operations work such as fulfillment, staffing, calls or payouts: use the [Dashboard blocks](https://web.dev.reui.io/blocks/application/dashboard.md)
- A single trend card placed inside a page you already built: use the [Line Chart blocks](https://web.dev.reui.io/blocks/chart/line-chart.md)
- A plain table of your own records with sorting and filters and no report around it: use [Data Grid](https://web.dev.reui.io/components/data-grid.md) (`get_component("data-grid")`)

### Agent notes

- Every block sets a `min-h-svh` wrapper plus its own max width and padding in page.tsx or its root; remove them inside your app shell
- Filters and edits live in `useState` and reset on reload; no block requests or persists data, so connect each to your analytics backend

Every ReUI item has a twin like this one; the index is https://web.dev.reui.io/llms.txt. Agents with the ReUI MCP (https://web.dev.reui.io/docs/mcp) get the same guidance from the getters named above.
