r/adventofcode • u/loop_overflow • 11d ago
Other Web search Vs model ask
Well, I was just thinking that most of last year's, during AoC it was expected some web search and investigation trying to find some algorithms and formulas...
Nowadays,with AI, this search became obsolete, by default, browsers throw you AI answers, so I was wondering what is considered AI assisted, "cheating" or who knows how to call it, if you use agents in ask mode asking questions knowing exactly what you are looking for instead of doing classic Google search
42
u/ParanoidSuricata 11d ago
I'd say that you shouldn't send automated traffic to AoC servers. IIRC you also shouldn't share puzzle inputs.
In this day and age, it's up to you to decide how to approach this. I think it's a great opportunity to practice coding by hand and I'm taking it with no AI support.
9
u/Suspicious_Tax8577 11d ago
This. I know I'll never be one of these people who can start the puzzle midnight Eric Standard Time, and have it done in 5 minutes. I will continue to do this years set of puzzles whilst clinging to the geeks for geeks list of DSA algorithms and use it like a dictionary to find the one that fits, and then fall down a bit of a rabbit hole to find out *why* it's this one.
Plus ugly crying every time I know it's a regex puzzle, and I'm trying to do it the naive way so I don't have to do regex.
2
u/RazarTuk 2d ago
I will continue to do this years set of puzzles whilst clinging to the geeks for geeks list of DSA algorithms and use it like a dictionary to find the one that fits
By the way, if you want a snazzy algorithm that isn't on the list, I know a cool one for pathfinding that can even adapt to new walls
1
u/Suspicious_Tax8577 2d ago
flipping heck, don't give Eric ideas!!
I'm still fumin over 2025 Day 12.
2
u/RazarTuk 2d ago
I'm thinking of 2024 Day 18, where you added walls in a specific order and had to find the first one that blocks off the exit. I actually discovered LPA* because of it, which is a fancier version of Dijkstra that adds some metadata, so it only has to update things beyond the wall, as opposed to calculating from scratch each time
7
u/Ok_Manufacturer_8213 11d ago
I usually try to solve the puzzles without google or AI help. Most of the time I make it like halfway through before I start getting too dumb to come up with a solution in the limited time I have available, but I rather have it that way
6
u/oantolin 11d ago
I disagree that participants were expected to search the web for algorithms. I'd say instead that difference people in diferent ways and that's fine! Some people prefer figuring stuff out on their own, other people prefer searching the web. Probably the only thing that's expected is that people have fun.
6
u/ailaG 10d ago
AI doesn't just search for you, it also reasons for you. If you can focus your questions well enough that reasoning doesn't help then sure, but something like "an algorithm for X doesn't exist. Are you trying to do Y? Here's how you do Y" would be a shortcut you didn't intend and now can't unsee.
So it depends imho on how you use it, and either way make sure you don't subscribe to leaderboards where this is not explicitly allowed - if everyone expects everyone to google things and you search through AI that breaks common assumptions and therefore should be considered cheating.
I don't think using an AI on its own should be considered cheating, just a shortcut that may skip through a bit too much. As long as you don't bypass others in private or global boards with it.
But it IS a shortcut, even if unintended to be as such.
4
3
u/careyi4 11d ago
It’s up to you whatever you do and are trying to get out of doing it. Giving the problem to an agent and having it spit out answers is probably not doing much for you. Explaining your thoughts and using it as a tool to try shape them, similar to googling random notions you might have to see if there is some prior art that might help you is probably still going to teach you something. Doing it all yourself from first principles, while noble, isn’t the only “real” way to do it either.
3
u/Peter11244 11d ago
As said elsewhere, having fun and learning should be the main thing.
Personally, I don't come from a CS background, therefore often there will be an optimisation or algorithm that's crucial, that I simply don't know. That means either way I'd need support to complete the puzzles.
One fantastic thing about using an AI is you can update your CLAUDE.MD or similar to not given you the answers, mine starts with hints, never edits the code on my behalf. It's allowed me to unlock some puzzles I had really struggled with in the past.
It's important to decide where you draw the line, as I'm getting better I feel I'm using it less as topics recur. There have also been points where I could have debugged something myself (off by one error) and the AI has basically told me that's the problem.
25
u/wigitty 11d ago
I would say even before AI, googling seems against the spirit of the game to me. I would always try to solve it myself first, then if it was a particularly fun challenge I'd try to optimise my solution, then google to see what I could have improved. Googling right of the bat and finding an algorithm to use just seems less fun to me.
Ultimately, it's up to you how much you want to use AI, and where you draw the line though.
I will also leave this from last year's about page: