This is a D&D.Sci scenario: a puzzle where players are given a dataset to analyze and an objective to pursue using information from that dataset.
You steel your nerves as the Mad Tyrant[1] peers at you from his throne. In theory, you have nothing to worry about: since the Ninety Degree Revolution last year, His Malevolence[2] has had his power sharply curtailed, and his bizarre and capricious behavior has shifted from homicidally vicious to merely annoying. So while everyone agrees he’s still getting the hang of this whole “Constitutional Despotism”[3] thing, and while he did drag you before him in irons when he heard a Data Scientist was traveling through his territory, you’re still reasonably confident you’ll be leaving with all your limbs attached (probably even to the same parts of your torso).
Your voice wavering only slightly, you politely inquire as to why you were summoned.
He tells you that he needs help with a scientific problem: he’s recently acquired several pet turtles (by picking at random from a nearby magic swamp), and wants to know how heavy each of them is, without putting his Precious Beasts[4] to the trouble of weighing them. To encourage you to bring your best, he will be penalizing you 10gp for each pound you overestimate by-
(An advisor with robes like noontime in summer rushes to the Tyrant’s side and whispers something urgent in his ear before scuttling away.)
-which will be deducted from the 2000gp stipend he will of course be awarding you for undertaking this task, because compelling unpaid labor from foreign nationals is no longer the done thing.
(The bright-robed advisor visibly sighs in relief.)
However, he snarls with a sudden ferocity, if you dare to insult his turtles by underestimating their weight, he will have you executed-
(An advisor with robes like the space between stars rushes to the Tyrant’s other side and whispers something urgent in his other ear before scuttling away.)
-that is, he’ll have you maimed-
(The Tyrant looks briefly to the dark-robed advisor, who shakes their head sadly.)
-lightly tortured-
(Another sad head-shake.)
-he’ll deduct 80gp-
(An encouraging gesture.)
-for each pound you underestimate by-
(An approving nod.)
-and he’ll also commission an unflattering portrait of you to hang in his throne room.
(The dark-robed advisor gives the Tyrant a big smile and two thumbs up.)
The meeting apparently having been concluded to his satisfaction, the guards see you out. Some time, some help, some adverse reactions to ambient magic[5], and several waterlogged sets of clothes later, you have a dataset representing a random sample[6] of the other turtles in that swamp. You also convince some palace officials to give reliable testimony on some characteristics of the Tyrant’s pets, though no-one is willing to provide any actual measurements[7].
What numbers will you give the Tyrant?
I’ll post an interactive you can use to test your choices, along with an explanation of how I generated the dataset, sometime on Monday 8th April Tuesday 9th April or Wednesday 10th April. I’m giving you nine days, but the task shouldn’t take more than an evening or two; use Excel, R, Python, Tiger Instincts, or whatever other tools you think are appropriate. Let me know in the comments if you have any questions about the scenario.
If you want to investigate collaboratively and/or call your choices in advance, feel free to do so in the comments; however, please use spoiler blocks or rot13 when sharing inferences/strategies/decisions, so people intending to fly solo can look for clarifications without being spoiled.
Notes:
- You may assume that you are wealthy and courageous enough to prioritize maximizing Expected Value, though the value you assign to providing honest estimates and to the possibility of being unflatteringly depicted is entirely up to you.)
- To provide an example of the scoring function: if you predict 10.1lb for a turtle which is actually 11.3lb, you'll be penalized 96gp; if you predict 13.7lb for that same turtle, you'll be penalized 24gp.
- ^
You checked, that’s his actual job title.
- ^
You checked, that’s his actual preferred term of address.
- ^
You checked, that’s the actual name of their new system of government: between this and the fact they’re voluntarily keeping him on the throne, you’re beginning to suspect this population deserves their ruler.
- ^
You can hear him enunciate the capital letters.
- ^
There’s so much thaumatic interference in the swamp, you wouldn’t be surprised if these creatures’ biology was completely uncorrelated with that of ordinary turtles.
- ^
Of course, you made sure to mark each turtle, to avoid counting it twice.
- ^
While gathering this information, you ask some courtiers how the Tyrant could determine the accuracy of your estimates. They reply that the Tyrant will simply weigh his turtles: while His Malevolence is too honorable to subject his turtles to measurement merely for the sake of satisfying his curiosity, he will absolutely do it in order to determine whether a suspicious outsider is impugning his pets. They don’t seem to see anything amiss with this logic; your suspicion that they deserve their ruler swiftly matures into a conviction.
>!Grey turtles have a much lower weight than most 3.9->7.9
Greyish green turtles have a lower weight then the green ones, though the ranges overlap. Lowest 13 highest 42.9
There is a big spike in the number of green turtles with a weight of 20.4
Suggests we are dealing with multiple distinct species.
The spike in green turtles with a weight of 20.4 all have 6 shell segments.
No green turtle with 6 shell segments has a weight other than 20.4.
Therefore Harold has a weight of 20.4
All gray turtles have fangs, and no other coloured turtles do. Means we can ignore this as any effect will be entirely contained in the colour.
There appears to be a slight increase in weight with the number of wrinkles, scars, shell segments, and miscellaneous abnormalities, though the rate of increase depends on shell colour, and to a lesser extent on nostril size.
Fitting a linear model explains just under 80 percent of the variation for grey turtles, and a little over 50 percent for the rest.
There is no obvious pattern to the deviations, and there is clearly a lot of randomness as a lot of identical turtles have widely differing weights.
My best estimate for the weights of the turtles based on the linear model is as follows:
Abigail 20.0
Bertrand 17.3
Chartreuse 22.8
Dontanien 19.2
Espera 16.5
Flint 6.8
Gunther 25.5
Harold 20.4
Irene 21.7
Jacqueline 18.6
If I wanted to maximise my income from the constitutional despot I should bump up the estimates a bit, however I don't need the money, and frankly my reputation as an honest scholar is worth more than a few gp. And who knows if enough people ignore perverse incentives like this he may stop offering them and become a less wrong constitutional despot? I can dream at least. As for the unflattering portrait, you can always judge someone by the quality of the pepole you have offended. Coming from him that is going to be seen as a compliment by the people that I care about, not an insult. So I will just give him my best estimates and move on.