zlacker

[parent] [thread] 8 comments
1. muglug+(OP)[view] [source] 2025-05-19 16:43:48
> Copilot excels at low-to-medium complexity tasks

Oh cool!

> in well-tested codebases

Oh ok never mind

replies(3): >>abraha+65 >>throwa+fe >>lukeho+Nf
2. abraha+65[view] [source] 2025-05-19 17:07:09
>>muglug+(OP)
Have it write tests for everything and then you've got a well tested codebase.
replies(2): >>eikenb+bg >>daniel+nn
3. throwa+fe[view] [source] 2025-05-19 17:47:52
>>muglug+(OP)
In my experience it works well even without good testing, at least for greenfield projects. It just works best if there are already tests when creating updates and patches.
4. lukeho+Nf[view] [source] 2025-05-19 17:54:58
>>muglug+(OP)
As peer commenters have noted, coding agent can be really good at improving test coverage when needed.

But also as a slightly deeper observation - agentic coding tools really do benefit significantly from good test coverage. Tests are a way to “box in” the agent and allow it to check its work regularly. While they aren’t necessary for these tools to work, they can enable coding agents to accomplish a lot more on your behalf.

(I work on Copilot coding agent)

replies(1): >>CSMast+pk
◧◩
5. eikenb+bg[view] [source] [discussion] 2025-05-19 17:57:10
>>abraha+65
You forgot the /s
◧◩
6. CSMast+pk[view] [source] [discussion] 2025-05-19 18:18:23
>>lukeho+Nf
In my experience they write a lot of pointless tests that technically increase coverage while not actually adding much more value than a good type system/compiler would.

They also have a tendency to suppress errors instead of fixing them, especially when the right thing to do is throw an error on some edge case.

replies(1): >>shephe+3P
◧◩
7. daniel+nn[view] [source] [discussion] 2025-05-19 18:32:09
>>abraha+65
Caveat empor, I've seen some LLMs mock the living hell out of everything, to the point of not testing much of anything. Something to be aware of.
replies(1): >>yen223+zv
◧◩◪
8. yen223+zv[view] [source] [discussion] 2025-05-19 19:12:22
>>daniel+nn
I've seen too many human operators do that too. Definitely a problem to watch out for
◧◩◪
9. shephe+3P[view] [source] [discussion] 2025-05-19 21:04:37
>>CSMast+pk
You can tell the AI not to suppress errors
[go to top]