compare_borrowers
Score multiple loan applicants at once and rank them from most to least risky by default probability, so you can compare borrowers side by side.
Instructions
Score several applicants at once and rank them from most to least risky.
Use this to compare a batch of borrowers side by side. Each profile is scored exactly like score_borrower.
Args: profiles: two or more applicants to compare.
Returns {"ranked": [...]} sorted by default_probability descending. Each entry has: rank (1 = riskiest), index (position in the input list), default_probability, and risk_tier.
Educational model — not real lending advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profiles | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||