FDEInterviews logo
RAG & Agent System Design / 62
hardNewDatabricksSnowflakeGlean

Finance says one in five numbers from your text-to-SQL feature is wrong. Find which, and why, before they stop trusting all of them.

A query that errors is a bug. A query that runs and returns a plausible wrong number is a product teaching a finance team, one figure at a time, not to trust it. The diagnosis is a classification exercise, and the fix is almost never a better prompt.

Updated Sep 2026 · Grounded in real Forward Deployed Engineer interview loops and written to a senior-engineer editorial bar.

A query that errors is a bug. A query that runs and returns a plausible wrong number is a product teaching a finance team, one figure at a time, not to trust it. The diagnosis is a classification exercise, and the fix is almost never a better prompt.

20 answers per topic instead of 10, plus saved progress and bookmarks · no cardor unlock all 517 remaining answers · ₹2,000 / $25
UP NEXT ON YOUR JOURNEY
FEDITOR'S NOTE

Strong candidates refuse to touch the prompt until they have sorted the misses into classes, because the four common classes have four different fixes and only one of them lives in the model. The second thing being scored is whether they know that exact-match on SQL text is the wrong metric and that execution accuracy against a golden result set is the right one. Anyone who proposes 'add more examples to the prompt' as the first move has answered a different question.

DISCUSSION · 0

No comments yet — be the first to share your approach.