<commit_before>\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{lmodern}
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
\usepackage{fixltx2e} % provides \textsubscript
\usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{eurosym}
% use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
% use microtype if available
\IfFileExists{microtype.sty}{%
  \usepackage[$for(microtypeoptions)$$microtypeoptions$$sep$,$endfor$]{microtype}
  \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
\PassOptionsToPackage{hyphens}{url} % url is loaded by hyperref
\usepackage[unicode=true]{hyperref}
\urlstyle{same}  % don't use monospace font for urls
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
\usepackage{listings}
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
\usepackage{longtable,booktabs}
% Fix footnotes in tables (requires footnote package)
\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{long table}}{}
\usepackage{graphicx,grffile}
\makeatletter
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
\makeatother
% Scale images if necessary, so that they will not overflow the page
% margins by default, and it is still possible to overwrite the defaults
% using explicit options in \includegraphics[width, height, ...]{}
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
% Make links footnotes instead of hotlinks:
\renewcommand{\href}[2]{#2\footnote{\url{#1}}}
$if(indent)$
$else$
\IfFileExists{parskip.sty}{%
\usepackage{parskip}
}{% else
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
}
$endif$
\setlength{\emergencystretch}{3em}  % prevent overfull lines
\providecommand{\tightlist}{%
  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$}
% Redefines (sub)paragraphs to behave more like sections
\ifx\paragraph\undefined\else
\let\oldparagraph\paragraph
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
\fi
\ifx\subparagraph\undefined\else
\let\oldsubparagraph\subparagraph
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
\fi


% set default figure placement to htbp
\makeatletter
\def\fps@figure{htbp}
\makeatother

\title{$title$}

\providecommand{\subtitle}[1]{}
\subtitle{$subtitle$}


\usepackage{calc}
\usepackage{framed}
\usepackage{tikz}

\newenvironment{shadedgreen}{%
   \def\FrameCommand{\colorbox{green!20}}%
   \MakeFramed {\FrameRestore}}%
  {\endMakeFramed}
\newlength\mylena
\newlength\mylenb
\setlength\mylena{1.5cm}
\setlength\mylenb{.9\textwidth - \mylena}

\newenvironment{action}
{\begin{shadedgreen}%
    \begin{minipage}[c][1cm][c]{\mylena}
      \begin{tikzpicture}[remember picture,overlay]
        \shade[ball color=green!80] (0.4,0) circle (.4cm)
          node  {\fontsize{8mm}{11mm}\usefont{T1}{put}{b}{b}\color{white}>};
      \end{tikzpicture}
    \end{minipage}%
    \begin{minipage}[t]{\mylenb}}
{\end{minipage}\end{shadedgreen}}

\newenvironment{shadedred}{%
   \def\FrameCommand{\colorbox{red!20}}%
   \MakeFramed {\FrameRestore}}%
  {\endMakeFramed}
\newlength\mylenab
\newlength\mylenbb
\setlength\mylenab{1.5cm}
\setlength\mylenbb{.9\textwidth - \mylena}

\newenvironment{warning}
{\begin{shadedred}%
    \begin{minipage}[c][1cm][c]{\mylenab}
      \begin{tikzpicture}[remember picture,overlay]
        \shade[ball color=red!80] (0.4,0) circle (.4cm)
          node  {\fontsize{8mm}{11mm}\usefont{T1}{put}{b}{b}\color{white}!};
      \end{tikzpicture}
    \end{minipage}%
    \begin{minipage}[t]{\mylenbb}}
{\end{minipage}\end{shadedred}}

\begin{document}

\begin{titlepage}
\begin{center}


\includegraphics[width=12cm]{static/images/logo-waziup.png}

\vspace{7cm}
\textsc{\Huge $title$}
 
\vspace{2cm}
\date{\today}

\end{center}
\end{titlepage}

\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$black$endif$}
\setcounter{tocdepth}{$toc-depth$}
\tableofcontents
\newpage

$body$

