Have all that closed loop before anything makes it to a pull request that a human sees.
Add an agent to write unit tests for all impacted modules, etc.
Essentially coding is just coding, something has to also do the software engineering.
11–20 of 59 posts
Have all that closed loop before anything makes it to a pull request that a human sees.
Add an agent to write unit tests for all impacted modules, etc.
Essentially coding is just coding, something has to also do the software engineering.
For ML driven code development, I find it works best when I used it to make pure functions where I know exactly what I expect to go in and out of the function, and the LLM can simultaneously write the tests for it to ensure that it works. LLMs do not plan like humans, even when finetuned they seem to have difficulty being integrative with knowledge beyond pattern matching.
That being said, 90% of coding is pattern matching to something someone made already. And as long as I'm writing pure functions and providing suitably adequate context for what the model needs to produce, LLMs seem to work wonders. My rule of thumb is to spend 10-20 minutes specifying exactly what I need in the prompt, and then tuning that if I fail to get the expected result.
I think eventually AI agents will really take off but not sure if anything works well there yet.
How does AI making breaking changes or not following established patterns differ from human developers (possibly novices) doing the same?
Which safeguards do you have against human developers randomly copying code from StackOverflow, and why aren't they enough against developers using AI-generated code?
I love coding with AI. It has made me 100x more productive. I am able to work on my distributed event processing backend in Rust, then switch to my mobile app in Swift, then switch to my embedded device prototype and write a UART driver for a GPS module under ESP32.
I’ve been programming for many years but this level of productivity would have been unimaginable to me without AI.
It sounds like you're not training it with your existing code base, and that you're running it with relatively small contexts. Have you done any custom LLM training on your code base, and what model are you using?