Ask-the-Data retrieval eval — 68-question benchmark

LAPO Microfinance Bank · LeadInsight BI platform · updated 2026-07-12

The benchmark question set for LeadInsight's Ask-the-Data semantic retrieval (EmbeddingGemma + pgvector over the gold data dictionary). Ground truth is derived from the tables behind the published dashboards, phrased three ways — plain business language, banker jargon, and casual/vague wording. A question scores a hit when any accepted table ranks inside the retrieval window that fills the SQL prompt. Current scores (2026-07-12): hit@1 90% · hit@3 97% · hit@5 98.5% · MRR 0.938 · 0 misses in top-10 (from a 2026-07-11 baseline of 69% / 85% / 93% / 0.782 before description tuning).

Maintenance: when a new dashboard ships, add 2-3 questions for its tables and re-run the eval before and after any description change.

Loan portfolio & quality

#QuestionAccepted table(s)
1How many active loan customers do we have?ops_loan_portfolio
2What is our total principal outstanding?ops_loan_portfolio
3Show me the active loan book by branchops_loan_portfolio
4Which branches have the biggest loan portfolio?ops_loan_portfolio, ops_branch_summary
5What is our PAR30?ops_par_rollup
6Portfolio at risk by zoneops_par_rollup
7Which branches have the worst arrears?ops_par_rollup, ops_loan_portfolio
8How much of the portfolio is overdue more than 30 days?ops_par_rollup

Disbursement

#QuestionAccepted table(s)
9How much did we disburse last month?ops_loan_disbursement
10Loan disbursement by zone for 2026ops_loan_disbursement
11How many new loans were booked in June?ops_loan_disbursement
12Month on month disbursement trendops_loan_disbursement

Collections & expected repayment

#QuestionAccepted table(s)
13How much did we collect in repayments this month?ops_loan_repayment_events
14Collections by branch last weekops_loan_repayment_events
15What repayments actually came in yesterday?ops_loan_repayment_events
16How much repayment is due this month?ops_loan_expected_repayment, ops_loan_schedule_aging
17Expected collections for next weekops_loan_expected_repayment
18What is our collection rate?ops_loan_expected_repayment, ops_loan_repayment_events
19Cash flow forecast from loan repaymentsops_loan_expected_repayment
20Forward ageing of amounts falling dueops_loan_schedule_aging

Customer acquisition

#QuestionAccepted table(s)
21How many new clients did we onboard this month?ops_customer_onboarding, ops_customer_onboarding_summary
22Client acquisition trend by zoneops_customer_onboarding, ops_customer_onboarding_summary
23How many customers joined last quarter?ops_customer_onboarding

Savings & deposits

#QuestionAccepted table(s)
24Total savings balance by branchops_savings_listing, ops_deposit_class_summary
25List savings accounts with balances over 1 millionops_savings_listing
26How many savings accounts do we have?ops_savings_listing, ops_branch_summary, ops_deposit_class_summary
27Term deposit portfolio sizeops_td_mobilisation
28Show me all fixed deposits maturing this monthops_td_mobilisation
29Deposit mobilisation against targetops_deposit_mobilisation

Branches & org structure

#QuestionAccepted table(s)
30How many branches do we have?dim_branch, ops_branch_summary
31List all branches in Lagos zonedim_branch
32Branch performance summaryops_branch_summary

Targets & scorecards

#QuestionAccepted table(s)
33KPI scorecard for zonesops_kpi_scorecard
34Which RMs are hitting their targets?ops_cso_scorecard, ops_kpi_scorecard
35Account officer performance against budgetops_cso_scorecard
36What are the 2026 budget targets per zone?ops_budget_target
37Target versus actual for disbursementops_budget_target, ops_kpi_scorecard

Digital channels & cards

#QuestionAccepted table(s)
38Mobile app transaction volume this monthops_digital_channel_daily_summary, ops_digital_channel_postings
39Digital channel activity by branchops_digital_channel_daily_summary, ops_digital_channel_postings
40USSD versus mobile banking usageops_digital_channel_daily_summary, ops_digital_channel_postings, ops_channel_scorecard
41Digital channel scorecard by branchops_channel_scorecard
42How many ATM cards have we issued?ops_card_register
43POS terminals deployed by branchops_pos_terminal

Customer lifecycle & events

#QuestionAccepted table(s)
44Which customers closed their accounts this year?ops_closed_clients
45Customer age and gender distributionops_customer_demographics, ops_customer_profile_summary
46Loans that were fully paid off last monthops_loan_liquidation
47When did each delinquent client last make a payment?ops_loan_last_payment
48Group lending summaryops_group_summary

Finance & regulatory

#QuestionAccepted table(s)
49Show me the trial balance for Junefin_trial_balance, fin_trial_balance_asreported
50What was our profit last month?fin_trial_balance, fin_income_statement
51Total interest income year to datefin_trial_balance, fin_income_statement
52Balance sheet as at end of Junefin_balance_sheet, fin_trial_balance
53Operating expenses by GL accountfin_trial_balance
54Trial balance by branchfin_trial_balance_branch
55Has the June period been closed?fin_period_close_status
56CBN returns for savings and loansfin_cbn_saving_and_loan
57Loan loss provisioning per CBN ageing bucketsfin_cbn_loan_expected_ageing
58What is our total asset position?fin_balance_sheet, fin_trial_balance
59Income versus expenses trend over the last 6 monthsfin_trial_balance, fin_income_statement
60GL postings for a specific accountops_account_postings, fin_trial_balance_asreported

Cross-cutting / harder phrasings

#QuestionAccepted table(s)
61Who are our dormant savings customers?ops_savings_listing
62Number of clients per account officerops_loan_portfolio, ops_cso_scorecard
63Value of transactions passing through our channels dailyops_digital_channel_daily_summary, ops_digital_channel_postings
64Write-offs in the loan bookops_loan_writeoff, ops_loan_portfolio, ops_loan_schedule_aging
65Interest collected versus principal collectedops_loan_repayment_events
66Which loan products perform best?ops_loan_portfolio, ops_loan_disbursement
67Average loan size by productops_loan_disbursement, ops_loan_portfolio
68Overdue loans needing follow up todayops_loan_portfolio, ops_par_rollup, ops_loan_last_payment