Skip to content

Updated

Credit and risk data: test protocol

Do the vendor's risk scores rank our accounts in the order that later defaults, late payments or failures happen?

Covers Credit & Risk Data. This kit has not yet been piloted by outside teams or reviewed by a sales-ops practitioner. Treat it as a starting point and tell us what to change.

What one test record is

One account with a score as of a past date, and what happened to it afterwards.

How you know the right answer

  • The outcome is yours: late payment of more than a number of days, default, insolvency or write-off within a window you fix in advance.
  • Use a past date. The vendor scores accounts as they stood on that date, without knowing what happened.

What to measure

Measures for credit and risk data
MeasureWhat it countsArithmetic
CoverageAccounts for which the vendor returns a score.scored accounts / accounts sent
Rank ordering (AUC)The chance that an account that failed was given a worse score than one that did not. 0.5 is a coin flip, 1 is perfect.(sum of ranks of failed accounts - d(d + 1)/2) / (d x (n - d)), with ranks from 1 for the lowest risk score, d = failed accounts, n = scored accounts
Bad rate by score bandShare of accounts that failed in each band (for example the riskiest tenth). It should rise steadily with the score.failed in band / accounts in band
Capture in the riskiest bandShare of all failures that sit in the riskiest tenth of scores.failures in the riskiest tenth / all failures
StabilityScore movement over a quiet period. A score that jumps for no reason cannot be used for limits.accounts whose band changed with no event / accounts scored twice
Event lagDays between a public event (a filing, a court notice) and the score reacting.median of (score change date - event date)
Coverage by country and sizeCoverage and rank ordering for each country and size band you serve.the rates above, per stratum

If you use the vendor's API, also log these for every call: success rate, response time, rate-limit behaviour, cost per usable result. The API log template is on the kit page.

How many records

For a rate, the number of records for a margin of error E at 95 percent confidence is n = 1.96^2 x p x (1 - p) / E^2, rounded up, where p is the rate you expect. The planning rates below are examples to size the test, not claims about any vendor.

Records needed, credit and risk data
What you measurePlanning rate pMargin of errorRecords to test
Coverage (no idea what to expect)50%plus or minus 5%385
50%plus or minus 3%1,068

Coverage (no idea what to expect): 0.5 gives the largest sample, so it is safe when you have no prior.

Rare outcomes need records, not just accounts: to expect a number of events at a rate r you need events / r records.

Records needed to see a number of events
CaseEvents to expectRecords to test
Failures you need to see (2 in 100 accounts fail inside the window)502,500
1005,000
20010,000

The general table, the finite population correction and the arithmetic for comparing two vendors are on the kit page. If your whole list is small, the finite population correction lowers the number: n_adjusted = n / (1 + (n - 1) / N), where N is the size of the list you draw from.

Build a fair sample

  • Take accounts from a past date, with enough time since then for outcomes to show. Use the same date and window for every vendor.
  • Oversample nothing silently. If you add extra failed accounts to get enough events, say so and weight them back before you report a failure rate.
  • Send the vendor the account list and the as-of date. Never send outcomes.
  • Draw from your own market. The population is the accounts or people you would really buy data for, not a list the vendor chose.
  • Keep it away from the vendor. A held-out list is one the vendor has not seen: not in your CRM if the vendor feeds it, not sent in an earlier trial, not enriched by anyone before. If you cannot be sure, say so in the results.
  • Make it random. Sort a copy of the list by a random number column and take the top rows; never take the first rows of a file or the accounts a rep suggests.
  • Stratify. Split the list into the segments you care about (country, size, seniority, category) and draw a fixed number from each, so small segments are measured too. Report each segment on its own; if you want one overall figure, weight each segment back to its share of your market.
  • Keep the same records for every vendor. Different samples add noise that looks like a difference between vendors.
  • Keep the truth to yourself. The vendor gets identifiers only. Where you can, add a few dozen records whose right answer you know for certain.

Strata to split by for this protocol

  • Country
  • Size band
  • Industry
  • Vintage (when the account was opened)

Score it

  1. Count failures first. With few failures, every figure has a wide interval.
  2. Compute AUC, the bad rate by band and the capture in the riskiest band. Compare vendors on the same accounts.
  3. Check that the vendor's score on the as-of date was in fact produced then: ask for the score history, not today's score for that account.
  4. Count each record once per vendor and metric. Leave a cell blank when you did not check it; do not guess.
  5. Rate = records right / records checked. Report it with an interval (see the margin of error above, or the Wilson interval for rates near 0 or 1), per segment and overall.
  6. Set the pass mark before you look. A result passes when the whole interval is on the right side of it, not just the single figure.
  7. Add cost: divide what you would pay by the number of usable results to get a cost per usable record, since a cheaper vendor that returns less is not cheaper.

Compare two vendors

Run both vendors on the same records, then use the paired test on the records where only one was right. If each vendor got a different sample, use the two-proportion test. Both are explained with worked numbers on the kit page, and the comparison sheet does the arithmetic row by row.

Pitfalls

  • Asking for today's score and comparing with last year's outcomes. The score would already know what happened.
  • Too few failures. Count them before you start.
  • Judging on accounts you already declined. Their outcomes are unknown.
  • Treating a score band as a probability without checking the bad rate in each band.
  • Vendor-picked samples. A free sample, a demo list or a trial the vendor sets up is chosen to look good. Use your own list, drawn at random.
  • Enriching your own CRM records. If the vendor already supplied your CRM, or you enriched those accounts before, it holds them, and the match rate is flattered. Use records it has not seen.
  • Too few records. A result from 50 records has a margin of error of about 14 points at 95 percent. Work out the sample size first.

More on the kit page.

CSV templates

Credit and risk data: accounts to send the vendor

The only file the vendor sees: accounts and the as-of date. No outcomes.

Columns of credit-sample.csv
ColumnWhat goes in itExample row 1Example row 2
account_idYour own id for the account.B001B002
company_nameCompany name.Example Widgets LtdSample Freight GmbH
registry_numberRegistry number where you have one.00000001HRB 000000
countryCountry.United KingdomGermany
as_of_dateThe past date the vendor must score as of, YYYY-MM-DD.2025-06-302025-06-30
segmentYour stratum.smb-ukmid-market-dach

The example rows are made up. The file has a header and these two rows.

credit-sample.csv

Credit and risk data: scoring sheet

One row per account per vendor. The outcome columns are yours alone.

Columns of credit-results.csv
ColumnWhat goes in itExample row 1Example row 2
account_idSame id as in the sample file.B001B002
vendorVendor label, for example vendor_a.vendor_avendor_a
segmentYour stratum.smb-ukmid-market-dach
scoredyes if the vendor returned a score.yesyes
risk_scoreThe vendor's score as of the date. State in your notes whether higher means riskier.720310
score_dateDate the vendor says the score was produced, YYYY-MM-DD.2025-06-302025-06-30
failed_in_windowyes or no: the failure you fixed in advance happened inside the window.noyes
failure_dateDate of the failure, if any, YYYY-MM-DD.(blank)2025-11-14
score_change_dateDate the score reacted to the event, if you tracked it.(blank)2025-11-30

The example rows are made up. The file has a header and these two rows.

credit-results.csv

Before you test

Shortlist the vendors first with the shortlist builder, which can also write a due-diligence questionnaire for the top matches. Then see the whole kit.

Kit text last checked on . Data is updated continuously and may not be the latest. Each provider and fact shows the date it was last checked.