<commit_before>ActiveAdmin.register Preset do

  
  # See permitted parameters documentation:
  # https://github.com/gregbell/active_admin/blob/master/docs/2-resource-customization.md#setting-up-strong-parameters
  #
  # permit_params :list, :of, :attributes, :on, :model
  #
  # or
  #
  # permit_params do
  #  permitted = [:permitted, :attributes]
  #  permitted << :other if resource.something?
  #  permitted
  # end
  form do |f|
    f.inputs "Preset" do
      f.input :name
      f.input :owner
      f.input :events_raw, :as => :text
    end
    f.actions
  end
  
end<commit_msg>fix presets<commit_after>ActiveAdmin.register Preset do

  
  # See permitted parameters documentation:
  # https://github.com/gregbell/active_admin/blob/master/docs/2-resource-customization.md#setting-up-strong-parameters
  #
  # permit_params :list, :of, :attributes, :on, :model
  #
  # or
  #
  # permit_params do
  #  permitted = [:permitted, :attributes]
  #  permitted << :other if resource.something?
  #  permitted
  # end
  form do |f|
    f.inputs "Preset" do
      f.input :name
      f.input :user
      f.input :events_raw, :as => :text
    end
    f.actions
  end
  
end
{'fraction_non_alphanumeric': 0.12105711849957375, 'fraction_numerical': 0.0017050298380221654, 'mean_word_length': 2.9395973154362416, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '1158551', 'n_tokens_mistral': 405, 'n_tokens_neox': 408, 'n_words': 88}