[IMP] auction, mrp_repair: Code cleaning and refactoring.