Repair or Replace: How to Make the Right Call