Skip to content

Commit

Permalink
Scoring: Adjust formatting of output
Browse files Browse the repository at this point in the history
  • Loading branch information
szarnyasg committed Oct 6, 2022
1 parent 4fa9dbf commit abf8cd4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scoring/calculate-scores.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,11 @@
con.execute(f"""
COPY
(SELECT
(SELECT printf('\\numprint{{%.3f}} minutes', time/60 ) FROM benchmark_time ),
(SELECT printf('\\numprint{{%.3f}}', power ) FROM power_score ),
(SELECT printf('\\numprint{{%.3f}}', power_at_sf ) FROM power_at_sf_score ),
(SELECT printf('\\numprint{{%.3f}}', throughput ) FROM throughput_score ),
(SELECT printf('\\numprint{{%.3f}} \\\\', throughput_at_sf) FROM throughput_at_sf_score),
(SELECT printf('\\numprint{{%.2f}} minutes', time/60 ) FROM benchmark_time ),
(SELECT printf('\\numprint{{%.2f}}', power ) FROM power_score ),
(SELECT printf('\\numprint{{%.2f}}', power_at_sf ) FROM power_at_sf_score ),
(SELECT printf('\\numprint{{%.2f}}', throughput ) FROM throughput_score ),
(SELECT printf('\\numprint{{%.2f}} \\\\', throughput_at_sf) FROM throughput_at_sf_score),
)
TO 'summary-{tool}-sf{sf_string}.tex' (HEADER false, QUOTE '', DELIMITER ' & ');
""")
Expand Down

0 comments on commit abf8cd4

Please sign in to comment.