Generate the Results section of a LaTeX research paper from experimental data (CSV, JSON, or raw numbers). Trigger when the user says "write results", "generate results tables", "format results for paper", "update numbers", or provides experimental output to turn into LaTeX tables. Outputs to sections/results.tex.
After experiments are run and you have numbers. This skill turns raw results into formatted LaTeX tables with analysis prose.
sections/experimental_setup.tex to ensure consistencyFor each table or group of results:
1. The Table
\begin{table}[t]
\caption{Descriptive caption that includes the metric, reader model, and what varies.}
\label{tab:descriptive-name}
\centering
\small
\begin{tabular}{l|ccccc|c}
\toprule
\textbf{Method} & \textbf{Dataset1} & \textbf{Dataset2} & ... & \textbf{Avg.} \\
\midrule
Baseline 1 & 45.2 & 67.3 & ... & 56.3 \\
Baseline 2 & 48.1 & 69.0 & ... & 58.6 \\
\midrule
Our Method & \textbf{52.4} & \textbf{73.1} & ... & \textbf{62.8} \\
\bottomrule
\end{tabular}
\end{table}
2. Analysis prose (1-2 paragraphs after each table)
\textbf{} for the best result in each column\underline{} for the second-best result\toprule, \midrule, \bottomrule from booktabs (no \hline)\small or \footnotesize for wide tables\section{Results}
\label{sec:results}
\subsection{Main Results}
% Primary comparison table + analysis
\subsection{Retrieval Performance}
% Recall@k table + analysis (if applicable)
\subsection{Ablation Studies}
% What happens when we remove components? (if applicable)
Write to sections/results.tex. Git add, commit, push.