<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def single_stats(self, id):
 # pylint: disable=invalid-name,redefined-builtin """Compute stats for a result. :param id: Result ID as an int. :return: :class:`results.SingleStats <results.SingleStats>` object :rtype: results.SingleStats """

        schema = SingleStatsSchema()
        resp = self.service.get(self.base+str(id)+'/', params={'stats': 'all'})
        return self.service.decode(schema, resp)