Tempo detection that handles standard tempo changes, ending ritardando etc

The current detection solution works amazingly well with micro changes but misses simple stuff as an ending ritardando.
An algorithm that could detect standard tempo changes (accellerandi and ritardandi) as well as instant changes would be very welcome!

Apart from making it much easier to accomplish a dynamic, real sounding tempo change that by using todays limited tempo track tools (“jump” and “ramp” is definitely not enough - using “ramp” linear change for an ending rit. sounds very stiff and unmuisical - som kind of exponential curves are needed for that!), it would make it much easier to work with “dynamic tempo” styles/genres, as most of the classical stuff, where constant expressive tempo changes is an essential part of the musical style.

Best! / Jonas