r/adventofcode • u/jD91mZM2 • Dec 08 '17
[Question] Why does the difficulty vary so much?
I kind of expected this to get more difficult and difficult, but it feels like it's varying a lot. Both parts of Day 3 was pain. Day 7 - Part 2 was maybe even more difficult (mostly because the question was hard to understand). But the most other questions were fine, and both parts of Day 8 were really easy.
Why is this? Is it intentional? Is it only me?
22
Upvotes
175
u/topaz2078 (AoC creator) Dec 08 '17
I don't usually speak openly about this kind of thing, but enough people have assembled enough pieces of the design process that it's probably safe to discuss it a little.
The short answer is that making puzzles is hard. The long answer is subtle and complex:
I have the betatesters rate the puzzles in difficulty and I use that information (along with whether the puzzle falls on a weekend, whether the puzzle is close to other puzzles that require a similar skillset, whether the puzzle needs to come early because it's a precursor to a later puzzle, whether there are too many hard/easy puzzles in a row, what point in the month it is, etc etc etc etc etc) to decide the puzzle order. It's not meant to be a perfect monotonically increasing sequence.
Plus, it's hard to predict how people will handle the puzzles; I try to enforce a minimum amount of adjacency-variety to counteract this. The same puzzle has been rated both "easy" and "hard" by different betatesters with different backgrounds. A single puzzle doesn't have one true "difficulty" score. Even things like average leaderboard times aren't a good measure - that just tells you how long the fastest super-competitive people took (and thus suffers very severely from survivorship bias), but totally ignores (for example) the amount of work beginners would have to put into a similar problem.
Day 3 was a good example of this - people who wrote "a for loop that walks in a spiral" found part 2 very easy, while people who "did some math to find the answer" were forced to take a totally different approach for part 2. Day 7 isn't an intrinsically hard problem; most people have an intuitive understanding of "balance" as it applies to the physical world. However, day 7 was the first problem that seriously expected a recursive solution, and recursion is one of the major hurdles for beginning and even intermediate programmers.
Day 8 was really easy for you; it was also easy for many other people, but not as easy as many of the earlier days. It was also quite challenging for some people. It introduced somewhat more persnickety string parsing and (as many people have already observed) introduces some fundamentals of virtual machine design. If you found it easy, that's good - it could mean that it was a breather puzzle and tomorrow's will be tricky again, or it could mean that it's a precursor and you're on track to handle a more complex version of the puzzle in a few days, or it could mean you just have an above-average grasp of the concepts presented in the puzzle, or it could mean that I meant for it to be harder and totally misjudged the difficulty, or any number of other things. (At this point in the event, I won't tell which it is.)
Advent of Code tries to be a lot of things to a lot of people, and so not every puzzle will be just beyond your skill level or fit just on the edge of your wheelhouse. If you'd like those things to be true, I encourage you to come up with new variations on the solutions (faster solver, new algorithm, weird solution, etc) or new variations on the puzzle itself (what if there is no number 5? etc). If you do this, please post it to the subreddit so that other people can enjoy and learn from your work.
Anyway, it might be intentional, it might be you, and making puzzles is hard.
14
u/jeroenheijmans Dec 08 '17
A little while before your post someone posted a link to the time it takes for the leaderboard to fill up, which is probably a somewhat decent indicator of how tough challenges are. Or at least how much variation there is within a year.
The trend from past two years suggests:
Only time will tell if the trend this year will be the same...
9
u/Xerg Dec 08 '17
My son has a Hot Wheels advent calendar this year. Some days he gets a new car. Some days he gets a sticker. Every day we get to code!
5
u/jwoLondon Dec 08 '17
Maybe when we look back on December 25th, these week 1 puzzles will all seem equivalently easy in comparison to what follows :)
There has always been some noise in the difficulty curve and Eric has said that he does take weekend/weekday into account when setting the difficulty level (hence Day 3). I agree that Day 7 pt 2 was harder than the other weekday ones so far, but it does provide a good foundation for what I imagine will be harder graph-searching problems later on.
BTW, I did some analysis on difficulty in the last two years which suggests the last week will be harder than what we usually see in the first week.
5
u/CKoenig Dec 08 '17
I think it depends on you background - both Day 7 and Day 8 are harder when it comes to parsing the input
Part 2 of Day 7 was really not that hard if you ever wrote simple recursive algorithms for tree-like structures before ... if not it was probably quite tough
And I think Day 8 will probably prepare us for more "interpreter" stuff along the way
5
u/mmaruseacph2 Dec 08 '17
Real life also doesn't come with an increase in difficulty as you age.
If the puzzle for one day is easy I share that fact on Facebook,etc and get more people joining the game. If the puzzle is hard, I also share that fact and get a different set of people to participate. And I learn a lot.
5
u/WebDevLearning Dec 08 '17 edited Dec 08 '17
I for one really enjoy the pacing.
This is personally my first AoC and initially, when I saw the first puzzle I thought this was one of those things where the first 3 problems or so would be really easy and then it would ramp up rather quickly in difficulty ending in nightmare problems, I was very delighted when I realized this wasn't the case.
Now I have a reason to return every day and check the problem (I even did day 3 by paper and pen, a first for me ever when it comes to programming) and decide if it is something I can do.
Overall I am very happy. My goal was to have fun, make my GitHub a bit chubbier and practice my Lua skills and I feel I am doing all of those.
2
u/Cole_from_SE Dec 08 '17
Let's not forget that differing backgrounds also entail differing tools. Python (and I'm sure other languages akin to it) would've been really helpful in the eighth challenge because of syntactic sugar that lends itself well to writing short code for it (and also in general). For the first challenge, the solution is just a few characters in J (not that most people would use it, but I still think it illustrates my point).
Not to mention that one of the problems was solvable using OEIS, another using GraphVis (or whatever it's called). Some have been pretty trivially solvable using just text editors (or heavily aided by them). I've seen a lot of creative fast solutions.
Your particular set of tools might be well-aligned with the challenges, or you might be well-versed enough to know how to use different, useful tools.
1
u/Iain_M_Norman Dec 12 '17
Could it be related to this? http://teknohippy.net/junk/doubt.png