Skip to content

Change default scoreboard ranking to not use WF Group ranking #1219

@johnbrvc

Description

@johnbrvc

Is your feature request related to a problem?
It has been suggested by @clevengr that we ONLY use FinalizeData.useWFGroupRanking for WF contests... in which case setting that to false instead of true might be a more logical default?

In addition, there is currently no way to define the type of scoreboard ranking desire nor the number of medals in the system.pc2.yaml file (or any configuration file for that matter). There should be a way to configure these settings using configuration files (specifically, system.pc2.yaml) and not have to rely on changing them manually using the GUI.
...

Feature Description:
Change the default scoreboard ranking to not use WF Group ranking.
Add a way to configure the scoreboard ranking type and medal counts using the system.pc2.yaml file.
...

Have you considered other ways to accomplish the same thing?
It can be done manually on the Run Contest->Finalize tab.
...

Do you have any specific suggestions for how your feature would be implemented in PC^2?
In FinalizeData.java, change the initialization of useWFGroupRanking to false. Also, either remove the call to setUseWFGroupRanking(true) in FinalizeData.getDefaultFinalizeData(), or, change it to false. The setting in the FinalsStandingsRecordComparator.java should also be changed to false for useWFGroupRanking.

The GenDefaultFinalizeData() method in ResultsFile.java should be removed and the call in that same module to that method should be replaced with Finalize.getDefaultFinalizeData().

Fix ContestSnakeYAMLLoader to allow configuring the FinalizeData.
...

Additional context:
Created as a result of PR #1210
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Analysis requiredRoot cause unknown or requirements analysis requiredCI - Continuous ImprovementContinuously improve pc2 code quality, features and testingPrimary CCSRequired for PC2 to act as primary CCSSmall LOELess than an hour to code, test and push a PRmedium-highShould be consider for next release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions