Scoring Warnings and Blocked Publishing

Why RegattaHub can stop a race from being published, where scoring warnings show, what each one means and how to fix it, with a worked example.

RegattaHub never publishes a result it couldn't score properly. When something the scoring needs is missing or doesn't add up (a finisher with no rating, a race with no distance, a formula that can't be worked out), RegattaHub records a scoring warning on the race instead of quietly guessing, and a warning that would make the results wrong stops the race from being published. This article explains where warnings show, what each one means and how to fix it, with a worked example.

What scoring warnings are

  • Blocking warnings mean a result had to fall back on something wrong, for example scoring a boat on its elapsed time because it has no rating. A race with a blocking warning can't be published until the problem is fixed. They clear by themselves once the data is fixed and the race is scored again; you can't dismiss them.
  • Other warnings are things to check, such as an average that is still pending. They never block publishing, and you can mark them resolved once you've checked them.
  • When races are checked. RegattaHub checks a race each time it scores it on its server: when you publish it, and whenever a published race is scored again (after Update Published Results, a rating change, or a change to the scoring settings). Saving a draft doesn't check anything. Checks on the whole class (discards, qualification, club codes) run after each publish.
  • Per boat or per race. A warning about a boat is raised only for a boat that holds a finishing place: a boat with no rating that retired doesn't block anything, because its rating isn't used.
  • Published races stay published. If a change to a published race (for example a rating removed) causes a blocking warning, the race stays published and its badge turns red. Fix it promptly: until then that boat is scored on its elapsed time.

Scoring warnings are for the organizers only. The regatta's Super Admin, Admin, Scorer and Viewer see them; sailors don't.

Where warnings show

A race or class with open warnings gets a badge with a warning triangle. Races and classes without warnings look exactly as before.

  • Races tab. On the race's row, next to its status, a small badge with the number of warnings.
  • Class results page (for example PHRF A Results). Next to Series Standings, a badge with the class's total, for example 5 scoring warnings (5 block publishing); and on each race's card in the race results, a small badge with that race's number of warnings.

The colour tells you whether publishing is affected:

  • Red: at least one warning blocks publishing. The badge's full text reads, for example, 2 scoring warnings (1 blocks publishing) (hover over the small badges to read it).
  • Amber: none of the warnings block publishing, for example 1 scoring warning.
The Races tab with PHRF A expanded: each of Race 1 to Race 5 shows a blue Published badge and a red badge with a warning triangle and the number 1
Red warning badges on PHRF A's race rows: each race has one warning that blocks publishing.

The Scoring warnings window

Press a badge to open Scoring warnings — <race or class>, for example Scoring warnings — Race 3. Its first line depends on what's in it:

  • With a blocking warning: "Warnings marked "Blocks publishing" must be fixed before the race can be published."
  • Without: "These do not block publishing. Mark one resolved once you have checked it."

Blocking warnings are listed first, in red. Each warning shows:

  • its code, for example SW-NORATING, and a Blocks publishing tag when it blocks (on the class results page, also the race it belongs to);
  • the message, naming the boat by sail number where there is one, for example "Sail USA 50 has no rating for this class — its corrected time fell back to elapsed";
  • To fix: what to do, for example "Enter the boat's rating (entry editor or ratings panel), then publish again." When the fix is in Advanced scoring settings, the line ends with an Open Advanced scoring settings link;
  • Mark resolved, on warnings that don't block publishing. Press it once you've checked the warning; it disappears from the badge. If it can't be saved you'll see "Could not mark this warning resolved. Try again." A Super Admin, Admin or Scorer can mark warnings resolved.
The Scoring warnings — Race 1 window: SW-NORATING with a Blocks publishing tag, the message Sail USA 50 has no rating for this class — its corrected time fell back to elapsed, and the To fix line
The Scoring warnings window for Race 1.

When publishing is blocked

When you press Publish Results (single race), Publish All Results (Multi-Class) or publish a pursuit race, RegattaHub first scores the race on its server. If a blocking warning comes up, it doesn't publish and opens Publishing blocked instead:

  • "<race> can't be published until the problems below are fixed." (with several races, their names separated by commas)
  • "Your results were saved as a draft — nothing is lost. Fix the problems, then publish again."
  • The blocking warnings of each race, with their To fix: lines. If they can't be listed: "The race has scoring warnings that block publishing. Open the class results page to see them."

Press OK. The race is In Progress (saved, not public) and its row on the Races tab carries the red badge. No "results published" notification goes out. Fix the problem, open the race again and publish. On the Multi-Class page, the races without problems are published and the window lists only the blocked ones.

Updating a race that is already published isn't blocked: Update Published Results saves and the race stays published, but a new blocking problem turns its badge red.

The Publishing blocked window: Race 5 can't be published until the problems below are fixed, Your results were saved as a draft — nothing is lost, the SW-NORATING warning with its To fix line, and an OK button
Publishing blocked: the results are kept as a draft and the window says what to fix.

Every warning and how to fix it

Messages name the boat (Sail USA 50) or the class (PHRF A:) they're about. The examples use Northpoint Fall Series boats.

Warnings that block publishing

Code What the message says To fix
SW-NORATING"Sail USA 50 has no rating for this class — its corrected time fell back to elapsed""Enter the boat's rating (entry editor or ratings panel), then publish again." In a rating-formula class, the quickest place is Advanced mode (see the worked example).
SW-NODEF"This class has no usable rating formula (unknown preset or no expression) — corrected times fell back to elapsed", or "This class's rating formula '…' cannot be parsed (…) — corrected times fell back to elapsed""Choose a rating system for the class in Advanced scoring settings." (Rating system extras; see RYA Portsmouth, IRC and Custom Rating Formulas)
SW-DIST"This race has no distance for a time-on-distance class — corrected times ignore distance until it is entered""Enter the race distance for this class (Race Parameters › Distance), then publish again."
SW-EVAL"Sail USA 12 the rating formula could not be evaluated (…) — corrected time fell back to elapsed", or "… the rating formula gave a non-finite corrected time — check the rating""The class's rating formula failed for this boat — check the formula in Advanced scoring settings and the boat's rating."
SW-CLAMP"Sail USA 12 corrected time is negative and was clamped to 0 — check rating/distance""The corrected time came out below zero — check the boat's rating (or its rating override for this race) and the distance."
SW-RATIO"Sail USA 12 corrected time 378947s is over 100× of elapsed 3600s — check the rating (0.95)" (here an IRC-style number was typed for a Club handicap), or "… is under 1/100 of elapsed …""The corrected time is implausible next to the elapsed time — check the boat's rating or its rating override for this race."
SW-LAPS"Sail USA 12 has no lap count while others sailed up to 3 laps — a blank counts as 1 lap and scales its time ×3""Enter the laps sailed for every finisher (Laps column)."
SW-UNKNOWN"Sail USA 12: ARB is not a scoring code in this race's table — scored as DNF (DNF)" (for example, a club code deleted after it was used)"The boat carries a code that is not in the code table — pick a listed code, or add the code in Advanced scoring settings › Finish codes."
SW-ALIAS"Sail USA 12: ARB uses the same method as 'XYZ', which cannot be resolved for this race (no such code in this race's table, a race-scoped target, or an alias cycle)""A scoring code points at a code this race doesn't have — fix it in Advanced scoring settings › Finish codes."
SW-SERIES"ARB uses method 9, which reads a series-wide count, but no series counts were supplied — this race's came-to-start-area (13) was used instead""A scoring code needs series-wide counts that are missing — rescore the regatta, or change the code's method in Advanced scoring settings › Finish codes."
SW-PROFILE"PHRF A: the stored discard rule '…' cannot be read, so the older discard settings are used instead. Fix the rule in Advanced scoring settings." (or the same for the qualification rule, "so the minimum-races setting is used instead")"The class's discard or qualification rule is invalid — fix it in Advanced scoring settings." (see Discards and Minimum Races to Qualify)

Warnings that don't block publishing

Code What the message says To fix
SW-AVGPEND"Sail USA 12: RDGa is the average of the boat's other races and none are scored yet — it ranks with the non-finishers until they are (average pending)""Nothing to do if more races will be sailed; otherwise give the boat committee points (RDG) instead." It clears when the boat's other races are scored.
SW-DISC"J/70: The discard rule gives 2 discards after 2 races completed, which would discard every race; 1 discard is used instead so at least one race counts.""The discard rule gave every race away; one fewer discard is used. Adjust the rule in Advanced scoring settings if that is not intended."
SW-QUAL"PHRF A: the qualification rule (8 races) cannot be met with the 6 races scheduled, so every boat is DNQ.""No boat can qualify with the races completed so far. Adjust the qualification rule if the series will not grow."
SW-CODE"J/70: ARB scores 14 in a 14-boat class, no worse than the last finisher (14): not showing up would beat finishing.""A code scores no worse than finishing last — check the code's points in Advanced scoring settings › Finish codes." (see Finish Codes, Penalties and Redress)
SW-WIND"This race's wind band 'Heavy' is not one of the class's bands (Light, Medium) — default ratings were used""The race's wind band is not one of the class's bands, so default ratings were used — pick the band in the race's settings." Races' bands are set in Advanced scoring settings › Race options.
SW-BANDRATING"Sail USA 12 has band ratings but none for this race's wind band — its default rating was used""The boat has no rating for this race's wind band, so its default rating was used — add the band rating to the entry."

The Open Advanced scoring settings link appears for SW-NODEF, SW-EVAL, SW-UNKNOWN, SW-ALIAS, SW-SERIES, SW-PROFILE, SW-DISC, SW-QUAL and SW-CODE. Class-wide warnings (SW-PROFILE, SW-DISC, SW-QUAL and SW-CODE) are attached to the class's most recent completed race.

Worked example: a boat with no rating

In the Northpoint Fall Series, PHRF A is scored with a custom rating formula named Club handicap (corrected time = e*100/r, usual range 80–120). Two entries have a problem:

  • Ebb & Flow (USA 50) has no Club handicap yet.
  • Blue Moon (USA 64) has 124, above the usual range.

Ebb & Flow finished in each of PHRF A's five published races, so each of them was scored on its elapsed time and carries a blocking warning.

1. Find the problem

  1. Open the Races tab and expand Circle B › PHRF A. Every published race has a red badge with 1.
  2. Press a badge. Scoring warnings — Race 1 lists SW-NORATING Blocks publishing: "Sail USA 50 has no rating for this class — its corrected time fell back to elapsed", with "To fix: Enter the boat's rating (entry editor or ratings panel), then publish again."
  3. The class results page, PHRF A Results, shows the total next to Series Standings: 5 scoring warnings (5 block publishing).

If you now scored PHRF A's next race and pressed Publish Results with Ebb & Flow among the finishers, the Publishing blocked window would open with the same warning, and the race would be kept as a draft.

2. Fix the rating in Advanced mode

  1. Open the Entries tab and press Advanced mode.
  2. Find the Club handicap column. Ebb & Flow's cell is marked No rating (hover: "No Club handicap yet. Results with this boat can't be published until one is entered."). Blue Moon's cell shows 124 with a Rating check marker (hover: "124 is outside the usual range for a Club handicap (80–120).").
  3. Double-click Ebb & Flow's cell, type the boat's Club handicap (for example 96) and press Enter. The cell saves straight away; there's nothing else to save.
  4. Check Blue Moon's 124 with the sailor or the rating certificate. If it's right, leave it: Rating check only asks you to check the number and never blocks publishing. If it's a typo, correct it the same way (for example 104).

A number of 0 or less is refused in the cell ("0 is not a usable Club handicap; a rating must be a number above zero."). The same No rating and Rating check badges show on the boats' rows on the Entries tab, and you can also change a rating in the entry's editor; see Edit Entries and Advanced mode.

Advanced mode filtered to PHRF A: the Club handicap column, Blue Moon at 124 with a Rating check badge, and Ebb & Flow with a No rating badge
PHRF A's ratings in Advanced mode: Ebb & Flow has none yet, and Blue Moon's 124 is outside the usual range.

3. Check and publish again

  1. Saving a rating rescores the class's published races with the new number. Reload the Races tab: PHRF A's red badges are gone, and Ebb & Flow's corrected times and places in those races now use its rating.
  2. If a race was blocked, open it and press Publish Results again. It publishes, and the Race Published window appears.

The standings on the class results page and the public Results update with the rescored races.

Checks when you change scoring settings

Separately from race warnings, Advanced scoring settings checks every change before it's saved. Errors (for example a finish code with N out of range, or a formula that can't be read) are shown in red under the field and must be fixed before Save & rescore works. Warnings are shown in amber; you can save after confirming them in Save anyway? or, when the regatta has finished races, by ticking "I’ve read the warnings and want to save anyway." in the preview. See Preview, History and Reset to Default Scoring and Advanced Scoring Settings.

Frequently asked questions

Are my results lost when publishing is blocked?

No. They're saved as a draft (the race shows In Progress). Fix the problem and publish again.

Can I ignore a warning?

Warnings marked Blocks publishing must be fixed; they clear by themselves once the race is scored with the fix. Other warnings can be checked and marked resolved.

Do sailors see the warnings?

No. Warnings are shown to the regatta's staff only.

I fixed the rating but the badge is still red

Reload the page: the badges refresh when the race's status changes or the page loads. If it's still red, open the badge: the warning may be about another boat, or about a race that needs a distance (SW-DIST), which you enter in the race's Race Parameters and then publish or update the race.

Do PHRF and ORC classes get these warnings too?

Yes. A PHRF or ORC finisher without a rating raises SW-NORATING, a time-on-distance race without a distance raises SW-DIST, and a corrected time below zero raises SW-CLAMP. On the finish-entry page, Calculate Times already warns about boats without ratings before you publish.