Appendix R: Random tournament and tournament validation
Vega (only Windows version) can be used to generate Swiss tournament with Dubov system.
The output format if the FIDE exchange TRF2016. Vega can even import this file and check if
they are conpliant to Dubov system.
The installation folder contains two files that make easy to generate and check many files at
once.
File generate.bat :
Contains the command
FOR /l %%i in (1,1,100) do @Vega7.exe -g PATHFOLDER
that generates 100 random tournament in the folder PATHFOLDER (the string PATHFOLDER
should be terminated by “\”). An example of correct input is:
FOR /l %%i in (1,1,100) do @Vega7.exe -g C:\Users\luigi\vegatornei\bbb\
Instead of 100 the user can input any number.
Here is a typical filename of the tournament generated by Vega:
FIDE-TRN-50-12_162147026.trf
where 50 e 12 are players and rounds; then follow the time stamp in the format hh-mm-ssmilliseconds.
The following value are used to generate sensible tournaments:
players : [15, 215]
player rating = [2000, 2600]
rounds : [7, 15]
probability of forfeited game = 0.02
average number of retired players = players*rounds/250
average number of ½ point bye given two rounds before the last round = players*rounds/150
game result = probability according to the player rating difference.
File check.bat :
Contains the command
for %%f in (PATHFOLDER\FIDE-TRN*.trf) do @Vega7.exe -c "%%f"
Here is a valid example:
for %%f in (C:\Users\luigi\vegatornei\bbb\FIDE-TRN*.trf) do @Vega7.exe -c "%%f"
When done Vega saves the file checker.txt with the details of the comparison.
87