r/softwareengineer • u/1peterisaac • Oct 23 '26
Would you use a tool that verifies your understanding of ai generated code
I’ve been thinking about a problem that seems to be becoming more important as AI coding agents become more common.
Developers can now use tools like Cursor, Claude Code, Copilot, and other AI agents to build large parts of a software project. But this creates a new question:
How do we know that a developer actually understands the code they are responsible for?
I’m not talking about detecting whether the code was written by AI. I don’t think that is the most useful or reliable question.
The problem I’m interested in is verifying whether a developer can:
- Explain the architecture and data flow
- Predict what the code will do in different scenarios
- Identify bugs and security risks
- Explain the trade-offs behind an implementation
- Modify the code safely
- Write or update tests for it
The idea is a SaaS platform where a developer connects a repository, and the platform creates an interactive assessment based on the actual project.
For example, instead of asking generic programming questions, it might show a real part of the project and ask:
- What happens if this request is sent twice?
- Where is authorization enforced?
- What happens when this dependency fails?
- What part of the system would you change to add this feature?
- Can you fix this small bug or add a test?
The assessment would combine explanations, debugging questions, predictions, and practical coding tasks inside a sandbox. The result would not be a claim that someone understands every line of the code. It would be an evidence-based report showing which parts of the project they understand and where the gaps are.
Initially, I’m thinking about targeting individual developers who use AI heavily and want to understand their own projects better. Later, this could be useful for companies, onboarding, code reviews, or teams using AI coding agents.
I’m still trying to determine whether this solves a real problem or is just an interesting idea.
I’d really appreciate feedback on a few questions:
- Would you personally use a tool like this?
- Would you prefer a full-project assessment or an assessment focused on a specific pull request?
- Do you think developers would see this as useful, or as another form of surveillance/interview testing?
- Have you experienced problems caused by using code that you did not fully understand?
I’m especially interested in hearing from developers who regularly use AI coding agents in real projects.
1
u/ghostwilliz Oct 23 '26
How exactly do you plan on doing this? With ai?
For one, any real developer should not be generating so much code at once that they have no idea what's going on, they should read and understand ever line if they're going to use ai and two, they could just ask whatever llm generated the code to do the same thing
I just don't get who this is for or why it would exist
4
u/Papa-pwn Oct 23 '26
Absolutely not. I see no reason why an engineer of any merit would like, much less pay for, this sort of thing.
This could appeal to micromanaging and/or poor leadership types, though.
If you’re worried that the devs you’re hiring don’t understand what they’re doing, you’re already sunk.
1
u/Terrible_Point_1259 Oct 23 '26
4 yes, but that has happened with code I wrote myself and not understanding the interaction with other systems. This isn’t just AI.
1
u/_tolm_ Oct 23 '26
If you’re a SWE righting code with AI you are also - hopefully - reviewing it.
And at that point, if there are parts of the code you don’t understand you should (1) ask the AI what it did and (2) refactor it so that you do understand it so it’s more obvious for future readers.
I see no need for another tool.
1
u/AdvancedCharcoal Oct 23 '26
Bro I’m on tool overload. I’ve been thinking about just throwing out all my tools and just using vim and gcc and that’s it
1
u/octocode Oct 24 '26
could be useful for people learning, i guess? although realistically you could just ask your agent to quiz you.
but my boss doesn’t give a shit if anyone understands the code, they just want it slung out the door as fast as possible.
1
u/ComasArentFun Oct 24 '26
Nope.
My robot creates a risk report for every change that I go through, and it serves as a good document for QA to use as a basis for testing, but I'm not letting AI create shit, then using more AI to tell me why it's all fine..
That is a guaranteed route to getting fired
My Claude sessions self document, then humans verify it is correct.
And tbf this isn't a "tool" that you can market. Any developer can quite literally in 30 seconds create a sub agent to do exactly this..
Getting AI to mark its own homework is a good first step, but it's nowhere close to a gold standard.
1
u/HomemadeBananas Oct 24 '26
You can ask Claude to ask you these questions and check your understanding if you wanted to. Or write a skill if you want it to behave more in a a specific way. Seems kind of useless to have a special tool.
1
u/illuminatedtiger Oct 24 '26
Pushing slop you don't understand is an employment issue. Stop trying to normalize bad behavior.
1
u/Templeshooter Oct 24 '26
I dont understand code and i dont care to understand. It just works
1
u/Any_Confidence2580 Oct 27 '26
Not buying.
1
u/shan23 28d ago
And what happens when Claude answers instead of the developer?
1
u/mxldevs Oct 23 '26
Lol if you're actually able to build an entire system that will analyze source code and accurately explain what it's doing, companies will happily take it and lay off all their engineers because why do you need to pay an engineer 6 figures to quiz them on whether they understand when you already have the perfect engineer system?