Numerical simulations of assemblies of grains under cyclic loading exhibit "granular ratcheting:" a small net deformation occurs with each cycle, leading to a linear accumulation of deformation with cycle number. We show that this is due to a curious property of the most frequently used models of the particle-particle interaction: namely, that the potential energy stored in contacts is path dep...