Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@juliaputko
Copy link
Contributor

No description provided.

juliaputko and others added 17 commits February 12, 2024 20:26
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
Copy link

codecov bot commented Mar 19, 2024

Codecov Report

Attention: Patch coverage is 47.82609% with 36 lines in your changes are missing coverage. Please review.

Project coverage is 71.14%. Comparing base (7db8490) to head (aac98bf).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             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     
Files Coverage Δ
smartsim/_core/__init__.py 100.00% <100.00%> (ø)
smartsim/entity/ensemble.py 64.44% <100.00%> (+3.25%) ⬆️
smartsim/error/errors.py 56.52% <100.00%> (-32.37%) ⬇️
smartsim/_core/control/controller.py 62.80% <66.66%> (-17.47%) ⬇️
smartsim/_core/control/manifest.py 91.15% <66.66%> (+9.90%) ⬆️
smartsim/experiment.py 70.45% <50.00%> (+0.63%) ⬆️
smartsim/_core/control/previewrenderer.py 41.17% <41.17%> (ø)

... and 36 files with indirect coverage changes

Copy link
Contributor

@mellis13 mellis13 left a 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.

Copy link
Contributor

@mellis13 mellis13 left a 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():
Copy link
Contributor

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):
Copy link
Contributor

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 ]
@juliaputko juliaputko marked this pull request as ready for review April 30, 2024 23:56
Small index change that was missed

[ committed by @juliaputko ]
Copy link
Contributor

@amandarichardsonn amandarichardsonn left a 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!

juliaputko and others added 3 commits May 2, 2024 14:50
Avoid detailed paths in templates by configuring the template loader to
use output format

 [ committed by @ankona ]
 [ reviewed by @juliaputko  ]
Copy link
Contributor

@ankona ankona left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@juliaputko juliaputko merged commit 110c0f2 into develop May 9, 2024
@juliaputko juliaputko deleted the preview branch May 9, 2024 21:59
@al-rigazzi al-rigazzi added type: feature Issues that include feature request or feature idea type: usability Issues related to ease of use repo: smartsim Issues related to SmartSim infrastructure library labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

repo: smartsim Issues related to SmartSim infrastructure library type: feature Issues that include feature request or feature idea type: usability Issues related to ease of use

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants