<commit_before>require 'active_support'
require 'httparty'
require 'json'

require 'gnip-rules/api'
require 'gnip-rules/response'
require 'gnip-rules/rule'

module Gnip
  class Rules
    include HTTParty
    include Gnip::API

    headers 'Accept' => 'application/json', 'Content-Type' => 'application/json'
    format :json
<commit_msg>Require rubygems<commit_after>require 'rubygems'
require 'active_support'
require 'httparty'
require 'json'

require 'gnip-rules/api'
require 'gnip-rules/response'
require 'gnip-rules/rule'

module Gnip
  class Rules
    include HTTParty
    include Gnip::API

    headers 'Accept' => 'application/json', 'Content-Type' => 'application/json'
    format :json

{'fraction_non_alphanumeric': 0.11781609195402298, 'fraction_numerical': 0.0, 'mean_word_length': 4.713114754098361, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6048938', 'n_tokens_mistral': 231, 'n_tokens_neox': 224, 'n_words': 57}