Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
694d65b to
c9e1393
Compare
c9e1393 to
8907f84
Compare
8907f84 to
ad30c2e
Compare
PR SummaryMedium Risk Overview Reworks experiment creation and results UX: sweeps default to midpoint slider values and idle sampling until you move controls; optimization is opt-in via Start optimizer immediately or Parameters → Optimize later. Experiments store a model definition snapshot for later optimization. Results use a simpler header plus Details, single-value sliders with readable names, View best, and refined sensitivity ordering. State constraints can be authored as boolean expressions (e.g. Supporting fixes include constraint/metric editor keyboard behavior ( Reviewed by Cursor Bugbot for commit e77dec1. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit e77dec1. Configure here.

Summary
Experiment creation and results now share a simpler workflow. Built-in and saved metrics display derived names, custom metrics keep editable names, and objective controls sit within metric cards. Constraints separate Parameters and State into compact groups with their own Add actions, inline delete controls, and the pass threshold in the State header. GPU compute, parameter sweeps, and in-browser optimization are available without feature flags; the empty Simulation settings page is removed.
Sweeps start idle by default. Check Start optimizer immediately during creation, or choose Parameters → Optimize later. Results keep the name, status, and progress in the header, with configuration and search information in Details.
Demo: choose a place metric, enter a state constraint as an expression, create an idle sweep, then optimize and return to the best parameter values.
fe-1718--create-and-optimize-verified.mp4
Links
Blocked by
Changes
Creation
Optimization and results
Next steps
Reusing an existing experiment's configuration remains follow-up work in FE-1718.
Test coverage
Creation tests cover default manual startup, opting in and out, immediate startup, metric selection, names, objective controls, and validation. Results and optimizer tests cover late startup, failed startup, settled-study replacement, Stop, control locking, and model snapshots. Constraint tests cover expressions with trailing semicolons and comments, explicit-body forms, separate-statement diagnostics, boolean validation, source positions, autocomplete, and compiled pass/fail evaluation. Results tests also cover waiting, running, stopped, completed, and failed searches; best-value retention; locked controls; and restoring every parameter in one selection. Existing suites cover slider selections, progress, Details, and sensitivity ordering.
The rebased combined branch passed build, unit-test, TypeScript, and lint checks on the complete feature set. Formatting passed across 231 changed files. Architecture validation and the documentation site build also passed. Local test runs needed isolated retries for load-related timeouts, a dependency rebuild during an import, and an intermittent fake-timer assertion in unchanged website code; those retries passed. The final constraint and URL corrections passed 106 focused tests locally. A redundant local aggregate run was stopped after resource-related timeouts; the current-head CI package and unit checks passed independently.
Browser checks used the rebuilt website and a real in-browser optimizer. They verified idle creation, keyboard access and validation in the Optimize prompt, Stop followed by keyboard slider exploration, a replacement search, immediate startup, and read-only saved metric names with reversible metric selection. After flag removal, a fresh preview tab verified the General / Viewport / Labs settings navigation, keyboard access, GPU and Sweep availability, and unchecked optimizer startup with no settings changes; the console reported no errors. Grouped constraints were also checked at normal and narrow panel widths with reverse type insertion, multiple state conditions, multiline code, Tab / Escape, and keyboard deletion restoring focus within the group. The rebuilt expression editor showed a dot-access placeholder without return, accepted both expression and multiline body forms, rejected a non-boolean result, and moved from the editor to its remove button with Tab; the console was clear.
The Best Parameters Storybook examples cover waiting, running, stopped, and completed searches. Manual checks verified the compact and wide layouts, preserved best values during exploration, and keyboard activation of View best.
How to test
Metric cards and keyboard navigation
state.places.Queue.count <= 10using a place from the modelManual and immediate optimization
Pre-Merge Checklist
Publishing
Documentation
Turbo Graph