Welcome to the community. There is no correlation between your quiz scores and attaining a badge...LOL
I found this upon searching, not sure if this is what you are looking for.
From @Ryan_Gilmore
Hi. The Community attempts to recognize members who have completed a STIPS course through the use of a Community badge. Once a week, we check to see if a member completed a course. If they did, we award the badge for that course. It's possible the automated system misses someone from time to time. If you have completed a STIPS course and do not receive a Community badge after a week or so, please let me know so we can investigate.
It should be noted that the Community STIPS badges are independent of any badges award by STIPS itself and are only valid in the context of the Community.
"All models are wrong, some are useful" G.E.P. Box