code: def lblogwealth(self, *, t, sumXt, v, eta, s, alpha):
      import scipy.special as sc
      from math import log, sqrt
  
      zeta_s = sc.zeta(s)
      v = max(v, 1)
      gamma1 = (eta ** (1 / 4) + eta ** (-1 / 4)) / sqrt(2)
      gamma2 = (sqrt(eta) + 1) / 2
      assert log(eta * v, eta) + 1 > 0, 1 + log(eta * v, eta)
      ll = s * log(log(eta * v, eta) + 1) + log(zeta_s / alpha)
  
      return max(
          0,
          (
              sumXt
              - sqrt(gamma1**2 * ll * v + gamma2**2 * ll**2)
              - gamma2 * ll
          )
          / t,
      )
  
file_path: vowpal_wabbit/python/tests/confidence_sequence.py
imports: from cmath import sqrt
label_desc: Use image node_id 4 for calling the confidence_sequence obj's underlying member method code with example usage: obj.lblogwealth() and returns: max