Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 0 additions & 120 deletions apps/class-solid/src/components/PermutationSweepButton.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions apps/class-solid/src/components/PermutationsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
setPermutationConfigInExperiment,
swapPermutationAndReferenceConfiguration,
} from "~/lib/store";
import { PermutationSweepButton } from "./PermutationSweepButton";
import {
MdiCakeVariantOutline,
MdiCog,
Expand Down Expand Up @@ -303,10 +302,6 @@ export function PermutationsList(props: {
experiment={props.experiment}
experimentIndex={props.experimentIndex}
/>
<PermutationSweepButton
experiment={props.experiment}
experimentIndex={props.experimentIndex}
/>
</legend>
<ul class="max-h-40 overflow-auto">
<For each={props.experiment.config.permutations}>
Expand Down
36 changes: 15 additions & 21 deletions apps/class-solid/src/lib/presets/death-valley.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,19 @@
{
"name": "Death Valley",
"description": "Preset with Death Valley conditions",
"initialState": {
"theta_0": 323,
"h_0": 200,
"dtheta_0": 1,
"q_0": 0.008,
"dq_0": -0.001
},
"timeControl": {
"dt": 60,
"runtime": 4320
},
"mixedLayer": {
"wtheta": 0.1,
"advtheta": 0,
"gammatheta": 0.006,
"wq": 0.0001,
"advq": 0,
"gammaq": 0,
"divU": 0,
"beta": 0.2
}
"theta_0": 323,
"h_0": 200,
"dtheta_0": 1,
"q_0": 0.008,
"dq_0": -0.001,
"dt": 60,
"runtime": 43200,
"wtheta": [0.1],
"advtheta": 0,
"gammatheta": 0.006,
"wq": 0.0001,
"advq": 0,
"gammaq": 0,
"divU": 0,
"beta": 0.2
}
32 changes: 0 additions & 32 deletions apps/class-solid/tests/share.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,35 +44,3 @@ test("Create share link from an experiment", async ({ page }) => {

// TODO: finalheight is gone; implement alternative check to see that experiment finished
});

test("Given large app state, sharing is not possible", async ({ page }) => {
test.skip(
true,
"Plotting is too slow, to render 13 experiments with 24 permuations each",
);
await page.goto("/");

// Create a new experiment
await page.getByRole("button", { name: "Add Start from preset" }).click();
await page
.getByRole("button", { name: "Default The classic default" })
.click();
await page.getByRole("button", { name: "Run" }).click();
// Add permutation sweep
await page.getByRole("button", { name: "S", exact: true }).click();
await page.getByRole("button", { name: "Perform sweep" }).click();

// Duplicate the experiment 12 times
const times = 12;
for (let i = 0; i < times; i++) {
await page
.getByLabel("Default", { exact: true })
.getByRole("button", { name: "Duplicate experiment" })
.click();
}

await page.getByRole("button", { name: "Share" }).click();
await page.waitForSelector(
"text=Cannot share application state, it is too large. Please download each experiment by itself or make it smaller by removing permutations and/or experiments.",
);
});
6 changes: 0 additions & 6 deletions packages/class/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@
"default": "./dist/validate.js",
"types": "./dist/validate.d.ts"
}
},
"./sweep": {
"import": {
"default": "./dist/sweep.js",
"types": "./dist/sweep.d.ts"
}
}
},
"homepage": "https://classmodel.github.io/class-web",
Expand Down
166 changes: 0 additions & 166 deletions packages/class/src/sweep.test.ts

This file was deleted.

Loading