summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2023-11-13 14:01:21 +0900
committerNguyễn Gia Phong <cnx@loang.net>2023-11-13 14:02:13 +0900
commitf4f58aaaef8ae3bcaf66bb1c0ec76c4c761eec99 (patch)
treead0290c25a72b99a7a6f0dfbdde2d89bc94a8746
parent00b028d13203525ac6ed9b2872b280628c13a24e (diff)
downloadthesis-f4f58aaaef8ae3bcaf66bb1c0ec76c4c761eec99.tar.gz
Add some results
-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;
   }) ];
 }