<commit_before>module Extra
  class Base
    def [](key)
      @data[1]
    end

    def initialize(data)
      @data = data
    end

    def persisted?
      self[:persisted]
    end

    def self.get(path, params)
      parse_get("#{path}?#{to_params(params)}").map { |params| new params }
    end
<commit_msg>update base persisted data<commit_after>module Extra
  class Base
    def [](key)
      @data[1]
    end

    def initialize(data)
      @data = data
    end

    def persisted?
      @data[:persisted]
    end

    def self.get(path, params)
      parse_get("#{path}?#{to_params(params)}").map { |params| new params }
    end

{'fraction_non_alphanumeric': 0.12695924764890282, 'fraction_numerical': 0.003134796238244514, 'mean_word_length': 2.435483870967742, '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': '3695041', 'n_tokens_mistral': 220, 'n_tokens_neox': 210, 'n_words': 53}