def testTrialPriors(trialPriors, ss, delta):
    for alpha in trialPriors:
        if (alpha <= 0):
            return float('inf')
    return getTotalLoss(trialPriors, ss, delta)
def testTrialPriors(trialPriors, ss, delta):
    for alpha in trialPriors:
        if (alpha <= 0):
            return float('inf')
    return getTotalLoss(trialPriors, ss, delta)