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.62

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.62
File Size Uploaded
gacrux-1.10.62.tar.gz 204.6 kB Details

Built distribution (wheel)

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

Total release size: 353.9 kB

Release files / gacrux-1.10.62.tar.gz

Download URL gacrux-1.10.62.tar.gz
Size 204.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8e1d22b9f98d38c251c74682d5d2edf8c68e352ede721a2c9221fd80ee81e909
BLAKE2b-256 checksum
How to use checksums
c41a6c213ac80fc22b8dd829dd4a76cca513e2fbaba0b1335efa8c6893e16c0b
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.62-py3-none-any.whl

Download URL gacrux-1.10.62-py3-none-any.whl
Size 149.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b00351f93d4a259d387212a0f510dcac642ff9ade4228c3630e48a1eb4f6757
BLAKE2b-256 checksum
How to use checksums
c0fbac80c7d8a31fb2fdb081f5290975e506ce8c4acd1608c834e807445bad82
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.62 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