mirror of
https://github.com/LTTLabsOSS/markbench-tests.git
synced 2026-01-09 22:18:00 -05:00
I forgot about the linter
This commit is contained in:
@@ -76,10 +76,10 @@ for i in range(5):
|
||||
tunings.append(tuning)
|
||||
end_time = current_time_ms()
|
||||
|
||||
score_sum = 0
|
||||
SCORE_SUM = 0
|
||||
for score in scores:
|
||||
score_sum += score
|
||||
avg_score = round(score_sum / len(scores), 2)
|
||||
SCORE_SUM += score
|
||||
avg_score = round(SCORE_SUM / len(scores), 2)
|
||||
|
||||
report = {
|
||||
"start_time": start_time,
|
||||
|
||||
@@ -25,6 +25,7 @@ def download_ycruncher():
|
||||
with ZipFile(destination, 'r') as zip_object:
|
||||
zip_object.extractall(path=SCRIPT_DIR)
|
||||
|
||||
def current_time_ms():
|
||||
def current_time_ms():
|
||||
"""Get current timestamp in milliseconds since epoch"""
|
||||
return int(time.time() * 1000)
|
||||
|
||||
Reference in New Issue
Block a user