<commit_before><%page args="contrib,affiliation_contribs"/>
\noindent
\rmfamily
% if contrib.getSession():
\small \textbf {${contrib.getSession().getTitle() | latex_escape}}
% endif
% if contrib.getBoardNumber():
    % if contrib.getSession():
        -
    % endif
    ${_("Board:")} ${contrib.getBoardNumber()}
% endif
% if contrib.getSession() or contrib.getBoardNumber():
/
% endif
\textbf{${contrib.getId()}}

\vspace{1em}

\textbf {\Large ${contrib.getTitle() | latex_escape}
}

\vspace{0.5em}

% if affiliation_contribs[contrib.getId()]['authors_affil']:
    \footnotesize {
        % if affiliation_contribs[contrib.getId()]['coauthors_affil']:
            \textbf {${_("Author(s):")}}
        % endif
        % for author, affil_id in affiliation_contribs[contrib.getId()]['authors_affil']:
            ${author.getFullName()}\textsuperscript{${affil_id}}
            % if not loop.last:
                ;
            % endif
        % endfor
    }
% endif

% if affiliation_contribs[contrib.getId()]['coauthors_affil']:
    \footnotesize {
        \textbf {${_("Co-author(s):")}}
        % for author, affil_id in affiliation_contribs[contrib.getId()]['coauthors_affil']:
            ${author.getFullName()}
            % if affil_id is not None:
                \textsuperscript{${affil_id}}
            % endif
            % if not loop.last:
                ;
            % endif
        % endfor
    }
% endif

% if affiliation_contribs[contrib.getId()]['affiliations']:
    \vspace{0.5em}
    \footnotesize \begin{description}
        % for affil, affil_id in sorted(affiliation_contribs[contrib.getId()]['affiliations'].items(), key=lambda x: x[1]):
            \item[]\textsuperscript{${affil_id}} {\em ${affil | latex_escape}}
        % endfor
    \end{description}
% endif

% if corresp_authors[contrib.getId()]:
\textbf {${_("Corresponding Author(s):")}}
        ${", ".join(corresp_authors[contrib.getId()])}
% endif

\vspace{0.5em}

%% Markdown content
\rmfamily {
    \allsectionsfont{\rmfamily}
    \sectionfont{\normalsize\rmfamily}
    \subsectionfont{\small\rmfamily}
    \small
    ${md_convert(str(contrib.getDescription()).decode('utf-8')).encode('utf-8')}
}
<commit_msg>[FIX] Back check in Mako template<commit_after><%page args="contrib,affiliation_contribs"/>
\noindent
\rmfamily
% if contrib.getSession():
\small \textbf {${contrib.getSession().getTitle() | latex_escape}}
% endif
% if contrib.getBoardNumber():
    % if contrib.getSession():
        -
    % endif
    ${_("Board:")} ${contrib.getBoardNumber()}
% endif
% if contrib.getSession() or contrib.getBoardNumber():
/
% endif
\textbf{${contrib.getId()}}

\vspace{1em}

\textbf {\Large ${contrib.getTitle() | latex_escape}
}

\vspace{0.5em}

% if affiliation_contribs[contrib.getId()]['authors_affil']:
    \footnotesize {
        % if affiliation_contribs[contrib.getId()]['coauthors_affil']:
            \textbf {${_("Author(s):")}}
        % endif
        % for author, affil_id in affiliation_contribs[contrib.getId()]['authors_affil']:
            ${author.getFullName()}\textsuperscript{${affil_id}}
            % if not loop.last:
                ;
            % endif
        % endfor
    }
% endif

% if affiliation_contribs[contrib.getId()]['coauthors_affil']:
    \footnotesize {
        \textbf {${_("Co-author(s):")}}
        % for author, affil_id in affiliation_contribs[contrib.getId()]['coauthors_affil']:
            ${author.getFullName()}
            % if affil_id is not None:
                \textsuperscript{${affil_id}}
            % endif
            % if not loop.last:
                ;
            % endif
        % endfor
    }
% endif

% if affiliation_contribs[contrib.getId()]['affiliations']:
    \vspace{0.5em}
    \footnotesize \begin{description}
        % for affil, affil_id in sorted(affiliation_contribs[contrib.getId()]['affiliations'].items(), key=lambda x: x[1]):
            \item[]\textsuperscript{${affil_id}} {\em ${affil | latex_escape}}
        % endfor
    \end{description}
% endif

% if corresp_authors.get(contrib.getId()):
\textbf {${_("Corresponding Author(s):")}}
        ${", ".join(corresp_authors[contrib.getId()])}
% endif

\vspace{0.5em}

%% Markdown content
\rmfamily {
    \allsectionsfont{\rmfamily}
    \sectionfont{\normalsize\rmfamily}
    \subsectionfont{\small\rmfamily}
    \small
    ${md_convert(str(contrib.getDescription()).decode('utf-8')).encode('utf-8')}
}

{'fraction_non_alphanumeric': 0.16877541798463624, 'fraction_numerical': 0.004518752824220515, 'mean_word_length': 2.977538185085355, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7487964', 'n_tokens_mistral': 1505, 'n_tokens_neox': 1463, 'n_words': 227}