<commit_before><ul xmlns:metal="http://xml.zope.org/namespaces/metal"
    metal:define-macro="errors"
    class="error-list"
    tal:condition="error">
    <li class="error" tal:repeat="msg error.messages()" i18n:translate="">${msg}</li>
</ul>

<div xmlns:metal="http://xml.zope.org/namespaces/metal"
    metal:define-macro="field"
    tal:switch="field.widget.hidden"
    tal:omit-tag="">
    <div tal:case="True" tal:omit-tag="">${structure:field.render()}</div>
    <div tal:case="False" class="field">
        <label i18n:translate="">${field.title}</label>
        ${structure:field.render()}
        <div tal:define="error field.error" metal:use-macro="view.form_utils['errors']"></div>
    </div>
</div><commit_msg>fix label 'for' attrib<commit_after><ul xmlns:metal="http://xml.zope.org/namespaces/metal"
    metal:define-macro="errors"
    class="error-list"
    tal:condition="error">
    <li class="error" tal:repeat="msg error.messages()" i18n:translate="">${msg}</li>
</ul>

<div xmlns:metal="http://xml.zope.org/namespaces/metal"
    metal:define-macro="field"
    tal:switch="field.widget.hidden"
    tal:omit-tag="">
    <div tal:case="True" tal:omit-tag="">${structure:field.render()}</div>
    <div tal:case="False" class="field">
        <label for="${field.oid}" i18n:translate="">${field.title}</label>
        ${structure:field.render()}
        <div tal:define="error field.error" metal:use-macro="view.form_utils['errors']"></div>
    </div>
</div>
{'fraction_non_alphanumeric': 0.22214673913043478, 'fraction_numerical': 0.005434782608695652, 'mean_word_length': 4.622137404580153, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3072362', 'n_tokens_mistral': 532, 'n_tokens_neox': 497, 'n_words': 65}