Splines - Why am I wrong ?

As the picture goes, what is wrong with my logic here ?

My guess would be tangent lengths being incorrect?

they are correct on the flat circle though. This is how they are calculated:

Got if fixed, here is how I did it, it might not be pretty but it works:

for google search : selection rings rpg rts