The logic for handling custom points in the Swar6 reader has been refactored. Previously, if presence points were not set, the absence value was set to the presence value and then the presence key was unset. Now, if presence points are not set, the absence value is directly set to 0 and then the presence key is unset.
The update introduces a new feature to handle presence points in the Swar6 reader. If the tournament uses presence points, it now assigns these to 'absence' and removes them from 'presence'. The change also removes an unnecessary line related to EloUsed.
The key for the custom points array has been changed from 'absent' to 'presence'. This change is made in the Swar6 class, specifically within the method that reads data from a handle. The value associated with this key remains unchanged.
This commit:
- Creates the repository
- Forks libpairtwo
- Removes the unrelated files
- Moves the namespaces to a new namespace
- Uses native 8.1 enums instead of a thirdparty-library