I checked, of all the courses you have started I would guesstimate only about 50% are showing completed.
You should be able to see this same info from the progress section of your dashboard.
Also, I believe any exercises in the courses need to be completed and receive a pass grade before the badge and xp is awarded.