<commit_before><table ng-init="input = userdata.sessionList[0].id">
    <td colspan="2">
        <span class="section-group-title">
            {{ 'Select the sessions you wish to attend to' | i18n }}:
        </span>
    </td>
    <tr>
        <td>
            <span>{{ 'Preferred choice' | i18n }}</span>
            <span class="regFormMandatoryField">*</span>
        </td>
        <td>
            <div name="nestedForm">
                <select id="session1" name="session1" required
                    ng-model="input"
                    ng-class="{hasError: validationStarted && nestedForm.$invalid}">
                    <option value="">
                        {{ '--Select a session--' | i18n }}
                    </option>
                    <option ng-repeat="item in section.items | filter: {enabled: true}"
                        value="{{ item.id }}"
                        ng-selected="item.id == userdata.sessionList[0].id">
                        {{ item.caption }}
                    </option>
                </select>
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <span>{{ 'Secondary choice' | i18n }}</span>
            <span class="italic">(Optional)</span>
        </td>
        <td>
            <select id="session2" name="session2">
                <option value="">
                    {{ '--Select a session--' | i18n }}<commit_msg>RegForm: Fixed error feedback on session choice<commit_after><table ng-init="input = userdata.sessionList[0].id">
    <td colspan="2">
        <span class="section-group-title">
            {{ 'Select the sessions you wish to attend to' | i18n }}:
        </span>
    </td>
    <tr>
        <td>
            <span>{{ 'Preferred choice' | i18n }}</span>
            <span class="regFormMandatoryField">*</span>
        </td>
        <td>
            <form name="nestedForm">
                <select id="session1" name="session1" required
                    ng-model="input"
                    ng-class="{hasError: validationStarted && nestedForm.$invalid}">
                    <option value="">
                        {{ '--Select a session--' | i18n }}
                    </option>
                    <option ng-repeat="item in section.items | filter: {enabled: true}"
                        value="{{ item.id }}"
                        ng-selected="item.id == userdata.sessionList[0].id">
                        {{ item.caption }}
                    </option>
                </select>
            </form>
        </td>
    </tr>
    <tr>
        <td>
            <span>{{ 'Secondary choice' | i18n }}</span>
            <span class="italic">(Optional)</span>
        </td>
        <td>
            <select id="session2" name="session2">
                <option value="">
                    {{ '--Select a session--' | i18n }}
{'fraction_non_alphanumeric': 0.1573943661971831, 'fraction_numerical': 0.011971830985915493, 'mean_word_length': 1.315403422982885, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '2896901', 'n_tokens_mistral': 810, 'n_tokens_neox': 756, 'n_words': 172}