Is electricity 100% predictable, given known variables?
Predictable as far as what?
It obeys the laws of physics, if that's what you mean....
Electricity is a phenomena not fully understood...I guess this is proved by the constant code changes.
Yes, given ALL the variables, electricity is predictable. But that's the catch. No one ever has all the variables; there are way too many.