Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InternScience/InternAgent
/ update
Method
update
tasks/AutoPower/code/src/utils.py:61–63 ·
view source on GitHub ↗
(self, v_new)
Source
from the content-addressed store, hash-verified
59
self.cnt = 0
60
61
def
update(self, v_new):
62
self.value += v_new
63
self.cnt += 1
64
65
def
agg(self):
66
return
self.value / self.cnt
Callers
4
exec_epoch
Method · 0.95
exec_epoch
Method · 0.95
experiment.py
File · 0.45
experiment.py
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected