[ZEPPELIN-6668] Add notebook route benchmark contract #5484
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 242 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.329
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #5484"
general
weight: 0.35
tbonelee
What is this PR for?
Add a reproducible benchmark contract for the notebook route, without committing baseline numbers (a follow-up records them).
Fixture: 100 paragraphs (80 TEXT, 10 TABLE, 10 collapsed), pinned by SHA-256
Ready condition: action bar visible, 100 paragraph containers, first Monaco editor attached
Runs: 10 cold (new context) and 10 warm (after one unrecorded prime), with raw samples, median, and p95
Bundles: raw and gzip sizes of the Angular entry chunks and React
remoteEntry.jsRuntime metrics cover the Angular route only. The benchmark is excluded from the normal E2E run.
Most of the diff (3,319 of 3,957 added lines) is the fixture JSON. It is data, pinned by SHA-256 and checked for composition by
validateFixture, so it does not need a line-by-line review. The code to review is about 590 lines undere2e/performance/,e2e/models/notebook-performance-page.ts,test/notebook-baseline.spec.tsandplaywright.performance.config.js.What type of PR is it?
Improvement
Todos
[x] Add a hash-pinned benchmark fixture
[x] Add the Playwright performance runner
[x] Validate the benchmark contract with unit tests
What is the Jira issue?
ZEPPELIN-6668
How should this be tested?
A local dry run passes (1 cold + 1 warm, every summary field recorded). Use
localhost: the server rejects a127.0.0.1WebSocket origin unlesszeppelin.server.allowed.originsis set.Screenshots (if appropriate)
N/A
Questions:
Does the license files need to update? No
Is there breaking changes for older versions? No
Does this needs documentation? Yes -
e2e/performance/README.md