MCPcopy Create free account
hub / github.com/getsentry/sentry / update

Method update

src/sentry/utils/math.py:41–42  ·  view source on GitHub ↗
(self, n: int, avg: float, value: float)

Source from the content-addressed store, hash-verified

39class MovingAverage(ABC):
40 @abstractmethod
41 def update(self, n: int, avg: float, value: float) -> float:
42 raise NotImplementedError
43
44
45class ExponentialMovingAverage(MovingAverage):

Callers 15

md5_textFunction · 0.45
sha1_textFunction · 0.45
sha256_textFunction · 0.45
hash_valueFunction · 0.45
hash_valuesFunction · 0.45
mergeMethod · 0.45
load_dataFunction · 0.45
create_sample_eventFunction · 0.45
snuba.pyFile · 0.45
_prepare_query_paramsFunction · 0.45
replaceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected