def METHOD_NAME(self):
    d = DocumentFactory(locale="en-US")
    r1 = RevisionFactory(document=d)
    RevisionFactory(document=d, creator=r1.creator)
    RevisionFactory(document=d)
    r4 = RevisionFactory(document=d, created=date.today() - timedelta(days=91))
    # By default, we should only get 2 top contributors back.
    top, _ = top_contributors_kb()
    self.assertEqual(2, len(top))
    assert r4.creator_id not in [u["term"] for u in top]
    self.assertEqual(r1.creator_id, top[0]["term"])
    # If we specify an older start, then we get all 3.
    top, _ = top_contributors_kb(start=date.today() - timedelta(days=92))
    self.assertEqual(3, len(top))
    # If we also specify an older end date, we only get the creator for
    # the older revision.
    top, _ = top_contributors_kb(
        start=date.today() - timedelta(days=92), end=date.today() - timedelta(days=1)
    )
    self.assertEqual(1, len(top))
    self.assertEqual(r4.creator_id, top[0]["term"])