summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--all.tex1
-rw-r--r--result.tex18
-rw-r--r--shell.nix2
3 files changed, 20 insertions, 1 deletions
diff --git a/all.tex b/all.tex
index 12162ab..b195a57 100644
--- a/all.tex
+++ b/all.tex
@@ -8,6 +8,7 @@
 \usepackage{algpseudocode}
 \usepackage{amsmath}
 \usepackage{amssymb}
+\usepackage{booktabs}
 \usepackage{caption}
 \usepackage{cases}
 \usepackage{cite}
diff --git a/result.tex b/result.tex
index 61bf57b..7c61b55 100644
--- a/result.tex
+++ b/result.tex
@@ -1 +1,19 @@
 \section{Results}
+\begin{table}[h]
+  \begin{center}
+    \begin{tabular}{l c r r r}
+      \toprule
+      Task & Attempt & \texttt{\#} revisions & Tree depth & Largest cluster\\
+      \midrule
+      \texttt{checksum} & \texttt{3b@3} & 2 & 1 & 1\\
+      \texttt{checksum} & \texttt{cb@3} & 3 & 1 & 2\\
+      \texttt{grade} & \texttt{1b@3} & 2 & 1 & 1\\
+      \texttt{grade} & \texttt{31@3} & 8 & 2 & 1\\
+      \texttt{grade} & \texttt{b1@3} & 2 & 1 & 1\\
+      \texttt{smallest} & \texttt{d2@2} & 5 & 1 & 3\\
+      \texttt{smallest} & \texttt{07@2} & 9 & 1 & 3\\
+      \bottomrule
+    \end{tabular}
+  \end{center}
+  \caption{Decision tree quality on patch pool generated by MSV for IntroClass programs}
+\end{table}
diff --git a/shell.nix b/shell.nix
index 434dbe1..7edb879 100644
--- a/shell.nix
+++ b/shell.nix
@@ -2,7 +2,7 @@ with import <nixpkgs> { };
 mkShell {
   packages = [ (texlive.combine {
     inherit (texlive) scheme-basic algorithms algorithmicx amsmath
-      babel-vietnamese caption cases cite fancyhdr float glossaries
+      babel-vietnamese booktabs caption cases cite fancyhdr float glossaries
       hyperref pdflscape pdfpages pgf psnfss rsfs times tocloft vntex;
   }) ];
 }