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.
GitHub Advanced Security / CodeQL completed Apr 28, 2026 in 5s

1 configuration not found

Warning: Code scanning may not have found all the alerts introduced by this pull request, because 1 configuration present on refs/heads/main was not found:

Actions workflow (codeql-analysis.yml)

  • ❓  .github/workflows/codeql-analysis.yml:analyze

New alerts in code changed by this pull request

  • 4 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 603 in megamek/src/megamek/client/ratgenerator/RATDataCSVExporter.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
AvailabilityRating.getRatingAdjustment
should be avoided because it has been deprecated.

Check notice on line 605 in megamek/src/megamek/client/ratgenerator/RATDataCSVExporter.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
AvailabilityRating.getRatingAdjustment
should be avoided because it has been deprecated.

Check notice on line 390 in megamek/src/megamek/client/ratgenerator/RATGenerator.java

See this annotation in the file changed.

Code scanning / CodeQL

Exposing internal representation Note

getEraSet exposes the internal representation stored in field eraSet. The value may be modified
after this call to getEraSet
.

Check notice on line 48 in megamek/unittests/megamek/client/ratgenerator/AvailabilityRatingTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
AvailabilityRating.getRatingAdjustment
should be avoided because it has been deprecated.