3 ms·
This kind of stuff can be a great LLM benchmark as Opus basically screwed it up and created a monstrosity as solution on first try.
by eknkc 7mo ago
This kind of stuff can be a great LLM benchmark as Opus basically screwed it up and created a monstrosity as solution on first try.
- withinboredom 7mo agoInteresting! It did well for a first try. This was my prompt: Lets play elevator saga! Here's the initial implementation: { init: function(elevators, floors) { var elevator = elevators[0]; // Let's use the first elevator // Whenever the elevator is idle (has no more queued destinations) ... elevator.on("idle", function() { // let's go to all the floors (or did we forget one?) elevator.goToFloor(0); elevator.goToFloor(1); }); }, update: function(dt, elevators, floors) { // We normally don't need to do anything here } } and documentation attached in the PDF.