google-code-export / owlcms

Automatically exported from code.google.com/p/owlcms
2 stars 0 forks source link

If no session is selected, start numbers are incorrectly assigned to all sessions. #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Generated start numbers are given in order of athletes on the start sheet.
Start numbers should be assigned in order of lot number

IWF Rules state as follows

Regulation 6.4
20
Upon the completion of weigh-in, the athlete is assigned an athlete start 
number. The athlete with the lowest lot number is assigned the start number of 
1; from there, all athletes in sequence of lot number are assigned start 
numbers in numerical order. 
When more bodyweight categories are contested in one competition, in the 
allocation of start numbers the progression of lot numbers is considered 
category by category, with the lower category to be taken before the higher 
categories.

Regulation 3.3.5
start numbers range from 1 to 18, as required 
new start numbers are issued for each group

Original issue reported on code.google.com by brock.pe...@gmail.com on 19 Mar 2013 at 5:27

Attachments:

GoogleCodeExporter commented 9 years ago
During a competition, you would normally select the current session using the 
drop down. Assigning start numbers only makes sense for a given session, after 
weigh-in. 

So you need to select the session first, prior to printing out the session's 
starting weights, or prior to assigning start numbers.

However, I will add a check that a session has indeed been selected in the drop 
down prior to generating the start numbers (I will disable the buttons)

It is indeed the case that for a given session the start numbers will match the 
order on the weigh-in list (btw, the start sheet is not, according to iwf 
wording, the sheet with the starting weights -- just to make things more 
confusing)

Original comment by lamyjeanfrancois on 19 Mar 2013 at 11:31

GoogleCodeExporter commented 9 years ago
Oups.  My Bad. code for buttons reads :
final List<Lifter> list = allLifters(false);

allLifters, as name implies, is not the list of lifters for current session.

will fix RFN.

Original comment by lamyjeanfrancois on 19 Mar 2013 at 11:39

GoogleCodeExporter commented 9 years ago
Reworded the summary.

Original comment by lamyjeanfrancois on 19 Mar 2013 at 2:00

GoogleCodeExporter commented 9 years ago
Actually, was occurring for spreadsheet too.

Original comment by lamyjeanfrancois on 19 Mar 2013 at 2:00

GoogleCodeExporter commented 9 years ago

Original comment by lamyjeanfrancois on 19 Mar 2013 at 2:03