<commit_before>module SimpleTwitter
  class Search
    TWITTER_SEARCH= "http://search.twitter.com/search.json"
    attr_accesor (:per_page)
    def initialize
      @per_page=10
    end
    def search(query)
      params={
        :q=>query,
        :rpp=>@per_page,}
      response=HTTParty.get(TWITTER_SEARCH,:query =>params,)
      JSON.parse(response.body)
    end
  end
end
<commit_msg>query and response<commit_after>module SimpleTwitter
  class Search
    TWITTER_SEARCH= "http://search.twitter.com/search.json"
    attr_accesor (:per_page)
    def initialize
      @per_page=10
    end
    def search(query)
      params={
        :q=>query,
        :rpp=>@per_page,}
      response=HTTParty.get(TWITTER_SEARCH,:query =>params,)
      JSON.parse(response.body)
    end
  end
end
{'fraction_non_alphanumeric': 0.11450381679389313, 'fraction_numerical': 0.005089058524173028, 'mean_word_length': 2.896039603960396, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '7363578', 'n_tokens_mistral': 284, 'n_tokens_neox': 269, 'n_words': 48}