I have done my share of programming, including rule based programming. USPS software has room for a LOT of improvements. The Expected Delivery function seems to be set at the start, but is not updated with later events. I also feel the frustration. I do not know what code effort would be required to improve "Expected Delivery" but it should be possible.
My pet peeve is when a package goes awry. The tracking stops. I have had packages sent from Eastern PA to California, go to Florida. Then a week or so of silence. Tracking started again when the package got to the local Post Office.
I wish more software would state the next location. Normally states it has left a location, but does not state where it is going. The physical shipment knows where it is going, so why not reflect this in the tracking........