-
Notifications
You must be signed in to change notification settings - Fork 18
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
Serveral refactorings in glotaran.Parameter
#910
Conversation
Benchmark is done. Checkout the benchmark result page. Benchmark diff v0.5.0rc1 vs. mainParametrized benchmark signatures: BenchmarkOptimize.time_optimize(index_dependent, grouped, weight)
Benchmark diff main vs. PRParametrized benchmark signatures: BenchmarkOptimize.time_optimize(index_dependent, grouped, weight)
|
Codecov Report
@@ Coverage Diff @@
## main #910 +/- ##
=======================================
- Coverage 85.1% 84.7% -0.4%
=======================================
Files 85 85
Lines 4761 4790 +29
Branches 880 891 +11
=======================================
+ Hits 4053 4060 +7
- Misses 561 581 +20
- Partials 147 149 +2
Continue to review full report at Codecov.
|
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 just some leftover nitpicks 👍
Sourcery Code Quality Report✅ Merging this PR will increase code quality in the affected files by 0.21%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Help us improve this quality report! |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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.
Reviewed ok.
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 👍
This PR streamlines the to and from dataframe methods of parameter group and ensures all parameter properties are included in the dataframe.
Change summary
as_dict
andfrom_dict
toParameter
to_parameter_dict_list
andfrom_parameter_dict_list
toParameterGroup
to_dataframe
andfrom_dataframe
to use new methodsto_datafame
has a switchas_optimized
now which defaults to true, a later pr must adapt the io APIParameter.markdown
as basis for follow up PRParameterGroup
to markdown. It is intended to be used byModel.markdown
Checklist
Closes issues
closes #902
u