-
Notifications
You must be signed in to change notification settings - Fork 38
Preview #525
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
Preview #525
Conversation
Add a Preview method on Experiment in SmartSim. This method allows users to view the experiment name, path, and launcher of their created experiment before the launch of the experiment. This commit is a subcomponent of the entire Preview method. [ committed by @juliaputko ] [ reviewed by @ankona @al-rigazzi ]
Add Orchestrator preview into the Preview method on Experiment in SmartSim. This method allows users to view the properties of a created Orchestrator before the launch of an experiment. This commit is a subcomponent of the entire Preview method. [ committed by @juliaputko ] [ reviewed by @ankona @al-rigazzi ]
Add Model preview into the Preview method on Experiment in SmartSim. This method allows users to view the properties of a created Model before the launch of an experiment. This commit is a subcomponent of the entire Preview method. [ committed by @juliaputko ] [ reviewed by @ankona ]
Add Ensemble preview into the Preview method on Experiment in SmartSim. This method allows users to view the properties of a created Ensemble before the launch of an experiment. This commit is a subcomponent of the entire Preview method. [ committed by @juliaputko ] [ reviewed by @ankona ]
Add Active Infrastructure preview into the Preview method on Experiment in SmartSim. This method allows users to view the properties of active infrastructure. This commit is a subcomponent of the entire Preview method. [ committed by @juliaputko ] [ reviewed by @ankona ]
Correct spacing in templates when rendering preview. Remove unsupported test. [ committed by @juliaputko ]
Fixed spacing in templates, rewrote and added tests for filters, fixed and added tests for returning active orchestrators for preview, changed how active_db_jobs are previewed. [ committed by @juliaputko ] [ reviewed by @ankona ]
) Add Run Commands and Run arguments to entity previews. [ committed by @juliaputko ] [ reviewed by @ankona ]
Add verbosity parameters and tests to the preview method. Refactor of templates to separate verbosity levels. [ committed by @juliaputko ] [ reviewed by @ankona ]
Fixing bugs created after merging verbosity levels changes [ committed by @juliaputko ]
Most recent updates to templates
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #525 +/- ##
===========================================
- Coverage 77.77% 71.14% -6.63%
===========================================
Files 66 67 +1
Lines 4571 4637 +66
===========================================
- Hits 3555 3299 -256
- Misses 1016 1338 +322
|
mellis13
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is some initial feedback and questions. I'm still going through previewrenderer.py and the templates, but this feedback seemed orthogonal so I thought I'd leave it right away.
mellis13
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of extra review comments.
|
|
||
|
|
||
| @pytest.fixture | ||
| def choose_host(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is available in conftest.py already and you should be able to get rid of the duplicate declaration
| return _choose_host | ||
|
|
||
|
|
||
| def add_batch_resources(wlmutils, batch_settings): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is also available in test_generic_bach.py. Let's move it to conftest.py and reuse in both test harnesses.
Addressing PR comments, added documentation, fixed bugs in tests [ committed by @juliaputko ] [ reviewed by @AlyssaCote , @amandarichardsonn, @ankona ]
Small index change that was missed [ committed by @juliaputko ]
amandarichardsonn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome job with the documentation! Looks fantastic, just some suggestions -> plz excuse any grammatical errors I made!
[ committed by @juliaputko ] [ reviewed by @ankona ]
[ committed by @juliaputko ]
Avoid detailed paths in templates by configuring the template loader to use output format [ committed by @ankona ] [ reviewed by @juliaputko ]
[ committed by @juliaputko ]
ankona
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
No description provided.