Need Assistance with Direct Sun Hours Node in Ladybug

Hi I’m working with the direct sun hours node in ladybug to track data, but i noticed that my roof was always yellow (which means it receives the most hours) even at hours where the sun barely exists or when the building is facing the N direction. Is there something wrong with the way I set up the script? Or is this a geometry issue?