GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing github.com — ENH: Expansion of Encoders Implementation for Full Flights. by phmbressan · Pull Request #679 · RocketPy-Team/RocketPy Conversation
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## develop #679 +/- ## =========================================== - Coverage 76.42% 76.34% -0.08% =========================================== Files 95 96 +1 Lines 11090 11460 +370 =========================================== + Hits 8475 8749 +274 - Misses 2615 2711 +96 ☔ View full report in Codecov by Sentry. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Nothing to complain about, good work.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I have just noticed that I made a mistake when merging CHANGELOG conflicts for this PR. I will fix it before merging. This does not block reviewing.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Overall comments:
to_dict and from_dict methods are missing docstrings in all classes
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
I strongly advise to not include dosctrings yet. Also, they exists mainly for private reasons: we need them in order have the JSONEncoder working. Btw the methods are so simple that they don't even need docstrings. But that's a discussion for future sessions... |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
One last test we could run is: Create a Monte Carlo simulation with 100 simulations and verify if the output .txt files are still readable enough.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
c8e1682 to
7834947
Compare
Good point. I have added some customization options to MonteCarlo so that one can choose whether to include all |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
fe27050 to
f1b57ef
Compare
MNT: Add encoding feature to CHANGELOG. BUG: add dill to the requirements file.
ENH: extend encoding and decoding to Liquid and Hybrid. MNT: correct decoding of liquid and hybrid motors. STY: solve pylint remarks. MNT: adapt encoding to new post merge attributes. MNT: restore typo to correct values on flight test. ENH: add option for including outputs on JSON export. TST: add tests for motor encoding. DOC: Improve docstrings of encoders signature. MNT: Make no output encoding the default. MNT: Standardize include outputs parameter. DOC: Correct phrasing and typos of encoders docstring. MNT: Correct json export environment naming.
006f6a9 to
c79930b
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
@phmbressan just a few more conversations need to be solved.
The PR looks good btw.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
DEV: fix CHANGELOG MNT: reposition barometric height as env json output. MNT: Allow for encoding customization of MonteCarlo.
c79930b to
c389519
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM, amazing work @phmbressan .
@GabrielBarberini should be interested in this feature. Please notice this is not a part of the public API!!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
* ENH: expand encoders implementation to support full flights. MNT: Add encoding feature to CHANGELOG. BUG: add dill to the requirements file. * ENH: provide from_dict classmethods for decoding basic classes. ENH: extend encoding and decoding to Liquid and Hybrid. MNT: correct decoding of liquid and hybrid motors. STY: solve pylint remarks. MNT: adapt encoding to new post merge attributes. MNT: restore typo to correct values on flight test. ENH: add option for including outputs on JSON export. TST: add tests for motor encoding. DOC: Improve docstrings of encoders signature. MNT: Make no output encoding the default. MNT: Standardize include outputs parameter. DOC: Correct phrasing and typos of encoders docstring. MNT: Correct json export environment naming. * MNT: Allow for encoding customization of MonteCarlo. DEV: fix CHANGELOG MNT: reposition barometric height as env json output. MNT: Allow for encoding customization of MonteCarlo.
* ENH: expand encoders implementation to support full flights. MNT: Add encoding feature to CHANGELOG. BUG: add dill to the requirements file. * ENH: provide from_dict classmethods for decoding basic classes. ENH: extend encoding and decoding to Liquid and Hybrid. MNT: correct decoding of liquid and hybrid motors. STY: solve pylint remarks. MNT: adapt encoding to new post merge attributes. MNT: restore typo to correct values on flight test. ENH: add option for including outputs on JSON export. TST: add tests for motor encoding. DOC: Improve docstrings of encoders signature. MNT: Make no output encoding the default. MNT: Standardize include outputs parameter. DOC: Correct phrasing and typos of encoders docstring. MNT: Correct json export environment naming. * MNT: Allow for encoding customization of MonteCarlo. DEV: fix CHANGELOG MNT: reposition barometric height as env json output. MNT: Allow for encoding customization of MonteCarlo.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
ENH: make rocketpy classes json serializable
There was an error while loading. Please reload this page.