Last edited 1st June 2018 by Jon
A discard profile controls how discards are allocated to a series when scoring. Each scoring system can have its own discard profile.
The form of a discard profile is a comma-separated list of discards when 1,2,3,4 etc races completed. The last value is used if the number of races sailed is greater then the number of entries in the profile. For example in a 9 race series, if 1 discard is allowed when 3 races have been sailed and then another discard is allowed when 7 races have been sailed, the discard profile would be:-
0,0,1,1,1,1,2,2,2
If the same nine-race series only allowed one discard when 3 races have been sailed, you would use:-
0,0,1,1,1,1,1,1,1
Remember that if the number of races sailed is greater than the number of items defined in the list, the last item is used; so the above examples can be optionally simplified to:-
0,0,1,1,1,1,2
0,0,1
Alternatively, the discard profile can be defined by an expression. The following variables can be used within the expression:-
The number of races sailed – s.
The number of races in the series – r.
The result is truncated (down) to a whole number and represents the number of discards to apply. This is useful for a long series. For example:-
s * 0.75
(s-1) * 0.8
s – 2
r / 4
If the expression evaluates to more than the number of races sailed (s) at any time, it is modified to equal the number of races sailed (s). If the expression evaluates to a negative result, then zero is assumed.
See the expression reference for details about the use of functions within Sailwave expressions.