fix(research): explain evaluation horizon and CAGR (RP04)

This commit is contained in:
Boki 2026-10-27 01:07:32 -04:00
parent 76eb1b1255
commit 302ba60e53
4 changed files with 117 additions and 2 deletions

View file

@ -9,3 +9,5 @@ Scope: in `apps/stock/web-app/src/features/backtest/components/CanonicalResults.
Acceptance/tests: realistic partial-session result displays exact UTC interval/duration and CAGR explanation with stored CAGR unchanged; multi-day/overnight duration is calendar elapsed time; null CAGR reason and existing fill-only view remain correct; periodic annualization label is unambiguous. Add focused production-component regression assertions in the existing result/UI suite; root may add browser assertions to its owned workbench scenario. Loading/error/empty behavior stays in the existing parent run view; no new backend/data dependency or request.
Locks: CanonicalResults and its focused result tests only. Parallel with RP03; do not modify shared workbench E2E or manifest. Gates: focused UI tests, authored test/app types, strict lint and production build, root combined check/browser gate, independent review. Regression risk low; the primary risk is misstating the existing computation's time basis.
Accepted October 27, 2026: retained UTC bounds and exact calendar duration now accompany the unchanged metrics. Independent review passed 21 UI tests / 157 assertions; the root actual-native browser smoke verifies the displayed reporting interval and explanation. Full repository check, application/authored-test types, strict lint and production build passed. [Combined evidence](../../real-data-research.md) records final integration results and test-run limitations.