-
Notifications
You must be signed in to change notification settings - Fork 123
FE-1688: Remove the Optimizations tab and run optimization inside Experiments #9685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
555966f
Move the constraint rows, the study cards, the study fixtures and the…
kube 3bd5d1d
Author constraints on parameter sweeps in the Create Experiment drawe…
kube 9c5a9db
Enforce an experiment's constraints through the sweep-driven study
kube b5c877d
Show a sweep's study in the experiment drawer with its headline, step…
kube 519cb34
Remove the Optimizations tab, the standalone study path and the detac…
kube 36fa8bb
Drop the optimization navigation contract, the presentation and the w…
kube 93c1a47
Fold the optimization guide into the experiments guide and retarget t…
kube a362898
Close the review gaps in the experiments-only optimization fold
kube ec751dd
Close the emphasis marker in the experiments guide's failed-study exa…
kube 94cc4b6
Pass the failed sweep study to the drawer test's helper as its one op…
kube 2de4bd6
Sample the constraint indicators over the runs that did not error, sp…
kube b6aaf00
Pin the one-parameter Sensitivity analysis subtitle in the experiment…
kube 4d40e4d
Build the waiting strip test's study with the helper's object form
kube 54c4854
Bind boolean scenario parameters by type in the sweep evaluator's con…
kube c9dc84d
Park a failed study's sweep on its best step rather than the step who…
kube File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@hashintel/petrinaut": patch | ||
| --- | ||
|
|
||
| Removes the Optimizations tab; a study now runs from a sweep's Parameters card. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@hashintel/petrinaut-core": patch | ||
| --- | ||
|
|
||
| Metric specs can sample every run that has not errored with `sampleRuns: "notErrored"`. |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,13 @@ | ||
| #!/usr/bin/env bash | ||
| # The website's dev task. With --with-optimizer-service it also builds and | ||
| # starts the local Petrinaut Optimizer, so the /optimization route runs studies | ||
| # for real; every other argument goes to Vite: | ||
| # The website's dev task: regenerates the example artifacts, then starts Vite. | ||
| # Every argument goes to Vite: | ||
| # | ||
| # turbo run dev --filter @apps/petrinaut-website -- --with-optimizer-service | ||
| # turbo run dev --filter @apps/petrinaut-website -- --port 5175 --strictPort | ||
| set -euo pipefail | ||
| cd "$(dirname "$0")/.." | ||
| . ../../libs/@local/petrinaut-optimizer-client/scripts/optimizer-service.sh | ||
| optimizer_service_parse "$@" | ||
| yarn examples:generate | ||
| # Vite is run by path: Yarn hides a dependency's bin from `yarn run` when the | ||
| # workspace also declares one of that dependency's peers (`@types/node` here), | ||
| # so `yarn vite` fails with "Couldn't find a script named vite". | ||
| vite_bin="$(node -p 'require("path").join(require("path").dirname(require.resolve("vite/package.json")), "bin", "vite.js")')" | ||
| run_dev_server node "$vite_bin" ${OPTIMIZER_FORWARDED[@]+"${OPTIMIZER_FORWARDED[@]}"} | ||
| exec node "$vite_bin" "$@" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.