Well I did some more testing, by removing stats one by one from the large_strength_potion, I found out it has nothing to do with stackID.

It's actually governed by the Act part stat. By changing this number it acts like a variable that multiplies the attribute by some amount. I set it to 12 which gave me a 1 to 1 ratio.

At this time I'm unsure what other effects it has.