RocketPy icon indicating copy to clipboard operation
RocketPy copied to clipboard

ENH: Add JSON export and CSV export support for monte carlo result

Open edith1504 opened this issue 3 weeks ago • 2 comments

Code changes (bugfix, features)

Lint (black rocketpy/ tests/) has passed locally

Current behavior

No feature to export result in the form of JSON or CSV file

New behavior

added a feature to export the result of monte carlo simulation into a JSON file and CSV file

Breaking change

No

Additional information

Screenshot 2025-12-09 182812

edith1504 avatar Dec 09 '25 13:12 edith1504

Codecov Report

:x: Patch coverage is 80.95238% with 8 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 81.61%. Comparing base (9cf3dd4) to head (d8034e8). :warning: Report is 26 commits behind head on develop.

Files with missing lines Patch % Lines
rocketpy/simulation/monte_carlo.py 80.95% 8 Missing :warning:
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #916      +/-   ##
===========================================
+ Coverage    80.27%   81.61%   +1.34%     
===========================================
  Files          104      107       +3     
  Lines        12769    13875    +1106     
===========================================
+ Hits         10250    11324    +1074     
- Misses        2519     2551      +32     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Dec 11 '25 02:12 codecov[bot]

this PR is duplicated with the #912

Gui-FernandesBR avatar Dec 11 '25 18:12 Gui-FernandesBR

@Gui-FernandesBR Is it necessary to change the test files...

edith1504 avatar Dec 17 '25 17:12 edith1504