MCPcopy Create free account
hub / github.com/coperception/star / update

Method update

star/utils/misc.py:37–40  ·  view source on GitHub ↗
(self, value, n=1)

Source from the content-addressed store, hash-verified

35 self.fmt = fmt
36
37 def update(self, value, n=1):
38 self.deque.append(value)
39 self.count += n
40 self.total += value * n
41
42 def synchronize_between_processes(self):
43 """

Callers 1

log_everyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected