I found in the past if you reverse the wires for a source coil or trigger coil the engine will run like shit, I found the 3rd wire off the trigger coil is just an earth back to the CDI,

Got the CDI tested on 2 different testers and it’s dead.