<commit_before>class Schema
  include ActiveModel::Serializers::JSON

  class Event
    include Rails.application.routes.url_helpers

    def initialize(show)
      @show = show
    end

    def as_json(*)
      {
        :@type => "Event",
        :location => @show.venue.location,
        :startDate => @show.performed_at.to_date,
        :url => @show.url.presence || "http://aqueousband.com/shows/#{@show.to_param}"<commit_msg>Add name to events<commit_after>class Schema
  include ActiveModel::Serializers::JSON

  class Event
    include Rails.application.routes.url_helpers

    def initialize(show)
      @show = show
    end

    def as_json(*)
      {
        :@type => "Event",
        :name => "#{@show.venue.location} @ #{@show.venue.name}",
        :location => @show.venue.location,
        :startDate => @show.performed_at.to_date,
        :url => @show.url.presence || "http://aqueousband.com/shows/#{@show.to_param}"
{'fraction_non_alphanumeric': 0.14866310160427806, 'fraction_numerical': 0.0, 'mean_word_length': 2.820408163265306, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, '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': '192808', 'n_tokens_mistral': 305, 'n_tokens_neox': 300, 'n_words': 53}