adding to that. I usually confirm it’s the pot. by hooking it up to something that will show the servo control values out. ( toolkit rc MC8, vesc tool calibration page with control mode set to none / motor output off. ) also visual inspection, and physical stressing of the pot to board connection.
then you can see if it makes any non fluid jumps. then decide if you wan to fix it.
it’s usually the solder point. as seen in the hoyt puck PSA