2 ms·
You also have to be a bit careful: “Fix the issues causing these warnings” Retrospectively fixing a test to be passing given the current code is a complex tas
by d1sxeyes 1y ago
You also have to be a bit careful:
“Fix the issues causing these warnings”
Retrospectively fixing a test to be passing given the current code is a complex task, instead, you can ask it to write a test that tests the intended behaviour, without needing to infer it.
“The argument passed is now wrong” - you’re asking the LLM to infer that there’s a problem somewhere else, and to find and fix it.
When you’re asking an LLM to do something, you have to be very explicit about what you want it to do.
- nxpnsv 1y agoExactly, I think the takeaway is that being careful when formulating a task is essential with LLMs. They make errors that wouldn’t be expected when asking the same from a person.