~ethanmad/bouts.app

Welcome to the bouts.app manual. This page contains information for users.

See also:

#Reading the results

The results pages are public. Anyone with the address can read them. Log in to add fencers or enter results.

Some column headings have a dotted line under them. Point at the heading to see what the column means.

#Seasons

A season starts on 1 August, or on the day your conference uses. bouts.app starts the new season on that day by itself.

The results pages show the current season first. To see another season, or all seasons together, select it in the Season list at the top of the page.

#The fencers page

Select the season in the Season list:

  • This season: the fencers who compete this season.
  • All-time: every fencer.
  • A past season: the fencers who fenced in that season.

The All tab lists these fencers by school. Each weapon also has a tab, which lists that weapon's fencers in order. For this season and all time, the order is by rating. For a past season, the order is by the record in that season: most wins first, then fewest losses. A past season does not show the rating, because the rating is always today's.

The wins and losses are for the season you select. For All-time, they are for the fencer's whole career.

Use Name and School to find a fencer, or to list one school's fencers. Export these fencers (CSV) downloads the list on the screen.

The rating is an Elo rating. It uses every conference bout of the fencer's career. The championship seeding uses the same rating.

The win rate is wins divided by total bouts. For example, 0.750 means three wins in four bouts. Byes do not count as wins. On the squads page, it is wins divided by total matches, and a draw counts as half a win.

#The squads page

Each weapon has a tab. It lists the squads in order of their record: most wins first, then fewest losses. For the current season and for all time, the page also shows each squad's rating. A squad's rating is the ratings of its three best qualified fencers added together. The squad seeding uses the same number.

Export standings (CSV) downloads the records of every squad in all six weapons, for the season on the screen.

#The schools page

The schools page shows every school, with the record of each of its six squads for the season: wins, then losses, then draws. Click a record to open that squad.

#Schools out of conference

A school can be out of conference. You can still enter its matches, but its results do not count. They do not go in any record, rating, or seeding, for that school or for its opponents. The schools page and the fencers page mark these schools and their fencers Out of conference.

Only a conference owner (a superadmin) can change this: admin → out of conference.

#Managing your roster

#Who counts as competing this season

bouts.app never deletes a fencer. A fencer's past bouts are part of your conference's record. Instead, each fencer has a status for the current season:

Status What it means
Inactive Not competing this season. Hidden from the lists on the match edit page. Their history does not change.
Active Expected to compete, but has not fenced yet this season.
Fenced Has fenced at least one bout this season.
Qualified Has fenced your conference's minimum number of bouts this season.

The status is always for the current season, even when a page shows a past season. The fencers page shows it in the column This season.

A fencer who fences a bout becomes active. You do not need to do anything else.

Every bout counts toward the minimum for Qualified: byes, and bouts against schools out of conference, too.

The status matters most when you enter scores. On the match edit page, each of the nine bouts has a list of fencers. The lists show only the fencers who are active this season, the BYE, and anyone who is already in that match. This keeps graduated fencers out of the lists, so it is hard to select last year's "J. Smith" by mistake.

#Setting up a new season with a roster import

At the start of a season, nobody has fenced yet, so all your fencers are inactive. A roster import is the fastest way to make the right fencers active again. It finds or creates every fencer in the file, and marks them all active for the new season.

You need an admin account. The page is import in the navigation bar.

  1. Start from last season's roster. On the fencers page, select last season in the Season list. Then click Export these fencers (CSV).
  2. Delete the fencers who graduated or left. Add this season's new fencers.
  3. Go to import and upload the file.

You can also start from an empty file. Download the template on the import page gives you the header row and one example line.

#What the file looks like

The first three columns are school, category, and fencer_name, with a header row:

school,category,fencer_name
Ashford State University,me,Jane Fencer
Ashford State University,Men's Epee,Alex Rivera
  • The import ignores any columns after fencer_name. You can keep the wins, losses, and total_bouts columns of the export. A row that you add does not need them.
  • category takes the two-letter code (me, mf, ms, we, wf, ws) or the long name, such as Men's Epee. You can use both in the same file.
  • Save the file as CSV in UTF-8. Files saved by Excel work.
  • The file can be up to 2 MiB. This is much more than a conference roster needs.
#What the import does, and what it does not do
  • It never deletes anything. Schools, squads, and fencers that exist stay as they are. The import creates only the ones that are new.
  • You can upload the same file again. The result is the same, and it does not make duplicates. If a file is rejected, correct it and upload it again.
  • A rejected file changes nothing. bouts.app checks the whole file first. If a row has a problem, you get a list of every bad line and the reason, and nothing is imported.
  • A fencer who is not in the file stays as they are. The import only marks fencers active. To mark a fencer inactive, use the fencer's page (see below).
  • Names are matched in each squad, and capital letters do not matter. A misspelled name is a different fencer, and the import creates it as a new fencer. Correct the spelling before you upload. If you get a duplicate, rename or delete it on the fencer's page.
  • A row with the fencer name BYE is rejected. bouts.app manages the BYEs.

After the import, you get a summary: how many schools, squads, and fencers were created, and how many fencers were already in bouts.app.

