logoalt Hacker News

9devyesterday at 3:51 PM1 replyview on HN

I'm way too afraid of a "paperclip problem"-style target overfitting to use it really; how could I even describe a goal so well it doesn't sacrifice other things that are important to me? Like, if my goal is to make an endpoint faster, will it create an over-engineered mess out of the clearly readable code I have to reach that goal?


Replies

mh-yesterday at 7:50 PM

  /goal open a draft PR that makes <endpoint> ~200ms faster while still passing tests, and adhering to nearby style+pattern
It's obviously not perfect, but it's not like you're going to YOLO it into prod without evaluating it on whatever you care about.

If you want to be able to use it like that, you need to find a way to encode (most of) your concerns into something that can be programmatically verified.

show 1 reply