docstr: Tests that we don't blow up when the coverage gets really high.
docstr_tok: ["Tests","that","we","do","n't","blow","up","when","the","coverage","gets","really","high","."]
code: def test_handles_large_reference_counts(self, n_ref, n_alt_fraction):
      """Tests that we don't blow up when the coverage gets really high."""
      caller = PlaceholderVariantCaller(0.01, 100)
      n_alt = int(n_alt_fraction * n_ref)
      gq, likelihoods = caller._calc_reference_confidence(
          n_ref, n_ref + n_alt
      )
      self.assertTrue(
          np.isfinite(likelihoods).all(),
          "Non-finite likelihoods {}".format(likelihoods),
      )
      self.assertEqual(100, gq)
  
imports: from unittest import mock
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  import numpy.testing
  from third_party.nucleus.util import variant_utils
  from third_party.nucleus.util import variantcall_utils
  from deepvariant import testdata
  from deepvariant import variant_caller
  from deepvariant.protos import deepvariant_pb2
label_desc: Use image node_id 4 for calling the VariantCallerTests obj's underlying member method code with example usage: obj.test_handles_large_reference_counts(n_ref, n_alt_fraction) without return types