@mattbrowndev Sure, but sometimes my tests have side effects, especially e2e tests.
I'm particularly cautious when I'm working on my interpreter: running its tests is pretty much arbitrary code which the LLM has just modified!
Wilfred Hughes
2 Comments
@wilfredh I would be impressed if you could turn that into something exploitable though
Matt Brown@mattbrowndev@mastodon.social
@mattbrowndev Fair point, although possibly my risk tolerance is low.
In my defence, I was writing filesystem functions for my standard library, and a bad test or a bad implementation could definitely cause problems!
LLM output really reminds me of epicycles sometimes.
'Sure, let me just add another factor to correct where the other planet is, preserving the structure that assumes everything goes round the earth.'
Wilfred Hughes
Shared words: LLM, sometimes, Sure, just
Score: 179.6
One interesting consequence of the rise of LLMs: there's more demand for tools that handle untrusted input.
Arbitrary HTML+JS can be safely run in a browser. Lean can check an arbitrary proof.
These work really well with an LLM that can be wrong, but sometimes gives exactly what you want. Are there other tools in this family?
I've had good results by prompting an LLM "review your changes" in the same session when I don't like the initial output.
I'm surprised this is effective: I would think it's redundant when you're running with a high effort setting.