Skip to content

docs(reports): restructure by tab and document the Impact report - #286

Open
chris-absmartly wants to merge 2 commits into
masterfrom
impact-report
Open

docs(reports): restructure by tab and document the Impact report#286
chris-absmartly wants to merge 2 commits into
masterfrom
impact-report

Conversation

@chris-absmartly

@chris-absmartly chris-absmartly commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Restructure

Experiment reports are presented as three tabs — Velocity, Decisions, Impact — but the page listed Decisions overview and Decisions history as top-level sections alongside the velocity report, so the tab structure wasn't visible in the outline or the sidebar TOC.

The page now has one H2 per tab:

  • ## Velocity report
  • ## Decisions report — with Decisions overview and Decisions history demoted to H3
  • ## Impact report — new

Also merged the Permissions block and the decision-types paragraph, which were duplicated verbatim across both decisions sections.

Anchor compatibility: the Decisions overview heading keeps its exact text, so #decisions-overview — linked from the March 2025 and April 2025 release notes — still resolves. The velocity heading rename does change its anchor, but nothing links to it.

Impact report

New section covering the feature: metric selection, depreciation (the five presets and what they mean), total estimated impact, full-on experiments, impact by experiment, and the impact over time chart with its controls and series.

Five screenshots added under static/img/experiment-report/.

Note for review

The UI subtitle on the Impact by experiment table currently reads "Primary metric totals shown. Expand rows to see all metrics with confidence intervals." Both halves look inaccurate — the table shows the selected metric (rows tagged Secondary appear in it), and rows don't expand. The docs describe the actual behaviour rather than the subtitle; the product copy is being updated separately.

yarn build passes with onBrokenLinks: "throw".

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Reorganised experiment reports into three tabs: Velocity, Decisions and Impact.
    • Updated the Velocity and Decisions sections with clearer headings and structure.
    • Added documentation for Decisions history, including filtering and decision cards.
    • Added an Impact report guide covering metric selection, depreciation, estimated impact, experiment breakdowns, forecasts and confidence bands.
    • Documented shared settings available across report tabs.

Experiment reports are presented as three tabs (Velocity, Decisions,
Impact) but the page listed Decisions overview and Decisions history as
top-level sections alongside the velocity report, so the tab structure
was not visible in the outline.

Restructure the page to match the UI:

- one H2 per tab, with Decisions overview and Decisions history demoted
  to H3 under Decisions report
- merge the Permissions block and the decision-types paragraph that were
  duplicated verbatim across both decisions sections
- add a tab summary table at the top of the page

The Decisions overview heading keeps its text so the #decisions-overview
anchor, linked from the March and April 2025 release notes, still
resolves.

Document the new Impact report: metric selection, depreciation, total
estimated impact, full-on experiments, impact by experiment and impact
over time.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

The experiment reports documentation now uses three tabs: Velocity, Decisions, and Impact. It adds shared settings and filters. It reorganises Decisions into overview and history sections. It documents Impact eligibility, permissions, metrics, depreciation, estimated impact, confidence ranges, experiment breakdowns, forecasts, and chart controls.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

Suggested reviewers: bmsilva, marcio-absmartly, calthejuggler

Poem

A rabbit reviews three tabs today,
Velocity, Decisions, Impact lead the way.
History cards mark each run,
Impact charts show what was done,
Clear reports make work hop along.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarises the documentation restructure by report tab and the addition of the Impact report.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch impact-report

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/web-console-docs/experiments/Experiment-reports.mdx (1)

128-180: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Correct the decision-type grammar.

Line 131 says “Possible decisions types”. Change it to “Possible decision types”.

Proposed fix
-Possible decisions types included in the report are `Full on` where a tested change is fully rolled out with or without full supporting evidence; 
+Possible decision types included in the report are `Full on` where a tested change is fully rolled out with or without full supporting evidence;
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/web-console-docs/experiments/Experiment-reports.mdx` around lines 128 -
180, In the Decisions report introduction, update the phrase “Possible decisions
types” to “Possible decision types” while leaving the surrounding content
unchanged.

Source: Linters/SAST tools

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/web-console-docs/experiments/Experiment-reports.mdx`:
- Around line 182-194: Correct the Decisions history documentation: change
“overtime” to “over time” in the timeline description, add the missing object
after “allows” in the Decision type filter sentence, and replace “rational” with
“rationale” in the Decision card description.

