I posted this photo and some comments in the thread
Is there a problem with my Garmin 705. The green graph is my 705's recorded data, and the purple line is the calculated elevation at each point, using the SRTM satellite survey data. The calculated elevation depends on exactly where the road bed falls between known elevation points on the side of the mountain.
Most differences here are small, less than 50 feet, but all the tiny bumps add up to a substantial elevation difference. The maps tend to have a somewhat higher total ride elevation for me, the opposite of your example ride. A large change in air pressure during the ride would affect the elevation, too.
I wonder if WKO or Training Peaks use the actual data or mapped data, and if they apply any smoothing to it.