Skip to content

Fixed CSV export of RAT gen and added weighted export - #8136

Draft
exeea wants to merge 21 commits into
MegaMek:mainfrom
exeea:ratgen2
Draft

Fixed CSV export of RAT gen and added weighted export#8136
exeea wants to merge 21 commits into
MegaMek:mainfrom
exeea:ratgen2

Merge branch 'main' into ratgen2

aa68ea0
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 28, 2026 in 0s

29.99% (+0.15%) compared to 7b85cd9

View this Pull Request on Codecov

29.99% (+0.15%) compared to 7b85cd9

Details

Codecov Report

❌ Patch coverage is 44.35576% with 488 lines in your changes missing coverage. Please review.
✅ Project coverage is 29.99%. Comparing base (7b85cd9) to head (aa68ea0).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...amek/src/megamek/common/ui/RATGeneratorEditor.java 0.00% 262 Missing ⚠️
...egamek/client/ratgenerator/RATDataCSVExporter.java 63.81% 168 Missing and 52 partials ⚠️
...mek/src/megamek/client/ratgenerator/UnitTable.java 14.28% 6 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #8136      +/-   ##
============================================
+ Coverage     29.84%   29.99%   +0.15%     
- Complexity    17577    17773     +196     
============================================
  Files          3190     3190              
  Lines        310164   310991     +827     
  Branches      54064    54194     +130     
============================================
+ Hits          92559    93277     +718     
+ Misses       208004   207999       -5     
- Partials       9601     9715     +114     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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