Looking like I'll not have figured this out before the time limit despite the extra time, what I have so far:
I'm modeling this as follows, but haven't fully worked out and am getting complications/hard to explain dungeons that suggest that it might not be exactly correct
For the dungeon generation: dungeon generation seems to treat rooms 1-8 equally (room 9 is different and tends to have harder encounters). Encounters of the same types (and some related "themes") tend to be correlated. Scores in each tournament seem to be whole numbers from each judge and averaged between 3 or 4 judges; I am not sure if any tournaments are judged by 2 or 1, but if so they're relatively less common.
In theory, I'd like to plug in a preference model and a score model to a simulator and iterate to refine, but I'm not there yet, still working out plausible scores and preferences.
One possibility for the scores and preference order:
baseline average scores:
Nothing: 0; Goblins: 1.5 (1d2?); Whirling Blade Trap 3; Orcs 3; Hag 4; Boulder Trap 4.5; Clay Golem 6, Dragon 6?, Steel Golem 7.5 (edit: <--- numbers estimated with small, atypical samples (included many Nothing, which is problematic for reasons that become obvious with below edit))
With Goblins and Orcs being increased (doubled?) if following goblins/orcs/any trap? (edit - or golems?) (edit - looking now like it's probably anything but an empty room?)
Plus with the adventurers seemingly avoiding Orcs and Hags more than their difficulty warrants? (I found them to be relatively late in the preference order, then found that they were in practice lower in score, so am having to ad hoc adjust if I keep the assumption that the score contribution and prefrence order are related. 1.5 multiplier? 2x multiplier? fixed addition?) (I'm assuming a 1.5x multiplier atm since I initially had Hag avoided over anything but orcs, but found one dungeon that looks suspiciously like, but does not prove, Hag being chosen over Dragon (edit: see below for update)) (I suppose +2 would also work) (edit - it looks like the Orc difficulty increase for following a non-empty room only applies to adventurer preference if the current room is also Orcs - violating the assumption that preference is tied to expected difficulty. But for Goblins it seems the preference may indeed depend only on following a non-empty room, though in practice it doesn't matter much since it only affects order wrt WBT).
(edit - see update to preference order below)
Assuming the above is correct, and I'm pretty sure it isn't but hopefully has some relationship with reality, one strategy might be:
CHN/WON/BOD <---obsolete answer
where the idea is to use the encounters the adventurers avoid too much relative to their actual score contributions (Hag, Orcs) to herd the adventurers away from the Nothing rooms. One of the Orcs is left in after a Boulder Trap in the belief that will make it score higher than the hag. WBT is left in the preferred path to lead the adventurers along, don't immediately see a way to avoid this.
EV if above model is correct: 6+3+4.5+6+6=25.5
How I've gotten here (mainly used Claude and Claude-written code, including the analysis tool which is good for prototyping if you don't mind javascript):
edit: I've now read other people's comments; I did not notice any 1-point jump in scores (didn't check for it), not sure if i would have noticed if it is a judging difference as opposed to a strategy change? (wouldn't notice if just strategy change). Also I did not notice anything special about Steel Golems at the entrance vs. other spots, did not check for any change in distribution of 3 vs 4 judge tournaments, etc.
further analysis after the above:
I've looked at root mean square deviation of predictions from the data for the full dataset (full Bayes seems a bit intimidating to code atm even with AI help). From this it seems the preference order is (there remains a likely possibility for more complications I haven't checked):Nothing > Goblins (current encounter null or Nothing) > Goblins (otherwise) = Whirling Blade Trap > Boulder Trap = Clay Golem = Orcs (current encounter not Orcs) > Dragon > Steel Golem >= Orcs (current encounter Orcs) > Hag Nothing > Goblins (current encounter null or Nothing) > Goblins (otherwise) = Whirling Blade Trap > Boulder Trap > Clay Golem = Orcs (current encounter not Orcs) > Dragon > Orcs (current encounter Orcs) > Hag = Steel Golem
where I can't distinguish between Steel Golem being preferred or equal to Orcs with current encounter being Orcs.
Soo, if Orcs are avoided equally to a Boulder Trap if the current encounter is not Orcs, I need to improve the herding. But also it seems Orcs get doubled by many other encounter types? This could work:
CHN/OBN/WOD <---- current solution
Predicted value is now 6+6+3+6+6=27.
further edit: also refining the scores, getting probably nonsense (due to missing some dependcy of some stuff on something else, probably), but it's looking like maybe every encounter's score depends on whether the previous encounter was Nothing/null. Except traps/golems? Which would explain why Steel Golems are being reported as better in the first slot.
I'm also getting remarkably higher numbers for Hag compared with my earlier method. But I don't immediately see a way to profitably exploit this.
This is an entry in the 'Dungeons & Data Science' series, a set of puzzles where players are given a dataset to analyze and an objective to pursue using information from that dataset.
Complexity Rating: 3/5
STORY
The Dungeon Tournament is held regularly, calling dungeon creators from around the kingdom to create the most challenging dungeon for adventurers to battle through. The winner is crowned with glory (plus they receive a large dungeon-building grant, and are often hired to design labyrinths, pyramids, mazes, tombs, and many other dungeons).
The current competitors, however, have no conception of how to employ Data Science to optimize their dungeons! After gathering data on the past dungeons and how they were scored, you entered the tournament, confident in your victory and the attendant glory and improved career prospects. You planned a terrible dungeon, forcing adventurers through a deadly gauntlet of traps and ferocious monsters.
Unfortunately, managing the various monsters you need to stock a dungeon turned out to be more difficult than you expected.
Your dragons got into a fight that smashed one of your golems, and ended with one of the dragons leaving and flying away to sulk.
Your goblins have broken half of your traps while trying to play with them.
Your hag...hasn't done anything wrong exactly, but whenever you check in on her she cackles at you in a very unsettling way while muttering ominously at you[1].
You barely have enough encounters left to fill every room in your dungeon, much less to fill them with carefully-chosen challenging encounters. The adventuring teams that will be exploring your dungeon for the competition[2] pass by the disaster area around your workshop and snigger at you. All you can do is hope that clever use of the data can let you recover and avoid your dungeon being a complete disaster.
DATA & OBJECTIVES
You need to fill your dungeon with encounters. By convention, the competition dungeons must be laid out in a 3x3 grid as follows, with adventurers entering in the top left and working their way through to the treasure in the bottom right:
For example, you could choose to submit this arrangement:
OPTIONAL HARD MODE
You cannot stand these Goblins being around. They break everything. They steal everything. They smell awful. They constantly make terrible, terrible jokes.[3] And they aren't even all that big a threat to adventurers! Is there no way you could make do without them? Or at least make do with fewer of them?
To pursue this bonus objective, use fewer Goblins in your submission. Since you only have 9 encounters available to begin with, you will need to leave a room empty for each Goblins encounter you leave out.
You'd rather put up with these Goblins for a bit longer than embarrass yourself in the Dungeon Tournament, though: only leave them out if you think you can do that with minimal effect on your performance in the Tournament!
SCHEDULING & COMMENTS
Since we're in the holiday season, I expect many players (and also myself) to be busy, and so I'm leaving substantially more time for this scenario than usual so that anyone who is e.g. out for holidays can still have time to try it. I'll aim to post the ruleset and results on January 6th.
As usual, working together is allowed, but for the sake of anyone who wants to work alone, please spoiler parts of your answers that contain information or questions about the dataset. To spoiler answers on a PC, type a '>' followed by a '!' at the start of a line to open a spoiler block - to spoiler answers on mobile, type a ':::spoiler' at the start of a line and then a ':::' at the end to spoiler the line.
"The bane of the mountains, the princess's hand. The loyal protector all at her command. Her lovely, her darling, oh now where are you? Are you gone? Are you lost? No, you're boiled in a stew!"
At this point you made a hasty retreat, because you did not like the way the Hag was eyeing you while talking about boiling you in a stew.
Four different adventuring teams have signed up as judges to run this tournament's dungeons; thankfully, Dungeon Tournament officials will be healing your monsters and resetting your traps between adventuring teams, so you won't have to worry about that.
"My uncle Gobbo has no tongue!" "How does he talk?" "...Terrible! Ahahahaha!" And you don't even want to mention the one about the Mind Goblin.