ruler giving wrong answers

Andrew, could you post a dataset, and really detailed directions how you replicate this one? Thanks!