어떤 정책 rule과 식이 적용됐는지 단계별로 보여줍니다.
단계 1입력
{
"wishRegion": "수도권",
"isRegulatedArea": true,
"houseOwnership": "무주택",
"isFirstTimeHomebuyer": true,
"isSoldExistingHouse": false,
"isRealDemand": false,
"lenderType": "은행",
"capital": 30000,
"householdAnnualIncome": 8000,
"interestRatePercent": 4.2,
"loanTermMonths": 360,
"existingLoans": []
}단계 21) 지역 분류 → 수도권_규제
classifyRegion({wishRegion, isRegulatedArea})
단계 32) LTV lookup → 70%
ltvRules priority order 매칭 — region+ownership+조건
{
"id": 1,
"priority": 1,
"region": "수도권_규제",
"houseOwnership": null,
"isSoldExistingHouse": null,
"isFirstTimeHomebuyer": true,
"isRealDemand": null,
"maxLtvPercent": 70,
"description": "수도권 규제: 생애최초 (조건 무관 우대)",
"effectiveFrom": "2025-01-01",
"effectiveTo": null
}단계 43) DSR 계산
40% + 스트레스 2.4% − 기존 0%
{
"standardDsrPercent": 40,
"stressDsrRatePercent": 2.4,
"existingLoansDsrPercent": 0,
"dsrLimit": 41754.16656603239
}단계 54) 예상가격 + 정책한도
expectedHousePrice = min(DSR, LTV, tentative cap) + 자본금
{
"expectedHousePrice": 71754.16656603239,
"policyLimit": 60000
}단계 65) min(DSR, LTV, policy) — bindingConstraint=dsr
{
"candidates": {
"dsr": 41754.16656603239,
"ltv": 69999.99999999999,
"policy": 60000
},
"limitingRule": "dsr"
}단계 7결과
{
"maxLoanAmount": 41754,
"bindingConstraint": "dsr"
}