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 (fideteam-typeb for type B colour preferences). FIDE team Swiss tournaments are selected automatically from TRF record 192.
  • -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.10.64

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.10.64
File Size Uploaded
gacrux-1.10.64.tar.gz 213.8 kB Details

Built distribution (wheel)

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

Total release size: 365.8 kB

Release files / gacrux-1.10.64.tar.gz

Download URL gacrux-1.10.64.tar.gz
Size 213.8 kB
Tags Source
SHA-256 checksum
How to use checksums
11870df492f2882965886c2a8fcc840e7e729339899be9d438f320a421914971
BLAKE2b-256 checksum
How to use checksums
9e0f75df5e09193cba71ac00227015d9c73c3eee65fc6e7915816c0f9e4d6afa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

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

Download URL gacrux-1.10.64-py3-none-any.whl
Size 151.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87f3401f1d2166afc8991c39bea844a09ac8089469e0dd829117a70788d4110d
BLAKE2b-256 checksum
How to use checksums
27add15bb24907ac65aad740f13496424227081ae4aaa9594f3ec52fbee2763c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release history Release notifications | RSS feed

This release

1.10.64 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