def connectionQualityMonitor(self):
    destination_sent = float(instrumentation.prior_stats.get(self.sent, 0))
    total_received = float(instrumentation.prior_stats.get('metricsReceived', 0))
    instrumentation.increment(self.slowConnectionReset, 0)
    if total_received < settings.MIN_RESET_STAT_FLOW:
      return True

    if (destination_sent / total_received) < settings.MIN_RESET_RATIO:
      return False
    else:
      return True
Divide a Dat by a Global.
dataset/ETHPy150Open graphite-project/carbon/lib/carbon/client.py/CarbonClientProtocol.connectionQualityMonitor--crossover with--dataset/ETHPy150Open OP2/PyOP2/test/unit/test_indirect_loop.py/TestIndirectLoop.test_global_read