Carrier rate engine
Pick a destination, weight and number of parcels. The engine applies the rules, discards the tariffs that don’t fit and ranks the rest by final price, including surcharges and fuel. Then simulate a carrier failing.
Booking with a fallback
Simulate failures before booking. If a carrier is down, the next one is tried; if the data is wrong, trying another carrier won't help.