How to list standings, pairings and more using tsh.
Updated Fri Oct 14 23:03:36 EDT 2005 for tsh 3.000.
tsh has a number of commands for listing information about what’s going on in your tournament. All of this information is listed on your screen when you ask for it. Most of it is also saved as a printable HTML file in your event directory, and optionally as a printable text file and as an online HTML file in an automatically indexed web directory.
“config no_text_files
”
controls whether or not text
files are created,
and option
“html_directory
” controls whether and where
online HTML files are created.
To adjust the formatting of the HTML file, edit the
“tsh.css” stylesheet file.
Before each round begins, you need to print up pairings, showing who is playing whom where. If you are using Fontes Swiss pairings, these pairings will typically be available sometime in the middle of the preceding round, as soon as you have finished entering and checking the second preceding round’s results. You should post them as quickly as possible, so that anyone who finishes their game early will know right away who their next opponent is.
If you are using automatic or default pairings (and you should be), there may be a slight delay when you first display the pairings for a round, as tsh computes them. It is also possible that tsh might tell you that it can’t yet compute the pairings for a round, because all of the results it needs have not yet been entered. If you are not using automatic pairings, then see the section on manual pairings before displaying pairings.
You show pairings using the
“ShowPairings round division
”
command.
To list pairings (e.g.) for round 5, division C, enter the command
“sp 5 c
”. (If you have only one division, you may
omit it, so you’d enter
“sp 5
”.)
As noted at the beginning of this section,
this will display on your screen who is playing whom where,
create a printable HTML file called
“C-pairings.html”
and optionally
create a text file called “C-pairings.doc”
and an online HTML file on a web server.
You can then either open the text file with a word processor, format it
if necessary and print it, or open the HTML file with a web browser
and print it directly.
If you have enabled the
“track_firsts
” configuration option, games where
tsh knows either who should go first or if a draw is required
say so.
If you are using OS/X, you can open the documents from a second Terminal
window using the
“open
” command.
You can also print them directly to your default printer using the
“lpr
”
command, though CSS formatting may not apply.
If you are using Windows, be sure to close whichever files you opened, or else tsh will not be able to update them again. Remember too that the files in your event directory contain whichever pairings you last asked for, so if you go back and look at round 3 pairings to check something, that’s what will be in the files, and it probably won’t be what the players want to see printed. The files in your web server directory (if specified) record information for each round separately, and keep track of the last displayed version of the pairings for each round.
The “RATings division
” command shows
current standings with estimates
of new (Elo/NSA or ABSP depending on the
value of “config rating_system
”) player ratings.
“rat a
” will tell you what
Division A ratings would be if the tournament ended right now.
You should use this command when all the scores are in for a round,
and print its report.
For NSA events, the
rat
” command does not yet
split-rate 3-part tournaments or 1/3-rate
local club tournaments, but it will do so as
soon as someone asks me to implement these features.
Files are created as with pairings.
You can show standings from earlier rounds using the
“roundstandings round division
” command.
Entering “rs 4 d
” will give you the
standings as of round 4 for division D.
This command does not generate printing files, as it is used mostly
to quickly check past pairings, and because you will typically already have
printed copies of the standings for previous rounds as well as web files
from previous reports of ratings estimates.
The now deprecated
“STandings division
” command
does what the
“RATings
” command
does, but without the ratings estimates,
and is kept largely for use at nonrated events.
Entering
“st c
” will give you the
current standings for Division C.
Files are created as with pairings.
The “tourney.pl” program can be used to produce detailed
tournament reports which combine standings, estimated NSA ratings and
scores of all games. In Unix, enter
“tourney.pl a.t > a.txt
”
or
“tourney.pl -d 10 a.t > a.txt
”
(to split-rate after 10)
to create a file called
“a.txt” containing a report based on the data in
“a.t”.
tsh creates ratings data files in three different formats, depending on which rating system you will be submitting your data to.
The NSA web site accepts tsh’s own
“.t” files for ratings data submission.
There is a stopgap script that can be used at the shell prompt (in Unix)
to create a combined submission file for a multidivisional tournament:
“util/concat-t ?.t
”, which
creates a file called
“all.t” from all files with single-character names and
extension “.t”.
In the not too distant future,
tsh will be better integrated with the NSA rating data
submission system.
The
“ABSPgrid
”
command generates a ratings grid for submission to the ABSP. The
grid is a text file which is displayed on the screen and saved to
a file.
The
“AUPAIR
”
command generates a “.TOU” file in the format used
by the “AUPAIR.EXE” program.
The file is not displayed on the screen.
“AUPAIR.EXE” is used by Bob Jackman and his International
SOWPODS Rating System, and by many countries in southeast Asia.
You can show standings based on a range of rounds using the
“ResultsByRound firstround-lastround division
” command.
Entering “rbr 1-7 b
” will give you the
standings based on the first seven rounds for Division B.
Files are created as with pairings.
This command is typically used to compute "best result day n" prizes.
There are external commands for computing high and low win and loss.
For example,
“high-win a
”
lists the top twenty game scores in division A, the rounds in which
they took place, the losing score and the names of the players involved.
There is an external command for computing the NSA’s
“Tuff Luck” prize based on the lowest total of six
losing spreads:
“tuffluck a
”
lists the
“Tuff Luck” standings for Division A.
If you run a rotisserie pool, you can use the
rotofile configuration option to specify
the location of a text file giving the structure of that pool,
then use the
“ROTO
” command to display current standings.
Each team is represented by a list of names, followed by a blank line.
The team owner’s name is preceded by the word
“owner
”
and a space,
each team member’s name is preceded by the word
“player
”
and a space.
tsh includes commands for producing electronic versions of player scorecards and tournament wall charts. These were originally intended to allow you to check these documents and correct your data. As of 2005, the only official version of the tournament results is deemed to be the data that you entered from the result slips, so these commands should be used only to point out and explain errors in the printed documents, or to replace a lost scorecard at a player’s request.
You can show a scorecard using the
“ShowscoreCard division player
”
command.
Entering
“sc j 5
”
will give you the scorecard
for player J5.
A file called
“J-scorecard.html”
will be created, which can be printed and given to a player who has
lost their original scorecard.
Scorecards are also displayed whenever you use the
“EditScores
”
command.
When a score has been added to a scorecard within the last two hours,
the age of that modification in minutes is shown at the top of the card.
This is to help determine whether an absent player may be away taking
a break from a game that ran unusually late.
You can show a wallchart using the
“showWallChart division
” command.
Entering
“wc g
”
will give you the wall chart for division G.
Typing a round number before the division name will start the wall
chart at that round, in case your wall chart would otherwise be too
wide to print nicely.
Files are created as with pairings.