1

Resolved

Possible bug with SID calculation during Chaining

description

In the code, you have this for your gender ratios:
 
        genderGenderRatioCollection.Add(new GenderGenderRatio("Genderless", "Genderless", 0, 255));
        genderGenderRatioCollection.Add(new GenderGenderRatio("Male (50% Male / 50% Female)", "M 50% F", 127, 255));
        genderGenderRatioCollection.Add(new GenderGenderRatio("Female  (50% Male / 50% Female)", "F 50^ F", 0, 126));
        genderGenderRatioCollection.Add(new GenderGenderRatio("Male (25% Male / 75% Female)", "M 75% F", 191, 255));
        genderGenderRatioCollection.Add(new GenderGenderRatio("Female (25% Male / 75% Female)", "F 75% F", 0, 190));
        genderGenderRatioCollection.Add(new GenderGenderRatio("Male (75% Male / 25% Female)", "M 25% F", 64, 255));
        genderGenderRatioCollection.Add(new GenderGenderRatio("Female  (75% Male / 25% Female)", "F 25% F", 0, 63));
        genderGenderRatioCollection.Add(new GenderGenderRatio("Male (12.5% Male / 87.5% Female)", "M 12.5 F", 31, 255));
        genderGenderRatioCollection.Add(new GenderGenderRatio("Female (12.5% Male / 87.5% Female)", "F 12.5 F", 0, 30));
        genderGenderRatioCollection.Add(new GenderGenderRatio("Male (100% Male)", "M 100% M", 0, 255));
        genderGenderRatioCollection.Add(new GenderGenderRatio("Female (100% Female)", "F 100% F", 0, 255));  
 
My question is on the 12.5% Male min and max numbers... I noticed the pattern that the from 75 - 50 - 25% Male min number goes from 64 - 127 - 191. However, the 12.5 male goes to 31... Shouldn't this be like 224?
 
Let me know! Thanks!

comments

MetalKid wrote Nov 3, 2009 at 9:43 PM

Never mind. It is technically correct, but it should be 12.5% Female and 87.5% Male... You just switched the genders around.

wfyoung wrote Feb 7, 2010 at 8:48 PM

it's a problem, but it is actually the text, which should read

(87.5% Male / 12.5% Female)

wrote Apr 15, 2010 at 2:39 AM

wrote Feb 14, 2013 at 12:20 AM

wrote May 16, 2013 at 4:14 AM

wrote May 16, 2013 at 4:14 AM

wrote Jun 14, 2013 at 7:30 AM