Skip to content

Commit

Permalink
Merge pull request #24 from DARPA-ASKEM/stratify-model
Browse files Browse the repository at this point in the history
Update Stratify model topic
  • Loading branch information
mecrouch authored Dec 18, 2024
2 parents 266fb1e + 2a162bd commit c57d9d8
Show file tree
Hide file tree
Showing 9 changed files with 527 additions and 42 deletions.
6 changes: 3 additions & 3 deletions docs/datasets/transform-dataset.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ You can choose any step in your transformation process as the thumbnail preview.

- Perform one of the following actions:

- Hover over the output of a Dataset and click <span class="sr-only" id="link-icon-label">Link</span> :octicons-plus-24:{ title="Link" aria-labelledby="link-icon-label" } > **Transform dataset**.
- On a resource or operator that outputs a dataset, hover over the output and click <span class="sr-only" id="link-icon-label">Link</span> :octicons-plus-24:{ title="Link" aria-labelledby="link-icon-label" } > **Transform dataset**.
- Right-click anywhere on the workflow graph, select **Data** > **Transform dataset**, and then connect the output of one or more Datasets or Simulations to the Transform dataset inputs.

## Modify data in the Transform dataset code notebook
Expand All @@ -94,7 +94,7 @@ Prompts and responses are written to cells where you can preview, edit, and run

Wait until the status of the AI assistant is :green_circle:{ aria-hidden="true" title="" style="margin: 0;" } Ready (not :red_circle:{ aria-hidden="true" title="" style="margin: 0;" } Offline or :orange_circle:{ aria-hidden="true" title="" style="margin: 0;" } Busy) before attempting to make any transformations.

??? list "Access the Transform dataset code notebook"
??? list "Open the Transform dataset code notebook"

- Make sure you've connected one or more datasets to the Transform dataset operator and then click **Edit**.

Expand Down Expand Up @@ -126,7 +126,7 @@ The Transform dataset AI assistant interprets plain language to answer questions
??? list "Prompt or question the AI assistant"

1. Click in the text box at the top of the page and then perform one of the following actions:
- Select one of the suggested prompts and edit it to fit your dataset and the transformation you want to make.
- Select a suggested prompt and edit it to fit your dataset and the transformation you want to make.
- Enter a question or describe the transformation you want to make.
2. Click <span class="sr-only" id="submit-icon-label">Submit</span> :octicons-paper-airplane-24:{ style="transform: rotate(-45deg);" title="Submit" aira-labelledby="Submit" }.
3. Scroll down to the new code cell to inspect the transformation.
Expand Down
2 changes: 1 addition & 1 deletion docs/get-started/using-terarium.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The overview of a COVID-19 project. The Resources panel (left) provides access t
??? list "Create a project"

1. Perform one of the following actions on the Home page:
- To start from scratch, click :octicons-plus-24:{ aria-hidden="true" } **New project**
- To start from scratch, click :octicons-plus-24:{ aria-hidden="true" } **New project**.
- To copy a project, find it in My projects or Public projects and then click <span class="sr-only" id="menu-icon-label">Menu</span> :fontawesome-solid-ellipsis-vertical:{ title="Menu" aria-labelledby="menu-icon-label" } > :octicons-copy-24:{ aria-hidden="true" style="transform: rotate(-90deg);"} **Copy**.
- To upload a project, click :octicons-upload-16:{ aria-hidden="true" } **Upload project** and drag in or browse to the location of your *.project* file.
2. Edit the project overview to capture your goals and save results over time.
Expand Down
Binary file added docs/img/models/stratified-model.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/models/stratify-model-operator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/img/models/stratify-notebook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/models/stratify.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/modeling/create-model-from-equations.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ The Create model from equations operator works with LaTeX equations. When adding
- Capital sigma (`Σ`) and pi (`Π`) notations for summation and product.
- Non-ASCII characters.
- Homoglyphs (characters that look similar but have different meanings).
- To indicate multiplication, use whitespace between variables instead of `\cdot` or `*`.
- To indicate multiplication, use `*` between scalar quantities.

- __Superscripts and subscripts__

Expand Down
520 changes: 483 additions & 37 deletions docs/modeling/stratify-model.md

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,26 @@ svg.feather {
border-top: none;
}

/* Add left padding to all children except summary */
.md-typeset details.list > *:not(summary) {
padding-left: 18px;
}

/* Ensure the grid cards inside details.list display as two columns on large screens */
details.list .grid.cards {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.4rem;
padding: 0;
}

/* Maintain responsiveness for smaller screens */
@media (max-width: 768px) {
details.list .grid.cards {
grid-template-columns: 1fr;
}
}

/*Improved styling for grid buttons on home page*/

.md-typeset .md-button {
Expand Down Expand Up @@ -261,4 +281,23 @@ img.node-icon {

.md-typeset blockquote {
color: var(--md-typeset-color);
}

div.highlight.wrap pre code {
white-space: pre-wrap;
word-wrap: break-word;
overflow-x: hidden;
padding-right: 32px;
}

.strata-interaction {
color: #1971c2;
}

.strata-transition-directed {
color: #e03131;
}

.strata-transition-undirected {
color: #2f9e44;
}

0 comments on commit c57d9d8

Please sign in to comment.