<commit_before># -*- coding: utf-8 -*-
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rubygems'
require 'savon'
require 'net/https'
require 'digest/md5'

require 'base/attributable'
require 'base/struct'
require 'base/enumeration'
require 'base/mappings'
require 'base/sequence'
require 'base/predeclarations'
require 'base/exception'
require 'base/icontrol_overlay'

Savon.log = false
HTTPI::Adapter.use = :net_http

# The idea is to create an object proxy to the web service client with the same structure
# than the IControl stuff

module IControl 

  # @private NotConfiguredException 
  class NotConfiguredException < Exception
  end 

  # @private NotEnoughParams 
  class NotEnoughParams < Exception
  end

  class << self
    attr_accessor :config
    
    def configured?<commit_msg>Added the xml crack modified library in the require section<commit_after># -*- coding: utf-8 -*-
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rubygems'
require 'savon'
require 'net/https'
require 'digest/md5'

require 'base/attributable'
require 'base/struct'
require 'base/enumeration'
require 'base/mappings'
require 'base/sequence'
require 'base/predeclarations'
require 'base/exception'
require 'base/icontrol_overlay'
require 'base/xml'

Savon.log = false
HTTPI::Adapter.use = :net_http

# The idea is to create an object proxy to the web service client with the same structure
# than the IControl stuff

module IControl 

  # @private NotConfiguredException 
  class NotConfiguredException < Exception
  end 

  # @private NotEnoughParams 
  class NotEnoughParams < Exception
  end

  class << self
    attr_accessor :config
    
    def configured?
{'fraction_non_alphanumeric': 0.08860759493670886, 'fraction_numerical': 0.0024110910186859553, 'mean_word_length': 4.665529010238908, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '311794', 'n_tokens_mistral': 525, 'n_tokens_neox': 500, 'n_words': 156}