You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Polish pass on build_executive_report after live screenshot review
against NPV_of_a_capital_investment workbook.
Histogram chart was inverted (#18b)
Prior SetSourceData on the full 3-column [Bin, Count, Cumulative %]
block made Excel turn ALL THREE columns into data series — visible
result was bin centres plotted as bars (50k, 100k, 150k...), Count
plotted as a red line, Cumulative invisible. Fix: bind only to
Count + Cumulative columns, then explicitly assign
SeriesCollection(i).XValues to the Bin column on both series.
Now: proper frequency-histogram bars on bin centres, cumulative-%
line overlay on secondary Y axis.
Layout polish (column A now a narrow gutter)
- Content shifted right by one column: title band B:L (was A:J),
headlines B-F (was A-E), output name at I (was G), stats table
B-H (was A-G), callouts B-merged-to-L (was A-merged-to-J).
- Narrow gutters at A and M (width 2 each) for visual breathing room.
- Stats-table CV column widened to 16 — no more ##### overflow on
values like 1.296.
- Alternating row tint on stats table for readability.
- High-CV cells bold in addition to coloured (survives print-to-PDF).
- Chart sizes bumped 400x240 / 360x240 (was 380x220 / 340x220).
399 tests pass. 4 existing tests updated for B-shifted columns.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,30 @@ All notable changes to ModelRisk MCP. Follows [Keep a Changelog](https://keepach
4
4
5
5
## [Unreleased]
6
6
7
+
## [0.3.0-alpha.20] — 2026-05-22
8
+
9
+
Polish pass on `build_executive_report` after a live screenshot review against the `NPV_of_a_capital_investment` workbook. Two real issues found: the histogram chart was rendering with completely wrong semantics, and the layout was visually cramped with column A pulling double duty as label-holder and edge.
10
+
11
+
### Fixed
12
+
13
+
-**Histogram chart was inverted (#18b).** Prior versions called `SetSourceData` on the full 3-column block `[Bin, Count, Cumulative %]`, which made Excel turn all three columns into data series — visible result was "Bin" values plotted as random-height blue bars (the user's screenshot showed bars at 50k, 100k, 150k etc.), "Count" plotted as a red line, and Cumulative invisible. Fix: bind to ONLY the Count + Cumulative columns, then explicitly assign `SeriesCollection(i).XValues` on both series to the Bin column. Result: proper frequency-histogram bars with bin centres on the X axis, cumulative-% line overlay on a secondary Y axis. The chart now looks like what the report description says.
14
+
15
+
### Polished
16
+
17
+
-**Column A is now a narrow gutter (width 2).** Previously content started flush against the left edge with column A holding both labels AND being the page edge. Now the layout has narrow gutters at A and M, with content in B–L. Same change applied to the title band merge range (B:L instead of A:J), headline numbers (MEAN now at B6 instead of A6), stats table (Output at B26 instead of A26), and callouts (`• ...` at B instead of A).
18
+
-**Stats-table CV column no longer overflows.** Bumped width to 16 (was 14 implicit) so values like `1.296` render in full instead of `####`.
19
+
-**Alternating row tint** on the stats table for readability when there are multiple outputs.
20
+
-**High-CV cells now bold** in addition to coloured, so they survive print-to-PDF where colour fidelity drops.
21
+
-**Chart sizes bumped** to 400×240 (histogram) and 360×240 (tornado) — the original 380×220 / 340×220 felt small relative to the title band. Charts shifted right by ~16pt to align with the new column-B content start.
22
+
23
+
### Why this matters
24
+
25
+
The report is the primary user-facing deliverable. A broken chart isn't "a bug to fix later" — it's the LLM lying to the user about what got built (`chart_count: 2` while the chart was visually wrong). Same goes for the cramped layout: a stakeholder sees the report and forms an opinion about modelrisk-mcp from that single screenshot. Worth getting right.
26
+
27
+
### Tests
28
+
29
+
399 unit tests pass. 4 existing tests updated to assert against the new column positions (B-shifted).
30
+
7
31
## [0.3.0-alpha.19] — 2026-05-22
8
32
9
33
Fixes the bug-#23 lookup-after-samples regression discovered while end-to-end testing alpha.18 against a real workbook: `get_sensitivity_ranking` returned empty on the first call after `run_simulation`, then worked on the second identical call. The diagnostic trace was unambiguous — the output looked up fine, its samples loaded, then every input lookup against the same handle returned None.
0 commit comments