pct_mastery gives a percentage, not a fraction. Should be 100.0 not 1.0 I think.