cost of living increase included in contract?

Curious to know how w2 employment contracts deal with yearly salary increases in the contract, is it tied to inflation (doubtful), fixed increases, or some other metric?

Separate question, within groups, does the base salary generally differ based on years of experience?