<commit_before>{% extends 'OjsOAIBundle:Default:layout.xml.twig' %}
{% block content %}
    <request verb="ListSets">http://ojs.dev/oai</request>
    <ListSets>
        {% for record in records %}
            <set>
                <setSpec>{{ record.slug }}</setSpec>
                <setName>{{ record.title }}</setName>
                <setDescription>
                    <{{ metadataPrefix }}:dc
                            xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"
                            xmlns:dc="http://purl.org/dc/elements/1.1/"
                            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                            xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/
						http://www.openarchives.org/OAI/2.0/oai_dc.xsd"
                            >
                        <dc:description>{{ record.subtitle }}</dc:description>
                    </{{ metadataPrefix }}:dc>
                </setDescription>
            </set>
        {% endfor %}
        {% if isLast != false %}
            <resumptionToken expirationDate="{{ "+1 days"|date("Y-m-d\\TH:i:s\\Z") }}"
                             completeListSize="{{ records.getTotalItemCount }}"
                             cursor="{{ currentPage }}">{{ resumptionToken }}</resumptionToken>
        {% endif %}
    </ListSets>
{% endblock %}<commit_msg>Replace removed article subtitle field with article abstract field<commit_after>{% extends 'OjsOAIBundle:Default:layout.xml.twig' %}
{% block content %}
    <request verb="ListSets">http://ojs.dev/oai</request>
    <ListSets>
        {% for record in records %}
            <set>
                <setSpec>{{ record.slug }}</setSpec>
                <setName>{{ record.title }}</setName>
                <setDescription>
                    <{{ metadataPrefix }}:dc
                            xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"
                            xmlns:dc="http://purl.org/dc/elements/1.1/"
                            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                            xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/
						http://www.openarchives.org/OAI/2.0/oai_dc.xsd"
                            >
                        <dc:description>{{ record.abstract|striptags }}</dc:description>
                    </{{ metadataPrefix }}:dc>
                </setDescription>
            </set>
        {% endfor %}
        {% if isLast != false %}
            <resumptionToken expirationDate="{{ "+1 days"|date("Y-m-d\\TH:i:s\\Z") }}"
                             completeListSize="{{ records.getTotalItemCount }}"
                             cursor="{{ currentPage }}">{{ resumptionToken }}</resumptionToken>
        {% endif %}
    </ListSets>
{% endblock %}
{'fraction_non_alphanumeric': 0.15961606825453253, 'fraction_numerical': 0.009953785993601137, 'mean_word_length': 1.5420054200542006, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 8}, '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': '6436245', 'n_tokens_mistral': 873, 'n_tokens_neox': 796, 'n_words': 110}