---

Outside diff comments:
In `@docs/web-console-docs/experiments/Experiment-reports.mdx`:
- Around line 128-180: In the Decisions report introduction, update the phrase
“Possible decisions types” to “Possible decision types” while leaving the
surrounding content unchanged.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: b712a3ba-c199-43d8-925e-54e297bba88e

📥 Commits

Reviewing files that changed from the base of the PR and between 5f77e19 and 236d9e2.

⛔ Files ignored due to path filters (5)
  • static/img/experiment-report/impact-depreciation-settings.png is excluded by !**/*.png
  • static/img/experiment-report/impact-over-time-tooltip.png is excluded by !**/*.png
  • static/img/experiment-report/impact-over-time.png is excluded by !**/*.png
  • static/img/experiment-report/impact-report.png is excluded by !**/*.png
  • static/img/experiment-report/impact-total-estimated-impact.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • docs/web-console-docs/experiments/Experiment-reports.mdx

Comment on lines +182 to +194
### Decisions history

The `Decisions history` provides a timeline of decisions overtime.
Possible decisions types included in the report are `Full on` where a tested change is fully rolled out with or without full supporting evidence;
`Keep current` where the tested change is not rolled out, and the existing experience remains;
and `Abort` where it was decided to stop the experiment before it could provide reliable evidence.

This report can be used to browse through past decisions to understand the reasoning behind each of them.

#### Filter

The `Decision type` filter allows to select the type of decisions to show on the timeline.

#### Decision card

Each decision card provides an overview of the past decisions, highlighting the hypothesis, the rational behind the decision and the key metrics supporting the decision.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Correct the Decisions history text.

Line 184 should say “over time”. Line 190 needs an object after “allows”. Line 194 uses “rational” instead of “rationale”.

Proposed fix
-The `Decisions history` provides a timeline of decisions overtime.  
+The `Decisions history` provides a timeline of decisions over time.
 
-The `Decision type` filter allows to select the type of decisions to show on the timeline.
+The `Decision type` filter lets you select the decision types to show on the timeline.
 
-Each decision card provides an overview of the past decisions, highlighting the hypothesis, the rational behind the decision and the key metrics supporting the decision. 
+Each decision card provides an overview of past decisions, highlighting the hypothesis, the rationale behind the decision, and the key metrics that support the decision.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
### Decisions history
The `Decisions history` provides a timeline of decisions overtime.
Possible decisions types included in the report are `Full on` where a tested change is fully rolled out with or without full supporting evidence;
`Keep current` where the tested change is not rolled out, and the existing experience remains;
and `Abort` where it was decided to stop the experiment before it could provide reliable evidence.
This report can be used to browse through past decisions to understand the reasoning behind each of them.
#### Filter
The `Decision type` filter allows to select the type of decisions to show on the timeline.
#### Decision card
Each decision card provides an overview of the past decisions, highlighting the hypothesis, the rational behind the decision and the key metrics supporting the decision.
### Decisions history
The `Decisions history` provides a timeline of decisions over time.
This report can be used to browse through past decisions to understand the reasoning behind each of them.
#### Filter
The `Decision type` filter lets you select the decision types to show on the timeline.
#### Decision card
Each decision card provides an overview of past decisions, highlighting the hypothesis, the rationale behind the decision, and the key metrics that support the decision.
🧰 Tools
🪛 LanguageTool

[grammar] ~190-~190: Did you mean “selecting”? Or maybe you should add a pronoun? In active voice, ‘allow’ + ‘to’ takes an object, usually a pronoun.
Context: ...lter The Decision type filter allows to select the type of decisions to show on the ti...

(ALLOW_TO)


