Skip to content

Commit

Permalink
better naming
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielegenovese committed Feb 7, 2025
1 parent 23ec586 commit a20908f
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 50 deletions.
49 changes: 0 additions & 49 deletions assets/output.tex

This file was deleted.

49 changes: 49 additions & 0 deletions assets/table.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
\begin{table}[h]
\centering
\begin{tabular}{lccc}
\hline
Example & #Lines & #GV Nodes & #GV Edges & #Warnings & #Errors & Runtime \\
\hline
account & 23 & 19 & 27 & 0 & 2 & 0.208 \\
dining & 31 & 29 & 44 & 0 & 2 & 0.242 \\
hello & 24 & 3 & 3 & 2 & 0 & 0.186 \\
async & 20 & 6 & 6 & 0 & 0 & 0.182 \\
ticktackstop & 46 & 12 & 19 & 7 & 0 & 0.217 \\
ticktackloop & 32 & 5 & 5 & 2 & 0 & 0.234 \\
customer & 54 & 12 & 16 & 1 & 0 & 0.209 \\
serverclient & 41 & 7 & 8 & 8 & 3 & 0.189 \\
trick & 24 & 8 & 8 & 0 & 0 & 0.191 \\
airline & 23 & 12 & 20 & 1 & 0 & 0.229 \\
conditional-case & 26 & 10 & 15 & 1 & 16 & 0.205 \\
for-loop-recursion & 18 & 8 & 9 & 0 & 0 & 0.191 \\
function-call & 17 & 3 & 3 & 1 & 2 & 0.193 \\
high-order-fun & 21 & 10 & 14 & 0 & 3 & 0.199 \\
if-cases & 57 & 86 & 134 & 185 & 30 & 0.575 \\
pass & 16 & 3 & 2 & 0 & 0 & 0.198 \\
producer & 30 & 8 & 7 & 0 & 1 & 0.200 \\
spawn & 22 & 9 & 8 & 0 & 0 & 0.200 \\
unknown & 13 & 1 & 1 & 0 & 0 & 0.195 \\
foo1 & 18 & 6 & 7 & 0 & 0 & 0.192 \\
foo2 & 23 & 4 & 3 & 1 & 1 & 0.194 \\
foo3 & 22 & 10 & 14 & 0 & 0 & 0.196 \\
foo4 & 20 & 12 & 15 & 0 & 2 & 0.194 \\
foo5 & 18 & 39 & 87 & 1 & 0 & 0.321 \\
foo6 & 24 & 6 & 7 & 15 & 2 & 0.198 \\
foo7 & 41 & 43 & 121 & 0 & 6 & 0.532 \\
foo8 & 29 & 27 & 95 & 0 & 171 & 2.798 \\
foo9 & 14 & 2 & 3 & 1 & 3 & 0.202 \\
foo9b & 21 & 4 & 4 & 14 & 1 & 0.206 \\
foo9c & 15 & 6 & 11 & 0 & 0 & 0.199 \\
foo9d & 16 & 3 & 2 & 0 & 0 & 0.194 \\
foo9e & 24 & 9 & 13 & 0 & 5 & 0.202 \\
foo9f & 25 & 4 & 6 & 0 & 4 & 0.202 \\
foo9g & 25 & 21 & 49 & 0 & 7 & 0.240 \\
foo9h & 23 & 12 & 26 & 0 & 5 & 0.200 \\
ping & 36 & 6 & 5 & 1 & 0 & 0.182 \\
airline & 33 & 18 & 34 & 1 & 0 & 0.229 \\
meViolation & 40 & 38 & 54 & 2 & 4 & 0.264 \\
purchase & 47 & 25 & 44 & 6 & 0 & 0.257 \\
\hline
\end{tabular}
\caption{Global view data}
\end{table}
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,5 +139,5 @@ def generate_latex_table(columns, rows, caption):

latex_code = generate_latex_table(columns, rows, "Global view data")

with open("assets/output.tex", "w", encoding="utf-8") as f:
with open("assets/table.tex", "w", encoding="utf-8") as f:
f.write(latex_code)

0 comments on commit a20908f

Please sign in to comment.