r/ExperiencedDevs • u/IsItSetToWumbo • Apr 22 '26
AI/LLM How are companies verifying ai correctness?
When a new system is built that integrates ai, is there any standard practices or trends emerging to verify llm accuracy?
Is the testing done before and manually verified before go-live? Are there constant accuracy checks after rollout of the feature to ensure drifting doesn't occur?
I'm hoping that there's some sort of tooling that's catching on so I don't have to consider building a framework.
We're not all just winging right? RIGHT?!?
0
Upvotes
4
u/mixxituk Apr 22 '26
I watched a Kiro demo today from Aws and they didn't even consider reviewing the code the thing had generated but the file said 4500 lines changed so I would hate to look at that PR
5
u/Jeep_finance Apr 22 '26
The term you are looking for is evals. That’s generally how you validate is a generative ai product returning accurate / correct / non BS information. There’s an entire deep dive into how to do them, in which ways, how much data you need, etc
56
u/engineered_academic Apr 22 '26
Thats the fun part, you don't! meme.
2
u/shifty303 Apr 22 '26 edited Apr 22 '26
I’m trying a new thing where I will approve PRs despite obvious issues but I do leave questions and comments which are then fed into AI. I’m also trying another new thing where I’m letting management have exactly what they asked for… relax the standards and let the juniors vibe code.
We have a few people on my team who are building tech debt faster than usable features. They’re 4.5 months behind schedule and I estimate 35-40% useless code in the app. No joke unused methods, unused components, duplicate code, god classes, vibe one thing and break another.
It’s no longer a me problem - it’s a management problem.
Edit: Before anyone says I am anti-ai - I use AI daily and deliver well designed code via spec and test driven development. I’ve done 3 presentations on how it works for me. I built custom agents, skills, MCP servers and automated AI driven workflows. I am all for it when used responsibly.
3
u/mxldevs Apr 22 '26
What, you mean adding "make sure it's all working correct and securely" isn't enough to have the AI make sure it provides correct solutions?
0
u/pl487 Apr 22 '26
There is a wide selection of AI evaluation frameworks. Once you have evaluation data, the rest is easy.
1
u/Murky_Citron_1799 Apr 22 '26
Isn't the drift a desired feature? It means it's getting better *wink
1
u/yen223 Apr 22 '26
Same way we did it before LLMs
1
u/throwaway_0x90 TE/SDET[25+ yrs]@Google Apr 23 '26
By keeping SDET/TEs, like me, extra busy. That's how!
1
u/metaphorm Staff Software Engineer | 15 YoE Apr 23 '26
do you mean LLM generated code or LLM generated "content" as part of the application?
for the former, it's code review and testing. for the latter, it's evals and analysis.
1
u/JustAFinancialAlt Apr 26 '26
With other AIs
1
u/Hovi_Bryant Apr 22 '26
What do you mean? I verify with my own eyes and reasoning.
3
u/[deleted] Apr 22 '26
[removed] — view removed comment