I answered over on MSE, but here is a copy:
After a ton of digging through the database trying to identify how
many users hit this bug and the cause of it, we've determined that
it's a race condition.
The fix will be going in this week, once we've identified all the places where we're hitting this same issue (Shog's got a list). The
fix will include a redis lock (which we already use elsewhere), and it
will prevent these very rare multiple entries.
As far as the rep from these aka the extra +2, there are very few cases in which this happened and it involves deleting from several
tables to clean it up, so we're leaving it. It shouldn't happen again
after this week, when the bug is fixed.