I have had one litter of all females and litter of all males in over 100 litters, lol, it don't happen too often.

I also don't believe light has anything to do with male to female ratios in rats, waiting for proof