MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / clean

Function clean

crates/bench/hyper_cmp.py:13–23  ·  view source on GitHub ↗
(stat)

Source from the content-addressed store, hash-verified

11
12
13def clean(stat):
14 new = {}
15 for (k, v) in stat.items():
16 if k in ["stddev", "command", "exit_codes"]:
17 continue
18 if k == "times":
19 v = v[0]
20 if isinstance(v, float):
21 v = round(v, 2)
22 new[k] = v
23 return new
24
25
26def larger(row: list):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…