<commit_before><html>
<header>
    <link rel="stylesheet" type="text/css" href="css/style.css" />
</header>

<body>

    <div class="header">
        <div class="summary">
            <h1>{{model['name']}}</h1>
            <p>{{model['description']}}</p>
        </div>
        <div class="nav">
            <table>
                <tr>
                    <td><a href="index.html">API Reference</a></td>
                    <td><a href="#cat1">Accessing {{model['plural_name']}}</a></td>
                    <td><a href="#cat2">Attributes Overview</a></td>
                    <td><a href="#cat3">Child Objects</a></td>
                    <td><a href="#cat4">Attributes Documentation</a></td>
                </tr>

            </table>
        </div>
    </div>


    <div class="main">

        <a class="anchor" name="cat1"></a>
        <h2>Accessing {{model['plural_name']}}</h2>
        <div class="box">
            <ul>
            {% for api in model['apis']|sort(attribute='path') %}

                {% set methods = [] %}
                {% for operation in api['operations']|sort %}
                    {% do methods.append('<span title="' + operation['summary'] + '">' + operation['method'] + '</span>') %}
                {% endfor %}

                {% if 'parent' in api %}
                    {% set parent_resource = api['parent']['resource_name'] %}
                    {% set parent_url = api['parent']['remote_name'] %}
                    {% set model_name = model['resource_name'] %}
                    <li>/<a href="{{parent_url}}.html">{{parent_resource}}</a>/{id}/{{model_name}} <span class="httpmethods">[{{methods|join("|")}}]</span><li>
                {% else %}
                    <li>{{api['path']}} <span class="httpmethods">[{{methods|join("|")}}]</span><li>
                {% endif %}

            {% endfor %}
            </ul>

        </div>

        <a class="anchor" name="cat2"></a>
        <h2>Attributes Overview</h2>
        <div class="box">
            {
            <ul>
            {% for name, attribute in model['properties']|dictsort %}
                {% set type = attribute['type'] %}
                {% set description = attribute['description'] %}
                {% set required = attribute['required'] == 'true' %}
                {% set allowed = [] %}
                {% set allowed_values = "" %}

                {% if attribute['enum'] %}
                    {% for value in attribute['enum']|sort %}
                        {% do allowed.append(value) %}
                    {% endfor %}
                    {% if allowed|count > 0 %}
                        {% set allowed_values = " (" + allowed|join("|") + ")" %}
                    {% endif %}
                {% endif %}

                <li>
                    <a href="#{{name}}" title="{{description}}">{{name}}</a>: <span class="type_{{type}}">{{type}}{{allowed_values}}
                    {% if required %}
                        <span class="required tag">required</span>
                    {% endif %}
                </li>
            {% endfor %}
            </ul>
            }
        </div>


        <a class="anchor" name="cat3"></a>
        <h2>Child Objects</h2>

        <div class="box">
            {% if model['relations']|count == 0 %}
            <p> This object has no children</p>
            {% endif %}

            <ul>
            {% for relation in model['relations']|sort %}

            {% set api = relation['api'] %}
<commit_msg>add a coma when needed<commit_after><html>
<header>
    <link rel="stylesheet" type="text/css" href="css/style.css" />
</header>

<body>

    <div class="header">
        <div class="summary">
            <h1>{{model['name']}}</h1>
            <p>{{model['description']}}</p>
        </div>
        <div class="nav">
            <table>
                <tr>
                    <td><a href="index.html">API Reference</a></td>
                    <td><a href="#cat1">Accessing {{model['plural_name']}}</a></td>
                    <td><a href="#cat2">Attributes Overview</a></td>
                    <td><a href="#cat3">Child Objects</a></td>
                    <td><a href="#cat4">Attributes Documentation</a></td>
                </tr>

            </table>
        </div>
    </div>


    <div class="main">

        <a class="anchor" name="cat1"></a>
        <h2>Accessing {{model['plural_name']}}</h2>
        <div class="box">
            <ul>
            {% for api in model['apis']|sort(attribute='path') %}

                {% set methods = [] %}
                {% for operation in api['operations']|sort %}
                    {% do methods.append('<span title="' + operation['summary'] + '">' + operation['method'] + '</span>') %}
                {% endfor %}

                {% if 'parent' in api %}
                    {% set parent_resource = api['parent']['resource_name'] %}
                    {% set parent_url = api['parent']['remote_name'] %}
                    {% set model_name = model['resource_name'] %}
                    <li>/<a href="{{parent_url}}.html">{{parent_resource}}</a>/{id}/{{model_name}} <span class="httpmethods">[{{methods|join("|")}}]</span><li>
                {% else %}
                    <li>{{api['path']}} <span class="httpmethods">[{{methods|join("|")}}]</span><li>
                {% endif %}

            {% endfor %}
            </ul>

        </div>

        <a class="anchor" name="cat2"></a>
        <h2>Attributes Overview</h2>
        <div class="box">
            {
            <ul>
            {% for name, attribute in model['properties']|dictsort %}
                {% set type = attribute['type'] %}
                {% set description = attribute['description'] %}
                {% set required = attribute['required'] == 'true' %}
                {% set allowed = [] %}
                {% set allowed_values = "" %}

                {% if attribute['enum'] %}
                    {% for value in attribute['enum']|sort %}
                        {% do allowed.append(value) %}
                    {% endfor %}
                    {% if allowed|count > 0 %}
                        {% set allowed_values = " (" + allowed|join("|") + ")" %}
                    {% endif %}
                {% endif %}

                <li>
                    <a href="#{{name}}" title="{{description}}">{{name}}</a>: <span class="type_{{type}}">{{type}}{{allowed_values}}</span>{% if required %} <span class="required tag">required</span>{% endif %}{% if not loop.last %},{% endif %}
                </li>
            {% endfor %}
            </ul>
            }
        </div>


        <a class="anchor" name="cat3"></a>
        <h2>Child Objects</h2>

        <div class="box">
            {% if model['relations']|count == 0 %}
            <p> This object has no children</p>
            {% endif %}

            <ul>
            {% for relation in model['relations']|sort %}

            {% set api = relation['api'] %}

{'fraction_non_alphanumeric': 0.19819173363949483, 'fraction_numerical': 0.004879448909299655, 'mean_word_length': 1.507736595897805, 'pattern_counts': {'":': 0, '<': 170, '<?xml version=': 0, '>': 172, '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': '3210521', 'n_tokens_mistral': 2127, 'n_tokens_neox': 1836, 'n_words': 358}