code: def diff_stats(self, ids):
          
          schema = DiffStatsSchema()
          resp = self.service.post(self.base, params={'stats': 'diff'}, json=[{'id': str(x)} for x in ids])
          return self.service.decode(schema, resp)
docs: Compute diff stats for a set of results.
  
          :param id: Result IDs as int list.
          :return: :class:`results.DiffStats <results.DiffStats>` object
          :rtype: results.DiffStats