Applied AI · Quality

Evaluate a code-review agent against business-rule failures

Measure confirmed findings, false positives and evidence quality.

Prepare diffs with known outcomes. Include a correct change, a worker using stale consent and a case where the available code is insufficient to decide. Have someone familiar with the business rule validate those cases.

Define the finding format. A rule identifier, source location, reproducible scenario and confidence level make the report easier to review. When uncertain, the agent should say what evidence is missing.

Compare results with and without a glossary or specification using the same diffs. Count real issues caught, unsupported alerts and findings with unusable locations or scenarios.

Before enabling automatic merge request comments, review a sample and confirm high-impact cases with tests. Reuse the examples to catch regressions when you change the model or the skill.

All articles

Portfolio assistant