def _GenerateRandomHostname(self, domain):
    """Generate a random hostname f or a given domain."""
    oracle = random.randint(0, 100)
    if oracle < 70:
      return 'www.%s' % domain
    elif oracle < 95:
      return domain
    elif oracle < 98:
      return domain % 'static.%s'
    else:
      return 'cache-%s.%s' % (random.randint(0, 10), domain)
dataset/ETHPy150Open catap/namebench/libnamebench/data_sources.py/DataSources._GenerateRandomHostname/swapped operands of `%`