On the contrary. The greater the difference between yous and hers the better. Hence to give the best possible chance you maximize hers first.
The condition is:
<<set $chance=$masterint>>
<<set $chance-=$skillroll>>
<<set $chance-=_npc.int>>
<<if _npc.scarefactor gte 3>><<set $chance-=10>><</if>>
<<if $aca gte 80 or $tech gte 80>><<set $chance+=15>><</if>>
<<if $aca gte 90 and $tech gte 90>><<set $chance+=15>><</if>>
As far as I understand, that means if she's smarter than you, it's automatic fail (masterint - _npc.int < 0), unless you've got academics or science 80+, which boosts chance by +15, or both at 90+ giving +30.
If you pass the skillroll, the chance to gain int is 1 out of 5.