The deal
What you’re paying, what it’s worth now, what it will be worth renovated, and whether the spread between those numbers survives the cost of the work and the cost of the money. If the deal doesn’t work on paper, nothing about your personal financial profile rescues it.
This is the opposite of consumer underwriting, where the borrower is the subject and the property is collateral.