\end{document}<commit_msg>template<commit_after>\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{lmodern}
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
\usepackage{fixltx2e} % provides \textsubscript
\usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{eurosym}
% use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
% use microtype if available
\IfFileExists{microtype.sty}{%
  \usepackage[$for(microtypeoptions)$$microtypeoptions$$sep$,$endfor$]{microtype}
  \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
\PassOptionsToPackage{hyphens}{url} % url is loaded by hyperref
\usepackage[unicode=true]{hyperref}
\urlstyle{same}  % don't use monospace font for urls
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
\usepackage{listings}
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
\usepackage{longtable,booktabs}
% Fix footnotes in tables (requires footnote package)
\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{long table}}{}
\usepackage{graphicx,grffile}
\makeatletter
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
\makeatother
% Scale images if necessary, so that they will not overflow the page
% margins by default, and it is still possible to overwrite the defaults
% using explicit options in \includegraphics[width, height, ...]{}
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
% Make links footnotes instead of hotlinks:
\renewcommand{\href}[2]{#2\footnote{\url{#1}}}
$if(indent)$
$else$
\IfFileExists{parskip.sty}{%
\usepackage{parskip}
}{% else
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
}
$endif$
\setlength{\emergencystretch}{3em}  % prevent overfull lines
\providecommand{\tightlist}{%
  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$}
% Redefines (sub)paragraphs to behave more like sections
\ifx\paragraph\undefined\else
\let\oldparagraph\paragraph
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
\fi
\ifx\subparagraph\undefined\else
\let\oldsubparagraph\subparagraph
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
\fi

\usepackage{xcolor}
\hypersetup{
    colorlinks,
    linkcolor={red!50!black},
    citecolor={blue!50!black},
    urlcolor={blue!80!black}
}

% set default figure placement to htbp
\makeatletter
\def\fps@figure{htbp}
\makeatother

\title{$title$}

\providecommand{\subtitle}[1]{}
\subtitle{$subtitle$}


\usepackage{calc}
\usepackage{framed}
\usepackage{tikz}

\newenvironment{shadedgreen}{%
   \def\FrameCommand{\colorbox{green!20}}%
   \MakeFramed {\FrameRestore}}%
  {\endMakeFramed}
\newlength\mylena
\newlength\mylenb
\setlength\mylena{1.5cm}
\setlength\mylenb{.9\textwidth - \mylena}

\newenvironment{action}
{\begin{shadedgreen}%
    \begin{minipage}[c][1cm][c]{\mylena}
      \begin{tikzpicture}[remember picture,overlay]
        \shade[ball color=green!80] (0.4,0) circle (.4cm)
          node  {\fontsize{8mm}{11mm}\usefont{T1}{put}{b}{b}\color{white}>};
      \end{tikzpicture}
    \end{minipage}%
    \begin{minipage}[t]{\mylenb}}
{\end{minipage}\end{shadedgreen}}

\newenvironment{shadedred}{%
   \def\FrameCommand{\colorbox{red!20}}%
   \MakeFramed {\FrameRestore}}%
  {\endMakeFramed}
\newlength\mylenab
\newlength\mylenbb
\setlength\mylenab{1.5cm}
\setlength\mylenbb{.9\textwidth - \mylena}

\newenvironment{warning}
{\begin{shadedred}%
    \begin{minipage}[c][1cm][c]{\mylenab}
      \begin{tikzpicture}[remember picture,overlay]
        \shade[ball color=red!80] (0.4,0) circle (.4cm)
          node  {\fontsize{8mm}{11mm}\usefont{T1}{put}{b}{b}\color{white}!};
      \end{tikzpicture}
    \end{minipage}%
    \begin{minipage}[t]{\mylenbb}}
{\end{minipage}\end{shadedred}}

\begin{document}

\begin{titlepage}
\begin{center}


\includegraphics[width=12cm]{static/images/logo-waziup.png}

\vspace{7cm}
\textsc{\Huge $title$}
 
\vspace{2cm}
\date{\today}

\end{center}
\end{titlepage}

\setcounter{tocdepth}{$toc-depth$}
\tableofcontents
\newpage

$body$

\end{document}
{'fraction_non_alphanumeric': 0.17433468651330628, 'fraction_numerical': 0.013080739738385205, 'mean_word_length': 6.427973199329983, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '480427', 'n_tokens_mistral': 3293, 'n_tokens_neox': 3152, 'n_words': 448}