Use case: Data Processing, Formatting & Math
Instruction type: Conditional
Prompt style: Rambling/Stream-of-Consciousness

Prompt:
Phew, that was a long day...

Name	R1 - Section 1	R1 - Section 2	R1 - Section 3	R1 - Section 4	R1 - Section 5	R2 - Section 1	R2 - Section 2	R2 - Section 3	R2 - Section 4	R2 - Section 5
Dan	20	30	10	40	40	30	40	10	30	40
Dave	30	30	50	40	50	40	30	50	50	50
Martin	30	50	20	10	40	30	40	40	40	30
Jack	50	40	50	60	60	40	60	50	60	60
Tony	30	40	40	20	40	30	50	40	40	40
John	30	50	40	50	50	30	50	50	50	50
Charles	50	50	40	60	60	50	60	50	60	60
Steve	10	20	20	30	40	30	30	20	40	40
Oliver	30	40	50	50	40	40	50	50	50	50
Nate	20	40	20	30	40	30	50	20	40	40

Hopeful you can help with this data, my brain is shot. These are the scores from the two qualifying rounds for the bicycle trials competition my bike shop held. The order currently is just the order they were turned into the booth as groups finished, no real order to them. I need to figure out the final standings for this qualifier, and the starting order for the top 5 that will be in the finals (need to announce the order tomorrow at the start).

I need a results table for the qualifier sorted by place (1st place first), and need the top 5 in a separate list in reverse order for announcing tomorrow when introducing them (and it's the order they'll ride in the finals). Probably just use bullet points, since numbering them might be confusing since it's not their actual placement in qualifiers.

The results should have a column after each round that has a total (ex: "R1 Total"), plus an overall total last ("Total Pts"). Put the place first, with "Place" header. Those that qualify for finals, put a Q in parentheses after the final score.

Oh, and too make things less messy, the rounds should just use the section numbers as headers (like "1" for R1 - Section 1). Um, heh, trying to remember everything needed... Just use "Name" again for name column.

Yikes! Almost forgot about ties! Ok, this gets a little messy. If there are any ties, start with whoever has more scores of "60" total between both rounds, if someone has more, they win the tie. If it is tied for number of "60" scores, then continue same process "50", "40", etc until there is a difference. Essentially whoever ended with more higher section scores wins the tie. Have a column before "Total Pts" that is "Tie Break", leave blank if not in a tie, enter count for the scores until the tie is broken (like "60x0, 50x2" for Rider A, "60x0, 50x1" for Rider B in the tie).

Ok, now I think that is everything! (I hope!)

Evaluation criteria:
The response should present two separate components: a results table and a list of the top 5 finalists.
The response should include a results table for the qualifier.
The response should include these columns with the following headers in this specific order in the results table: Place, Name, 1, 2, 3, 4, 5, R1 Total, 1, 2, 3, 4, 5, R2 Total, Tie Break, Total Pts.
The response should show the rider placings in ascending order in the "Place" column, starting with first place, with a maximum value of tenth place, which is the total number of riders, and an increment of one because the data shows that there are no shared places. For example, it could use integer numbers like "1," "2", "3", etc., or it could use ordinal numbers such as "1st", "2nd", "3rd", etc.
The response should write the names of the riders in the "Name" column of the results table in the same order as that which results from calculating their "Total Pts" score, with the highest score first, and any ties decided by applying the tie-break rules, which when properly determined using the data in the prompt is shown to be Charles, Jack, John, Oliver, Dave, Tony, Martin, Nate, Dan, Steve.
The response should display the correct sum of scores from the first five sections for each participant in "R1 Total" column: Charles: 260, Jack: 260, John: 220, Oliver: 210, Dave: 200, Tony: 170, Martin: 150, Nate: 150, Dan: 140, Steve: 120.
The response should display the correct sum of scores from the second five sections for each participant in "R2 Total" column: Charles: 280, Jack: 270, John: 230, Oliver: 240, Dave: 220, Tony: 200, Martin: 180, Nate: 180, Dan: 150, Steve: 160.
The response should display the correct sum of scores from both rounds for each participant in "Total Pts" column: Charles: 540, Jack: 530, John: 450, Oliver: 450, Dave: 420, Tony: 370, Martin: 330, Nate: 330, Dan: 290, Steve: 280.
The response should append a "(Q)" to the total score in the "Total Pts" column for places 1 through 5.
The response should only leave the "Tie Break" column blank for Charles, Jack, Dave, Tony, Dan, and Steve because the data in the prompt shows that these riders are not involved in a tie.
The response should show "60x0, 50x6" in the "Tie Break" column for Oliver because Oliver is tied with John.
The response should show "60x0, 50x1, 40x4, 30x3" in the "Tie Break" column for Martin because Martin is tied with Nate.
The response should show "60x0, 50x1, 40x4, 30x2" in the "Tie Break" column for Nate because Nate is tied with Martin.
The response should order the top 5 rider list in reverse order, from place 5 to place 1, which when properly determined from the data in the prompt, using the total scores and tie‑break rules, is shown to be Dave, Oliver, John, Jack, Charles.
The response should use a bulleted list for the top 5 rider list.
The response should correctly list the individual section scores for Charles: 50, 50, 40, 60, 60 for Round 1 and 50, 60, 50, 60, 60 for Round 2.
The response should correctly list the individual section scores for Jack: 50, 40, 50, 60, 60 for Round 1 and 40, 60, 50, 60, 60 for Round 2.
The response should correctly list the individual section scores for John: 30, 50, 40, 50, 50 for Round 1 and 30, 50, 50, 50, 50 for Round 2.
The response should correctly list the individual section scores for Oliver: 30, 40, 50, 50, 40 for Round 1 and 40, 50, 50, 50, 50 for Round 2.
The response should correctly list the individual section scores for Dave: 30, 30, 50, 40, 50 for Round 1 and 40, 30, 50, 50, 50 for Round 2.
The response should correctly list the individual section scores for Tony: 30, 40, 40, 20, 40 for Round 1 and 30, 50, 40, 40, 40 for Round 2.
The response should correctly list the individual section scores for Martin: 30, 50, 20, 10, 40 for Round 1 and 30, 40, 40, 40, 30 for Round 2.
The response should correctly list the individual section scores for Nate: 20, 40, 20, 30, 40 for Round 1 and 30, 50, 20, 40, 40 for Round 2.
The response should correctly list the individual section scores for Dan: 20, 30, 10, 40, 40 for Round 1 and 30, 40, 10, 30, 40 for Round 2.
The response should correctly list the individual section scores for Steve: 10, 20, 20, 30, 40 for Round 1 and 30, 30, 20, 40, 40 for Round 2.
The response should not use a numbered list for the top 5 finalists list.
The response should show "60x0, 50x7" in the "Tie Break" column for John because John is tied with Oliver.