MCPcopy Create free account
hub / github.com/DanielShalam/BPA / update

Method update

utils.py:304–307  ·  view source on GitHub ↗
(self, value, n=1)

Source from the content-addressed store, hash-verified

302 self.fmt = fmt
303
304 def update(self, value, n=1):
305 self.deque.append(value)
306 self.count += n
307 self.total += value * n
308
309 @property
310 def median(self):

Callers 1

log_everyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected