The grading scheme that is used is exactly the same as in pottermore. You can read more about the founders of hogwarts or the wily old sorting hat and even your house ghost. Web this extended version of the pottermore sorting hat quiz takes into account every single quiz question in order to determine your house accurately.
Pottermore quiz house sorting answers
Pottermore full quiz house
Pottermore wizard house quiz