def createUniqueRandomSeed( jobname, taskID=0):
  import hashlib
  if jobname.count('-') > 0:
    jobname = jobname.split('-')[0]
  if len(jobname) > 5:
    jobname = jobname[:5]
  
  seed = int( hashlib.md5( jobname+str(taskID) ).hexdigest(), 16) % 1e7
  return int(seed)
Get unique seed for a random number generator,
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/ContinueRun.py/createUniqueRandomSeed