My decision to repair or replace is based on the cost of parts, whether repair is feasible (often meaning, by me), my impression of how good the article is, and the cost of a new one. Two examples:
I junked a dishwasher of a non standard brand, of an unknown age - but seemed quite old, that...