<commit_before>module Charly
  struct Location
    property pos : UInt32
    property row : Int32
    property column : Int32
    property length : Int32
    property filename : String

    def initialize(@pos = 0_u32, @row = 0, @column = 0, @length = 0, @filename = "virtual")
    end

    def to_s(io)
      io << "#{@filename}:"
      io << "#{@row + 1}:#{@column + 1}:#{@length}".ljust(9, ' ')
    end
  end
end<commit_msg>Only display the basename of files<commit_after>module Charly
  struct Location
    property pos : UInt32
    property row : Int32
    property column : Int32
    property length : Int32
    property filename : String

    def initialize(@pos = 0_u32, @row = 0, @column = 0, @length = 0, @filename = "virtual")
    end

    def to_s(io)
      io << "#{File.basename(@filename)}:"
      io << "#{@row + 1}:#{@column + 1}:#{@length}".ljust(9, ' ')
    end
  end
end
{'fraction_non_alphanumeric': 0.1449438202247191, 'fraction_numerical': 0.038202247191011236, 'mean_word_length': 2.857142857142857, 'pattern_counts': {'":': 0, '<': 11, '<?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': '2860005', 'n_tokens_mistral': 321, 'n_tokens_neox': 298, 'n_words': 88}