Skip to content

Commit c461e67

Browse files
github-actions[bot]pgmpablo157321
authored andcommitted
[Automated Commit] Format Codebase
1 parent d32cc59 commit c461e67

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

tools/submission/submission_checker/checks/performance_check.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def network_check(self):
233233
if not is_valid:
234234
self.log.error(
235235
f"{
236-
self.path} incorrect network mode (={is_network_system}) for division '{
236+
self.path} incorrect network mode(={is_network_system}) for division '{
237237
self.division}'"
238238
)
239239
return False
@@ -298,7 +298,7 @@ def inferred_check(self):
298298
("singlestream", "offline")
299299
]
300300
if (self.scenario.lower(), self.scenario_fixed.lower()
301-
) not in list_inferred:
301+
) not in list_inferred:
302302
self.log.error(
303303
"Result for scenario %s can not be inferred from %s for: %s",
304304
self.scenario_fixed,
@@ -362,12 +362,12 @@ def get_inferred_result(self, res):
362362
res = qps_wo_loadgen_overhead
363363

364364
if (self.scenario_fixed in ["Offline"]
365-
) and self.scenario in ["MultiStream"]:
365+
) and self.scenario in ["MultiStream"]:
366366
inferred = True
367367
res = samples_per_query * S_TO_MS / (latency_mean / MS_TO_NS)
368368

369369
if (self.scenario_fixed in ["MultiStream"]
370-
) and self.scenario in ["SingleStream"]:
370+
) and self.scenario in ["SingleStream"]:
371371
inferred = True
372372
# samples_per_query does not match with the one reported in the logs
373373
# when inferring MultiStream from SingleStream
@@ -384,6 +384,6 @@ def get_inferred_result(self, res):
384384
else:
385385
res = (latency_99_percentile * samples_per_query) / MS_TO_NS
386386
if (self.scenario_fixed in ["Interactive"]
387-
) and self.scenario not in ["Server"]:
387+
) and self.scenario not in ["Server"]:
388388
is_valid = False
389389
return res, is_valid

tools/submission/submission_checker/checks/power/power_checker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,11 +369,11 @@ def compare_duration(range_duration: float, test_duration: float) -> None:
369369

370370
if duration_diff > 0.5:
371371
raise CheckerWarning(
372-
f"Duration of the testing mode ({
372+
f"Duration of the testing mode({
373373
round(
374374
test_duration,
375375
2)}) is lower than that of "
376-
f"ranging mode ({
376+
f"ranging mode({
377377
round(
378378
range_duration,
379379
2)}) by {

tools/submission/submission_checker/checks/system_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def network_check(self):
7272
if expected_state_by_division[self.division] != is_network:
7373
self.log.error(
7474
f"{
75-
self.path} incorrect network mode (={is_network}) for division '{
75+
self.path} incorrect network mode(={is_network}) for division '{
7676
self.division}'"
7777
)
7878
return False

0 commit comments

Comments
 (0)