<commit_before>ActiveAdmin.register Event do
  menu priority: 14
  index do
    column :name
    column :location do |event|
      [
        event.location,
        event.street,
        event.zipcode,
        event.city
      ].delete_if { |info| info.empty? }.join ", "
    end
    column :url do |event|
      a "Link", href: event.url
    end
    column :twitter do |event|
      a "@#{event.twitter}", href: "http://twitter.com/#{event.twitter}" unless event.twitter.blank?<commit_msg>default sort order ftw<commit_after>ActiveAdmin.register Event do
  config.sort_order = "name_asc"
  menu priority: 14
  index do
    column :id
    column :name
    column :location do |event|
      [
        event.location,
        event.street,
        event.zipcode,
        event.city
      ].delete_if { |info| info.empty? }.join ", "
    end
    column :url do |event|
      a "Link", href: event.url
    end
    column :twitter do |event|
      a "@#{event.twitter}", href: "http://twitter.com/#{event.twitter}" unless event.twitter.blank?
{'fraction_non_alphanumeric': 0.12632594021215043, 'fraction_numerical': 0.003857280617164899, 'mean_word_length': 2.3701298701298703, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3904975', 'n_tokens_mistral': 327, 'n_tokens_neox': 322, 'n_words': 90}