Skip to main content

TieBreakServer

🚀 Install Tie-Break Server

  • Downlaod project

  • Install python 3, min version 3.11

  • Install dependencies - See requirements.txt

  • python pairingchecker.py

  • python tiebreakchecker.py

  • python tournamentgenerator.py

🦋 Common command line parameters

  • -i <file> or --input-file <file> - Tournament file
  • -o <file> or --output-file <file> - Output file, use - for stdout
  • -f <fileformat> or --file-format <fileformat> - TRF for FIDE TRF-16/TRF-25, JCH for Chess-JSON, TS for Tournament Service files
  • -b or --encoding - character encoding (ascii, utf-8, latin-1, ...)
  • -e <number> or --event-number <number> - In files with multiple event, tournaments are numbered 1,2,3, ... use 0 for passthrough
  • -c or --check - Check tie-break calculation
  • -n <number> or --number-of-rounds <number> - Number of rounds in Tie-break calculation
  • -d <delimiter> or --delimiter <delimiter> - Predefined delimiters @=Check-status B=blank, T=tab, S=Semicolon, C=comma, default is JSON output

🦋 Pairingchecker

👷 Command line parameters

  • -a or --analyze - Analyze pairing
  • -p or --pairing - Do pairing
  • -m <method> or --method <method> - dutch, berger, or fideteam. C.04.6 art. 1.7 lets the rules of the competition choose one of three colour models, and -m names them all: fideteam uses the type A colour preferences of art. 1.7.1, fideteam-typeb the type B preferences of art. 1.7.2, and fideteam-nocolor uses no colour preferences at all. FIDE team Swiss tournaments are selected automatically from TRF record 192, which also names the model: FIDE_TEAM_TYPEA_*, FIDE_TEAM and FIDE_TEAM_BAKU select type A, FIDE_TEAM_TYPEB_* type B, and FIDE_TEAM_MP_GP, FIDE_TEAM_GP_MP, FIDE_TEAM_MP, FIDE_TEAM_GP, FIDE_TEAM_MP_GP_BAKU and FIDE_TEAM_MP_BAKU no colour preferences.
  • -t <w | b> or --top-color <w | b> - Color on top board")
  • -u <list> or --unpaired <list> - list of competiters that shall not be paired for next round
  • -x <list> or --experimental <list> - list of kewords, "weighted" - use weighted

👷 Examples

  • python pairingchecker.py -i <infile> -o <outfile> -p -dT
    Pair the next round of the tournament
  • python pairingchecker.py -i <infile> -c -dT
    Check all rounds of the inputfile for correct pairing, output to terminal
  • python pairingchecker.py -i <infile> -c -a -p -n <round> -dT -x weighted
    Check round <n> with weighted algorithm and write detailed pairing

🦋 Tiebreakchecker

👷 Command line parameters

  • -t <list> or --tie-break <list> - List of Rank order specifiers, default read from tournament file
  • -p or --pre-determined - Use rules as tournament has pre-defined pairing
  • -s or --swiss - Use rules as tournament is a swiss tournament
  • -r or --rank - Print result in rank order
  • -u <number> or --unrated <number> - Set rating for unrated players

👷 Rank order specifiers

The Rank order specifiers has the form TB:PS/Mn-optlist

  • TB - required, TieBreak name
  • :PS - Point system name for team competitions,
    MP=match points(default),
    GP=game points
  • #Mn - Modifier
    C=cut,
    M=medial,
    L=limit,
    n=number
  • -optlist -
    Open full TB-list

👷 Examples

  • python tiebreakchecker.py -i <infile> -o <outfile> -c -dT -t PTS GH:GP/C1 DE/P
    Print tiebreak values for the given tiebreaks

🦋 Tournamentgenerator

👷 Command line parameters

  • -g <number> or --generate <number> - Generate <number> tournaments
  • -p <number> or --players <number> - Number of players in the tournament
  • -n <number> or --number-of-rounds <number> - Number of rounds
  • -t <w | b> or --top-color <w | b> - Color on top board")
  • -r <args> or --rating <list> - List of 3 numbers, <higest rating> <step rating> <sigma>
  • -s <args> or --statistics <list> - List of 3 numbers, <rate zpb> <rate hpb> <rate forfeited>
  • -x <list> or --experimental <list> - list of kewords, "weighted" - use weighted

👷 Examples

  • python tournamentgenerator.py -n 9 -x weighted -p 15 -r 2200 10 50.0 -s 0.02 0.10 0.04 -o C:/temp/t_n9_p15_d10_s50/T%d.trf -g 10000
    This will create directory C:/temp/t_n9_p15_d10_s50 and generate 10000 tournamen numbered T0000.trf to T9999.trf
    Top color will alternate unless -t flag say otherwise

Metadata

Release files for gacrux 1.11.65

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gacrux 1.11.65
File Size Uploaded
gacrux-1.11.65.tar.gz 293.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gacrux 1.11.65
File Interpreter ABI Platform
gacrux-1.11.65-py3-none-any.whl Python 3 none any Details

Total release size: 461.0 kB

Release files / gacrux-1.11.65.tar.gz

Download URL gacrux-1.11.65.tar.gz
Size 293.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d6fa86b59a6f77fd5a3a204369e469eed9c02a069f8b10a61ec20bc380a26a93
BLAKE2b-256 checksum
How to use checksums
80d9e5dc983b2af4d5ad7c37b1c37a8bbd7682e82bbe203d1f965859fd19e9ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / gacrux-1.11.65-py3-none-any.whl

Download URL gacrux-1.11.65-py3-none-any.whl
Size 167.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f65b32e78c4d7723ed7bdaeec8fec8a87b966b6680f2fe47048fdf35c5f1870
BLAKE2b-256 checksum
How to use checksums
b3449f954e4fe029c5de7a931839ad1fcdd5cf50ec76a64fac9e799f3b45a3a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release history Release notifications | RSS feed

This release

1.11.65 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page