<commit_before># ImportConverter created by ActiveImport

class <%= @converter_name.camelize %>Converter < ActiveImport::ModelConverter
    def setup 
<% @attributes.each do |attribute| -%>
<% unless ["id", "created_at", "updated_at"].include? attribute -%>
        add_column :<%= attribute %>, :match => "<%= attribute %>", :type => :<%= @model.columns_hash[attribute].type %>, :mandatory => true 
<% end -%>
<% end -%>
    end

    def before
    end

    def <%= @model_name %>_attributes
        attributes = {}<commit_msg>Added beginning and end regex symbols to the generated columns for matching.<commit_after># ImportConverter created by ActiveImport

class <%= @converter_name.camelize %>Converter < ActiveImport::ModelConverter
    def setup 
<% @attributes.each do |attribute| -%>
<% unless ["id", "created_at", "updated_at"].include? attribute -%>
        add_column :<%= attribute %>, :match => "^<%= attribute %>$", :type => :<%= @model.columns_hash[attribute].type %>, :mandatory => true
<% end -%>
<% end -%>
    end

    def before
    end

    def <%= @model_name %>_attributes
        attributes = {}
{'fraction_non_alphanumeric': 0.17232142857142857, 'fraction_numerical': 0.0, 'mean_word_length': 3.9166666666666665, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 27, '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': '1888478', 'n_tokens_mistral': 359, 'n_tokens_neox': 326, 'n_words': 85}