Testnet demo. Test banks and test money only.

Contents and search

KredoFi docs

Scoring model

The five rules, bands, the income cap and the anti-farming rules, exactly as coded.

The rules are open source and deterministic: the same history always gives the same score. The score never depends on AI. Code: scorer/src/rules.rs.

#What is read

  • The last 6 full calendar months before the current month (in November: May to October).
  • Your checking account (or the first deposit account if there is none).
  • Money in each month (all incoming transactions), money out (all outgoing), fees (transactions named overdraft, NSF or returned) and the current balance.

#The five rules (1,000 points)

RulePointsHow
Income level40 to 250average monthly money in: $3,000 or more 250; $2,000 or more 180; $1,000 or more 100; less 40
Steady income0 to 250150 x (months with income out of 6), rounded down, plus 100 if the monthly amounts vary by 15% or less (coefficient of variation), 50 if 40% or less
On-time payments0 to 250250 minus 60 per overdraft, NSF or returned-payment fee, never below 0
Money left over0 to 150(money in minus money out) / money in: 30% or more 150; 10% or more 100; 0% or more 50; negative 0
Savings buffer0 to 100balance / average monthly spending: 3 months or more 100; 1 or more 60; 0.3 or more 30; less 0

#Bands

BandScoreCan borrowInterest per loan
A800 to 1,000100% of the level cap4%
B650 to 79975%6%
C500 to 64950%8%
Dbelow 500no loann/a

#Income cap

Half your average monthly money in, rounded down to a multiple of $50, at most $1,000. Your limit is never above it.

#Worked examples (from the tests)

BorrowerRulesScoreBandFirst limit
Riya: $4,000 every month, no fees, saves250 / 250 / 250 / 150 / 1001,000A$100
Sam: income in 4 of 6 months, 4 fees, spends more than he earns100 / 100 / 10 / 0 / 60270Dnone
Max: looks like Riya, never repays250 / 250 / 250 / 150 / 1001,000A$100

#Anti-farming rules

  • One bank identity, one borrower. A keyed fingerprint of the bank identity is stored with the score; a second account with the same fingerprint is refused.
  • Levels grow slowly. A repayment raises the level only after the minimum hold (half the term), on a loan of at least half the limit, at most once per loan term.
  • Limits start small ($100 at most) and the pool lends one borrower at most 10% of its value.
  • Scores expire after 30 days.
  • A default blocks the account for good, and its fingerprint stays taken.

#Testnet differences

The testnet scorer also accepts prepared sandbox borrowers, and it ties the shared sandbox login to your NEAR account before fingerprinting so every visitor can use the same test login. The mainnet scorer does neither. See Testnet vs mainnet.