Engineering Notes

How we build and test AI at Insidive.

Siril Yella, PhDCo-Founder & CTO

I’ve seen AI cite a real source for a claim it didn’t support. I’ve seen tests pass while the screen stayed empty. Here’s how those failures changed the way I build Insidive.

Checking AI claims

Does the source support the claim?

For weeks I kept fixing the same problem. I’d read about a competitor facing a particular pressure, then go through the sources and find no mention of it. I’d add a check. It would catch that case and miss the next one.

I went back to the instructions. I had asked the AI to name a specific cause, even when the research gave none. By the time I checked the answer on screen, later stages of the analysis had already quoted it.

I took that instruction out and moved the check to where the claim was written. A model from a different provider reads the cited lines together and judges whether the conclusion follows. Code checks that the quoted words exist and decides whether the claim passes. If it still fails after one rewrite, we flag it or leave it out. The rest of the analysis stays.

The check has a limit. A source can support a claim and still be wrong.

Every claim held to its source Whitepaper · Part 2 · PDF · 5 pages

Testing with coding agents

When passing tests miss what users see

One screen stayed empty through eight attempts to fix it. The coding agent kept reporting that the tests passed. They did. The code prepared the data correctly. The screen looked for it in the wrong place. We hadn’t tested the screen.

Now I write down what the person using the feature should see before the agent starts work. For a bug like this, I want a browser test that shows the failure first. After the fix, I want to see the screen both with data and without it.

A second agent reviews the change against the original plan. I’ve seen two agents agree because they both made the same assumption. That’s why I ask to see the test output myself.

When an agent says it’s done, I ask what the person using the product actually saw.

The shortest path to ‘done’ Whitepaper · Part 1 · PDF · 8 pages

For details on how we handle your data and who can access it, see Data & Security