#Other ways to mark a fencer active

You do not have to import a roster. Each of these also works:

  • Enter a bout. A fencer in a match result becomes active.
  • Mark the fencer active. Open the fencer from the fencers page, click the edit tab, and click Mark active for this season.
  • Show all fencers on the match edit page. If a returning fencer is not in a list, click Adding a returning fencer? Show all fencers. The lists then show the whole squad, with the active fencers first. Select the fencer and save. The fencer is then active, and is in the usual list for the rest of the season.

#Marking a fencer inactive

On the fencer's edit tab, click Mark inactive for this season. This only removes the fencer from the lists on the match edit page. It does not delete the fencer, and it does not change their record or their matches.

You cannot mark a fencer inactive if they have fenced this season. The button is not available, because their bouts show that they compete. If the bouts are a mistake, correct the match first. Then mark the fencer inactive.

#Using with Fencing Time

#Import fencers to Fencing Time

Before creating a tournament, you need to ensure all fencers are in the Fencing Time database with the same exact name used in all cases.

Fencing Time includes national federation membership databases; if all of your fencers are part of a national fencing federation (e.g., USA Fencing), then you can skip this step and procede to setting up your tournament and seeding it.

If your fencers are not all part of a national federation, you will need to import them.

  1. Get to the Fencing Time home screen. You will need to close any tournament you may have open (File → Close Tournament).
  2. Open the fencer database by clicking View → Fencer Database. A pop-up window will appear.
  3. Click Import Fencers at the bottom of the pop-up window. The Import Fencer Data Wizard will appear. Click next.
  4. Now you can select the appropriate CSV format.
    • If "bouts.app seeding format" appears from the list, select that and click next.
    • Otherwise, select None of the above and click next.
      • Select the file you will be using to import. To download it, open the fencers page on your conference's bouts.app site, open the weapon's tab, and click Export seeding (CSV). Only admins see this button.
      • Now Fencing Time will ask you to describe the file format. Use the following settings in table at the end of this section.
      • Check the Save this CSV file format for futures use box, then click next.
      • Enter "bouts.app seeding format" as the name in the Save CSV Format window. Click OK.
  5. You will see that X clubs and Y people were imported. Click Finish.
  6. When prompted if any clubs represent "Unattached", do not select any. Click next.
  7. You're done importing fencers to the database. Now you can set up your tournament.
Column in CSV Data Type
MemberNum Member #
Rank Ignore this column
Name Full Name (Last, First)
School Primary Club Name
Elo Ignore this column

#Creating and seeding an event with Fencing Time

bouts.app makes two seeding files for each weapon. Only admins can download them:

  • Individuals: on the fencers page, open the weapon's tab and click Export seeding (CSV).
  • Squads: on the squads page, open the weapon's tab and click Export seeding (CSV).

Each file lists the fencers or squads in order of their rating, best first.

#AskFRED registration

If you collect registrations using AskFRED, you can use the files provided by AskFRED without issue. Just follow our directions for seeding method and importing rankings. You may need to manually correct names which aren't exact matches.

#Individuals
#Event Set-up
  1. Open your tournament or create a new one.
  2. Create a new event. Fill in information as usual until you arrive at the seeding tab.
  3. In the seeding tab, select Change .... A pop-up window will appear.
  4. In the pop-up window, select Choose your own seeding method. Click next.
  5. Select Fencer ranking(s) only. Click next.
  6. Next to the Ranking dropdown, click the New list... button. Name it after the name of your fencing conference.
  7. Select the protection for top fencers as determined by your conference rules. Click next.
  8. Select use of a secondary ranking as determined by your conference rules. Click next. The seeding method window will close.
  9. Continue filling in information as usual.
  10. You will arrive at the main page for your new tournament.
#Importing Rankings
  1. Click the Rankings button in the bottom left corner. A pop-up window will appear.
  2. Click the Import from CSV button. Another pop-up window will appear. Click next.
  3. Select This file contains rankings for this point list ONLY, then select your point list from the first drop down menu and the corresponding weapon from the second drop down menu. Leave this option unchecked: This file contains absolute point values, not rankings. Click next.
  4. From the list of known formats, select A basic point rankings file. Click next.
  5. Select the seeding file you downloaded from bouts.app from your computer. (Ensure the weapon and timestamp in the file name are correct!)

About this wiki

commit b975826c690131d3706b79cd14755d9e5bf242d2
Author: Ethan Madison <ethan@ethanmad.com>
Date:   2026-09-25T08:55:52-07:00

ops: explain .pgpass for the demo script and the backup timer

The demo script cannot ask for the database password, so on a server
where Postgres wants one it failed to connect. The demo steps now say to
put the password in ~/.pgpass first, or to type it once into PGPASSWORD.

The backup step wrote the postgres user's .pgpass with echo. The shell
can change a password with $ or ! in it, and keeps it in its history.
It now says to use an editor, how to write a : or \ in the password,
and how to test the file with psql -w.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Clone this wiki ("wiki" branch)
https://git.sr.ht/~ethanmad/bouts.app (read-only)
git@git.sr.ht:~ethanmad/bouts.app (read/write)