National FIS Software : Competitors Sort

From SplitSecond
Revision as of 03:55, 24 April 2012 by CJT (talk | contribs) (→‎Only Random Sort Once!)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

Clicking on Sort will give a list of possible sort options; often with sub-options for ascending and descending. The list will vary, depending upon the settings on the header tab. The sort will apply to all competitors or the current block of competitors.



Under most situations, you won’t need to use the sort options. Whenever a report is generated, it will sort the competitors into the correct order.

If the order it creates is not correct, or you have a special situation that needs a particular order, you can achieve this as follows:

  1. In the Edit|Options menu uncheck the automatically sort when needed option. When this is unchecked, it will give a prompt any time it would normally sort, giving you the option to accept the default sort or not.
  2. Using the Sort options (with or without a block marked) and possibly the move option get the competitors into the order needed.
  3. Print the report. When it prompts to Sort? answer N.


NOTE: In the event of more than one competitor having the same value for a sort option, the original order is maintained. For example, if you sort by time and then sort by class, you'll end up with the competitors sorted by time within class. This can be very useful!

Random Sorting

Questions often come up regarding random sorting.

Only Random Sort Once!

Never sort until you like the result! If you were doing a double blind draw in a team captains meeting and the resulting start order happened to be the same as the original order on the board; or if all competitors from the same nation raced first, you wouldn't do the draw again, because that's a legitimate result of random sorting. The only time that you might want to 'adjust' the random draw would be for a Snowboard freestyle event to minimize a 'stacked' heat. [Halfpipe]

It's so quick and simple to do a random sort using the software, that it may become tempting to do it again if the result seems unusual or coincidental.

Resist! Only sort once and accept whatever you get!

Is it Truly Random?

Technically, no. It's "pseudo-random". But the argument can easily be made, that for this application, pseudo-random is random enough.

Websters Dictionary defines pseudo-random as:

being or involving entities (as numbers) that are selected by a definite computational process, but that satisfy one or more standard tests for statistical randomness


For those interested, here are the details on the random sorting process used by Split Second Software:

There's a random number generator built into the development environment used for making the software. This creates values between 0.0 and 1.0 and is based on a random seed.

The process has 2^31-1   (2,147,483,647) equally likely resulting values.

The process of calling a random number will repeat itself, but there are three reasons why this isn't that big of a deal (in this application):

  1. 2,147,483,647 is a LOT! For the application of ski racing if a random draw was done for 30 competitors and you had a race every day, it wouldn't start to repeat for about 200,000 years!
  2. You would never know when it started repeating, except if you compared it with all previous data.
  3. When the software starts, the seed is initialized based on the system clock (microseconds). So every time the software starts; you wouldn't know where in that sequence of 2,147,483,647 random numbers you would be!


The actual random sorting process is done by:

  1. Assigning one of the random numbers (between 0.0 and 1.0) to each competitor.
  2. Sorting the competitors based on the random numbers set.

Random Thoughts

Perhaps the act of writing a number on a ping pong ball creates a less random situation than a pseudo-random number?

True random numbers are supposedly rare (although, the number 6 might be one of them).

If you want official random numbers, you might consider buying this book, which contains 1 million random numbers, along with 25 pages explaining how they were produced. An interesting point is, you could start reading the book at any point and it would be equally interesting. If you like reading phone books, this might be even more fun!


click to enlarge


Perhaps the numbers in this book should be sorted, to help you find the one you want!


On a personal note:

Many years ago while at college, I wrote some software to calculate pi to tens of thousands of places. I forgot to put page numbers on the result when I printed it and then accidentally got the pages mixed up. The only page I knew was correct was the first page which started 3.14159..... After staring at the pages of seemingly random numbers, I concluded the process of calculating pi to this precision, although fun, was totally pointless.

Geoff Elder