<commit_before><div class="form-group">
    <% if options[:label].present? %>
        <label><%= options[:label] %></label>
    <% end %>
    <div class="input-group">
        <div class="icheck-inline">
            <% if options[:radios].present? %>
                <% options[:radios].each_with_index do |radio,id| %>
                    <label>
                        <input type="radio" id="radio-<%= id %>" name="<%= radio.second %>" class="icheck" data-radio="iradio_flat-grey"> <%= radio.first %>
                    </label>
                <% end %>
            <% end %>
        </div>
    </div>
</div><commit_msg>update _radio helper<commit_after><div class="form-group">
    <% if options[:label].present? %>
        <label><%= options[:label] %></label>
    <% end %>
    <div class="input-group">
        <div class="icheck-inline">
            <% if options[:options].present? %>
                <% options[:options].each do |option| %>
                    <label>
                        <input type="radio" class="icheck" data-radio="iradio_flat-grey"
                            <%= 'checked' if options[:value] == option[:value] %>
                            name="<%= options[:name] if options[:name].present? %>"
                            value="<%= option[:value] if option[:value].present? %>"
                        > <%= option[:text] %>
                    </label>
                <% end %>
            <% end %>
        </div>
    </div>
</div>
{'fraction_non_alphanumeric': 0.19079837618403248, 'fraction_numerical': 0.0, 'mean_word_length': 1.5947368421052632, 'pattern_counts': {'":': 0, '<': 46, '<?xml version=': 0, '>': 46, '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': '4327060', 'n_tokens_mistral': 449, 'n_tokens_neox': 399, 'n_words': 75}