whispervibecode.com · Questions & Answers

How do I know an AI-built quote calculator is using our margin rules correctly if I cannot read the code?

Approve the business mathematics before approving the calculator. A polished screen does not prove that discounts, costs, or profit margins are being calculated correctly.

Vibe Engineering by Tomasz Lelek emphasizes human-authored, executable specifications. For a non-developer, the practical starting point is a set of worked examples with expected answers, checked independently by whoever owns your pricing policy.

First, define your terms. Gross margin and markup are not interchangeable. State which costs belong in the calculation, whether tax is included, when rounding happens, and who may override the recommended price.

Create examples covering:
- A normal quote with no discount.
- A discounted quote near your minimum acceptable margin.
- Missing or zero costs.
- A refund or negative adjustment, if supported.
- A quote containing several items with different margins.

Ask the builder to turn those approved examples into repeatable checks. Do not let the AI both invent the expected answers and certify that its own calculation matches them.

Request a visible breakdown showing inputs, adjustments, and the resulting price. Invalid inputs should produce an explanation rather than a plausible-looking total.

Vibe Coding: The Future of Programming by Addy Osmani highlights the 70% problem: rapid implementation does not remove the harder work needed to finish reliably. Pricing policy verification belongs in that harder work.

Keep the tool advisory until the pricing owner signs off. After launch, rerun the approved examples whenever calculation rules change.

Category: Vibe Coding for Non-Developers

← All questions