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

Mga #72

Merged
merged 40 commits into from
Jan 21, 2025
Merged

Mga #72

merged 40 commits into from
Jan 21, 2025

Conversation

samgdotson
Copy link
Collaborator

Summary of changes

This PR adds a feature to run an n-dimensional modeling-to-generate-alternatives algorithm called n_mga.
The feature is robustly tested and documented. This is the final "big piece" of osier! Additionally, its adoption will make osier ready for a new minor release! Woohoo!

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • I have read the CONTRIBUTING document. (Yes, the one that I wrote 😉)
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Associated Issues and PRs

Checklist for Reviewers

Reviewers should use this link to get to the
Review Checklist before they begin their review.

@samgdotson samgdotson added Comp:Core This issue has to do with the main bulk of the code or document. (methods, main content) Difficulty:3-Expert This issue is not only complicated, but also complex. It may require special advanced skills. Priority:1-Critical This is the highest priority (i.e. it is blocking other work or facing a deadline). Status:5-In Review This issue has been handled, and the solution is being reviewed. (probably as a PR) Type:Docs Is related to API documentation, website content, etc. Type:Feature New feature or feature request Type:Test Is related to software testing. Failing tests, necessary new tests, test frameworks, etc. labels Jan 16, 2025
@samgdotson samgdotson self-assigned this Jan 16, 2025
@pep8speaks
Copy link

pep8speaks commented Jan 16, 2025

Hello @samgdotson! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 30:80: E501 line too long (80 > 79 characters)
Line 251:80: E501 line too long (80 > 79 characters)
Line 254:80: E501 line too long (80 > 79 characters)
Line 258:59: W291 trailing whitespace
Line 267:40: E231 missing whitespace after ','
Line 384:80: E501 line too long (91 > 79 characters)
Line 476:80: E501 line too long (80 > 79 characters)
Line 487:80: E501 line too long (82 > 79 characters)
Line 492:80: E501 line too long (96 > 79 characters)
Line 506:80: E501 line too long (80 > 79 characters)
Line 519:80: E501 line too long (99 > 79 characters)
Line 521:80: E501 line too long (128 > 79 characters)
Line 540:80: E501 line too long (80 > 79 characters)
Line 559:33: E231 missing whitespace after ','
Line 578:80: E501 line too long (83 > 79 characters)
Line 580:80: E501 line too long (83 > 79 characters)

Line 83:80: E501 line too long (80 > 79 characters)

Comment last updated at 2025-01-17 22:18:48 UTC

Copy link
Contributor

@LukeSeifert LukeSeifert left a comment

Choose a reason for hiding this comment

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

Looks good! I had some suggestions in a couple places, also I think maybe some extra text in the mga_tutorial describing what is happening and what the plots are showing would be helpful

docs/source/examples/mga_tutorial.ipynb Outdated Show resolved Hide resolved
osier/utils.py Show resolved Hide resolved
osier/utils.py Outdated Show resolved Hide resolved
osier/utils.py Show resolved Hide resolved
osier/utils.py Outdated Show resolved Hide resolved
osier/utils.py Show resolved Hide resolved
osier/utils.py Show resolved Hide resolved
osier/utils.py Show resolved Hide resolved
osier/utils.py Show resolved Hide resolved
osier/utils.py Show resolved Hide resolved
@samgdotson
Copy link
Collaborator Author

Thanks @LukeSeifert. I adopted many of your suggestions. I'd prefer to leave the tutorial as-is for now. Let me know if this is blocking for you, though.

Copy link
Contributor

@LukeSeifert LukeSeifert left a comment

Choose a reason for hiding this comment

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

Looks good! Let me know if you would like for me to merge or if you'd prefer to wait for more reviews

@samgdotson
Copy link
Collaborator Author

@LukeSeifert you can go ahead and merge!

@LukeSeifert LukeSeifert merged commit 7e93bfa into arfc:main Jan 21, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Comp:Core This issue has to do with the main bulk of the code or document. (methods, main content) Difficulty:3-Expert This issue is not only complicated, but also complex. It may require special advanced skills. Priority:1-Critical This is the highest priority (i.e. it is blocking other work or facing a deadline). Status:5-In Review This issue has been handled, and the solution is being reviewed. (probably as a PR) Type:Docs Is related to API documentation, website content, etc. Type:Feature New feature or feature request Type:Test Is related to software testing. Failing tests, necessary new tests, test frameworks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an MGA module to osier
3 participants