Skip to content
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

Short task to update BatchSettings #704

Merged

Conversation

amandarichardsonn
Copy link
Contributor

This PR makes small updates to the existing BatchSettings implementation.

Copy link

codecov bot commented Sep 12, 2024

Codecov Report

Attention: Patch coverage is 94.11765% with 2 lines in your changes missing coverage. Please review.

Project coverage is 43.89%. Comparing base (cce16e6) to head (e421b74).
Report is 12 commits behind head on smartsim-refactor.

Files with missing lines Patch % Lines
smartsim/settings/arguments/batch_arguments.py 75.00% 1 Missing ⚠️
smartsim/settings/batch_settings.py 93.75% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                  Coverage Diff                  @@
##           smartsim-refactor     #704      +/-   ##
=====================================================
+ Coverage              40.45%   43.89%   +3.43%     
=====================================================
  Files                    110      110              
  Lines                   7326     7140     -186     
=====================================================
+ Hits                    2964     3134     +170     
+ Misses                  4362     4006     -356     
Files with missing lines Coverage Δ
smartsim/entity/application.py 82.60% <100.00%> (ø)
smartsim/entity/ensemble.py 91.30% <100.00%> (-5.84%) ⬇️
smartsim/launchable/job.py 91.11% <100.00%> (+0.63%) ⬆️
smartsim/settings/arguments/launch_arguments.py 100.00% <100.00%> (ø)
smartsim/settings/base_settings.py 100.00% <ø> (ø)
smartsim/settings/batch_command.py 100.00% <100.00%> (ø)
smartsim/settings/launch_command.py 100.00% <ø> (ø)
smartsim/settings/launch_settings.py 94.44% <100.00%> (ø)
smartsim/settings/arguments/batch_arguments.py 74.28% <75.00%> (ø)
smartsim/settings/batch_settings.py 86.27% <93.75%> (ø)

... and 7 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.

Just a couple of comments, but otherwise looks good. Great job on doc strings, btw!

Copy link
Member

@MattToast MattToast left a comment

Choose a reason for hiding this comment

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

Two small nits in addition to Matt's comments, but otherwise looks pretty good! Thanks for adding the final touches to these classes for the next stage of the refactor!!

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.

Thanks for the udpates!

Copy link
Member

@MattToast MattToast left a comment

Choose a reason for hiding this comment

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

A couple more small nits, but nothing worth holding approval up over! LGTM!!

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.

Looks great -- thank you!

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.

Very small comments, otherwise, LGTM!

@amandarichardsonn amandarichardsonn merged commit f748789 into CrayLabs:smartsim-refactor Sep 20, 2024
34 of 35 checks passed
@amandarichardsonn amandarichardsonn deleted the batch-settings branch September 20, 2024 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants