Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #485: Hot Dog Eating Contest Simulation

AYXAcademy
Alteryx
Alteryx

Full Width - WC banner.svg

Hi Community members,

 

A solution to last week’s challenge can be found here.

 

This challenge was submitted by Andrew Bacon, @abacon. Thank you, Andrew, for your submission!

 

As summer heats up — and with it, a season full of hot dog eating competitions across the US — it's time to host your own version... in Alteryx!

 

In this challenge, you’ll simulate a 3-round hot dog eating competition using an iterative macro.

 

You’re given a dataset of 12 contestants with the following info:

  • Name
  • Hot Dogs per Minute (HDPM) — their starting speed
  • Drop Rate per Minute — how much slower they get each round
  • Group — initial competition group (1, 2, or 3)

 

Each round, contestants eat hot dogs at their current HDPM. After each round, the contestant's HDPM drops based on their personal rate.

 

The rules for each round are as follows:

 

  • Round 1 – 10 Minutes: 3 groups of 4 contestants — top 2 from each group advance
  • Round 2 – 11 Minutes: 2 groups of 3 contestants — top 2 from each group advance
  • Round 3 – 12 Minutes: Final 4 compete — the top eater wins

 

Your tasks:

  • Identify the winner and report how many hot dogs they ate in the final round.
  • List all advancing contestants from each round, along with how many hot dogs they ate in that round.

 

Use an iterative macro to simulate each round and apply the performance drop over time.

 

Hint: Pay close attention to the number of contestants advancing after each round.

 

Once you have completed your challenge, include your solution file and a screenshot of your workflow as attachments to your comment.

 

Good Luck!

The Academy Team

 

Download Start File      |   Download Solution File

Kenda
16 - Nebula
16 - Nebula
Spoiler
image.png
Erin
11 - Bolide

Missed first to respond again, drats! Also, why did I do this on my lunch break? And nope, not craving a hot dog. 
Workflow:

Spoiler
485.jpg

Macro:

Spoiler
485macro.jpg
Carolyn
12 - Quasar
12 - Quasar

Lucky #3 (for order of responses)

 

Spoiler
2025-08-06 10_19_05-.png

For assigning the Groups for the 2nd Round, I had to do a little bit of hardcoding. It seems like they should have alternated the groups based on most hot dogs going to Group 1, then the next one going to Group 2, but it wasn't done exactly like that in the answer, with the top 2 going to Group 1, then the next 2 going to Group 2, then 1 to 1 then 1 to 2. Not a big deal but took me a little to get there :)

2025-08-06 10_19_29-Alteryx Designer x64 - Macro.yxmc.png
JBevan89
8 - Asteroid

I did it none handed by myself, but it is very raw and no way is it as efficient like others, but the goal was to do, and as it's summertime i'm happy it.  In a few days i will check others on how I could have done it more efficiently, but for now Happy Summertime😎

 

Spoiler
JB_C485.png

Spoiler
JB_C485_macro.png

 

olga_strubbe
11 - Bolide

This was a fun challenge and a  fun topic, thank you,  @abacon!  

Also want to thank @Kenda  for helping me to get started with the iterative macro to get groups of contestants re-sorted in a proper way. 

Spoiler
workflow pic.png

Macro: 

macro pic.png

RWvanLeeuwen
11 - Bolide

I went for a slightly different route as I did not understand who was to be placed in which group after the initial round. So I made some changes

Spoiler
In all grouping scenarios I generated, Joey was the winner in all of themIn all grouping scenarios I generated, Joey was the winner in all of them
RolandSchubert
16 - Nebula
16 - Nebula
Spoiler
485.jpg
mattnason1
9 - Comet

Tough one, I stink at macros!

lwolfie
11 - Bolide

Easier challenge, now that I have a better grasp on iterative macros. :)