Logiqx / wsw-tech

Technical tasks relating to Weymouth Speed Week
0 stars 0 forks source link

Implement and test shortened usernames for Motions #1

Closed Logiqx closed 1 year ago

Logiqx commented 1 year ago

Legacy usernames

GT-31 usernames such as GEORG30MICHA have been used since 2014.

Surname (5 characters max) + tally number (2 characters max) + forename (5 characters max) = 12 characters max

Usernames have sometimes been shorter than 12 characters - e.g. CARTR2BOB (Bob Cartridge) or KOHN9TRISH (Trish Kohn).

Proposed usernames

Since the Motion Mini is relatively small in size, it will be beneficial to use shortened usernames.

Surname (3 characters max) + tally number (2 characters max) + forename (3 characters max) = 8 characters max

e.g. CAR31DAN (Danny Cartridge), CAR32BOB (Bob Cartridge), CAR32MAR (Martin Carter), CAR33AMY (Amy Carter)

Rationale

  1. WSW 2022 will have similar styles of labelling on the GT-31 and Motion units
  2. Dyno labels will be small enough to be stuck to the back of the Motions, thus making them easily identifiable.
  3. Existing Python reporting code can be used for GT-31s and Motions with little or no modification.
  4. Some quick testing using past entrants data shows that these shortened names work very effectively.
    • Testing individual years from 2010 onwards results in only two people having the same 3+3 name components:
      • Emile Jan Burnaby Lautier and Emile Burnaby Lautier (father and son); i.e. BUR99EMI
    • Testing all years combined from 2010 onwards results in only two additional people having the same 3+3 name components:
      • John Langley and John Langdown; i.e. LAN99JOH
Logiqx commented 1 year ago

Task complete.

Auto-matching of GPS username (embedded in filename) to entrants now works without assuming 5 characters will be used.