So I had to replace the ratchet portion on the chain wheel and recently noticed that when the chain is moving it seems to not stay in the teeth of the ratchet portion which causes it to jump when running. I am not really sure on what to fix.
Usually, you can pull the chain down tightly in the sprocket for at least half a turn. Then look closely at the leading and trailing sprocket spikes. The chain should be completely down between the sheaths and evenly spaced on the spikes. If the chain fit is perfect, you may be able to slip the seated chain loop back and forth a bit on the chain wheel. If the chain is not perfect, it will be easy to notice whether you need more or less links per foot.