[grammar] ~190-~190: In this context, ‘type’ should agree in number with the noun after ‘of’.
Context: ...ision type` filter allows to select the type of decisions to show on the timeline. #### Decision...

(TYPE_OF_PLURAL)


[misspelling] ~194-~194: Did you mean “rationale” (=an explanation / underlying reason)?
Context: ...sions, highlighting the hypothesis, the rational behind the decision and the key metrics...

(RATIONAL_RATIONALE)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/web-console-docs/experiments/Experiment-reports.mdx` around lines 182 -
194, Correct the Decisions history documentation: change “overtime” to “over
time” in the timeline description, add the missing object after “allows” in the
Decision type filter sentence, and replace “rational” with “rationale” in the
Decision card description.

Source: Linters/SAST tools

@netlify

netlify Bot commented Aug 10, 2026

Copy link
Copy Markdown

Deploy Preview for absmartly-docs ready!

Name Link
🔨 Latest commit e9f1ade
🔍 Latest deploy log https://app.netlify.com/projects/absmartly-docs/deploys/6a79c4e49076060008d9f3bf
😎 Deploy Preview https://deploy-preview-286--absmartly-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Recapture the impact report and total estimated impact screenshots after
the UI copy fixes: the inaccurate "Primary metric totals shown. Expand
rows..." subtitle is gone and the test-data prefixes are stripped from
the experiment names.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/web-console-docs/experiments/Experiment-reports.mdx`:
- Around line 299-301: Update the chart-control descriptions near the Cumulative
/ Daily, Day / Week / Month / Quarter / Year, and Forecast entries to use
complete, correctly inflected verbs, while preserving their existing meanings
and option details.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 8d4cae37-c84c-403b-9cb0-654a402d366b

📥 Commits

Reviewing files that changed from the base of the PR and between 236d9e2 and e9f1ade.

⛔ Files ignored due to path filters (2)
  • static/img/experiment-report/impact-report.png is excluded by !**/*.png
  • static/img/experiment-report/impact-total-estimated-impact.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • docs/web-console-docs/experiments/Experiment-reports.mdx

Comment on lines +299 to +301
- **Cumulative / Daily** switch between total impact accumulated to date and the impact contributed on each individual day
- **Day / Week / Month / Quarter / Year** the granularity at which points are plotted
- **Forecast** project the trend forward by `1 month`, `3 months`, `6 months` or `1 year`, or turn the projection `Off`

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Use complete verbs for the chart-control descriptions.

Lines 299-301 use incomplete or incorrectly inflected verbs. This makes the documented behaviour less clear.

Proposed wording
-- **Cumulative / Daily** switch between total impact accumulated to date and the impact contributed on each individual day
-- **Day / Week / Month / Quarter / Year** the granularity at which points are plotted
-- **Forecast** project the trend forward by `1 month`, `3 months`, `6 months` or `1 year`, or turn the projection `Off`
+- **Cumulative / Daily**: Switches between total impact accumulated to date and the impact contributed on each individual day
+- **Day / Week / Month / Quarter / Year**: Sets the granularity at which points are plotted
+- **Forecast**: Projects the trend forward by `1 month`, `3 months`, `6 months` or `1 year`, or turns the projection `Off`
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- **Cumulative / Daily** switch between total impact accumulated to date and the impact contributed on each individual day
- **Day / Week / Month / Quarter / Year** the granularity at which points are plotted
- **Forecast** project the trend forward by `1 month`, `3 months`, `6 months` or `1 year`, or turn the projection `Off`
- **Cumulative / Daily**: Switches between total impact accumulated to date and the impact contributed on each individual day
- **Day / Week / Month / Quarter / Year**: Sets the granularity at which points are plotted
- **Forecast**: Projects the trend forward by `1 month`, `3 months`, `6 months` or `1 year`, or turns the projection `Off`
🧰 Tools
🪛 LanguageTool

[duplication] ~299-~299: Possible typo: you repeated a word.
Context: ...e impact contributed on each individual day - Day / Week / Month / Quarter / Year the g...

(ENGLISH_WORD_REPEAT_RULE)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/web-console-docs/experiments/Experiment-reports.mdx` around lines 299 -
301, Update the chart-control descriptions near the Cumulative / Daily, Day /
Week / Month / Quarter / Year, and Forecast entries to use complete, correctly
inflected verbs, while preserving their existing meanings and option details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant