<commit_before><html>
<head>
    <style>
    body {
      font-family: sans-serif;
    }

    h2 {
      font-size: large;
    }

    h3 {
      font-size: medium;
    }

    p {
      font-size: small;
    }

    ul {
      font-size: small;
    }

    pre {
      font-size: medium;
    }

    code {
      font-size: medium;
    }
    </style>
</head>
<body>
{{?description}}
<p>{{.}}</p>
{{/description}}

<!-- Endpoints -->
{{#endpoints}}
<h2>{{path}}</h2>
{{?description}}
<p>{{.}}</p>
{{/description}}
<ul>
    {{#keys}}
    <li>{{.}}</li>
    {{/keys}}
</ul>
{{#operations}}
<pre>{{method}}{{?consumes}} ({{>type.html}}){{/consumes}}{{?produces}} -&gt; {{>type.html}}{{/produces}}</pre>
{{?description}}
<p>{{.}}</p>
{{/description}}
<ul>
    {{#parameters}}
    <li><code>{{name}}: {{?type}}{{>type.html}}{{/type}}</code> {{?description}} - {{.}}{{/description}}</li>
    {{/parameters}}
</ul>
{{/operations}}
{{/endpoints}}

<!-- Enumerations -->
{{?enumerations}}
<hr/>
{{#.}}
<h3><a id="{{name}}">{{name}}</a></h3>
{{?description}}
<p>{{.}}</p>
{{/description}}
<ul>
{{#values}}
    <li><code>{{name}}</code> {{?description}} - {{.}}{{/description}}</li>
{{/values}}
</ul>
{{/.}}
{{/enumerations}}

<!-- Structures -->
{{?structures}}
<hr/>
{{#.}}
<h3><a id="{{name}}">{{name}}</a> <!-- TODO Include supertypes --> </h3>
{{?description}}
<p>{{.}}</p>
{{/description}}
<ul>
    {{#properties}}
    <li><code>{{name}}: {{?type}}{{>type.html}}{{/type}}</code> {{?description}} - {{.}}{{/description}}</li>
    {{/properties}}
</ul>
{{/.}}
{{/structures}}
</body>
</html><commit_msg>Update API template.<commit_after><html>
<head>
    <style>
    body {
      font-family: sans-serif;
    }

    h2 {
      font-size: large;
    }

    h3 {
      font-size: medium;
    }

    p {
      font-size: small;
    }

    ul {
      font-size: small;
    }

    pre {
      font-size: medium;
    }

    code {
      font-size: medium;
    }
    </style>
</head>
<body>
{{?description}}
<p>{{.}}</p>
{{/description}}

<!-- Endpoints -->
{{#endpoints}}
<h2>{{path}}</h2>
{{?description}}
<p>{{.}}</p>
{{/description}}
<ul>
    {{#keys}}
    <li>{{.}}</li>
    {{/keys}}
</ul>
{{#operations}}
<pre>{{method}}{{?consumes}} ({{>type.html}}){{/consumes}}{{?produces}} -&gt; {{>type.html}}{{/produces}}</pre>
{{?description}}
<p>{{.}}</p>
{{/description}}
<ul>
    {{#parameters}}
    <li><code>{{name}}: {{?type}}{{>type.html}}{{/type}}</code> {{?description}} - {{.}}{{/description}}</li>
    {{/parameters}}
</ul>
{{/operations}}
{{/endpoints}}

<!-- Enumerations -->
{{?enumerations}}
<hr/>
{{#.}}
<h3><a id="{{name}}">{{name}}</a></h3>
{{?description}}
<p>{{.}}</p>
{{/description}}
<ul>
{{#values}}
    <li><code>{{name}}</code> {{?description}} - {{.}}{{/description}}</li>
{{/values}}
</ul>
{{/.}}
{{/enumerations}}

<!-- Structures -->
{{?structures}}
<hr/>
{{#.}}
<h3><a id="{{name}}">{{name}}</a>{{?supertypes}} : {{#.[, ]}}{{>type.html}}{{/.}}{{/supertypes}}</h3>
{{?description}}
<p>{{.}}</p>
{{/description}}
<ul>
    {{#properties}}
    <li><code>{{name}}: {{?type}}{{>type.html}}{{/type}}</code> {{?description}} - {{.}}{{/description}}</li>
    {{/properties}}
</ul>
{{/.}}
{{/structures}}
</body>
</html>
{'fraction_non_alphanumeric': 0.34866376631448104, 'fraction_numerical': 0.004972032318210068, 'mean_word_length': 3.269230769230769, 'pattern_counts': {'":': 0, '<': 118, '<?xml version=': 0, '>': 127, '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': '1212928', 'n_tokens_mistral': 1344, 'n_tokens_neox': 1263, 'n_words': 194}