<commit_before><template>
    <div :id="id || null"
         :class="inputClass"
         role="radiogroup"
         :aria-required="required ? 'true' : null"
         :aria-invalid="ariaInvalid"
    >
        <label :class="[checkboxClass, custom?'custom-radio':null]"
               v-for="option in formOptions"
        >
            <input :id="option.id || null"
                   :class="custom?'custom-control-input':null"
                   ref="inputs"
                   type="radio"
                   autocomplete="off"
                   v-model="localValue"
                   :value="option.value"
                   :name="name"
                   :required="name && required"
                   :disabled="option.disabled || disabled"
                   @change="$emit('change', returnObject ? option : option.value)"
            >
            <span v-if="custom" class="custom-control-indicator" aria-hidden="true"></span>
            <span :class="custom?'custom-control-description':null" v-html="option.text"></span>
        </label>
    </div><commit_msg>feat(form-radio): ARIA - Add IDs to individual radios (#663)<commit_after><template>
    <div :id="id || null"
         :class="inputClass"
         role="radiogroup"
         :aria-required="required ? 'true' : null"
         :aria-invalid="ariaInvalid"
    >
        <label :class="[checkboxClass, custom?'custom-radio':null]"
               v-for="(option, idx) in formOptions"
        >
            <input :id="id ? (id + '__BV_radio_' + idx) : null"
                   :class="custom?'custom-control-input':null"
                   ref="inputs"
                   type="radio"
                   autocomplete="off"
                   v-model="localValue"
                   :value="option.value"
                   :name="name"
                   :required="name && required"
                   :disabled="option.disabled || disabled"
                   @change="$emit('change', returnObject ? option : option.value)"
            >
            <span v-if="custom" class="custom-control-indicator" aria-hidden="true"></span>
            <span :class="custom?'custom-control-description':null" v-html="option.text"></span>
        </label>
    </div>
{'fraction_non_alphanumeric': 0.15329448677722995, 'fraction_numerical': 0.001344688480502017, 'mean_word_length': 1.7252747252747254, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '3686588', 'n_tokens_mistral': 614, 'n_tokens_neox': 582, 'n_words': 96}