<commit_before>require "ostruct"
module Braspag
  class SavonAdapter
    def self.call(wsdl_url, action, params)
      log = Braspag.logging ? true : false
      client = Savon.client(wsdl: wsdl_url, pretty_print_xml: true, log: log)<commit_msg>No need to create a variable for log<commit_after>require "ostruct"
module Braspag
  class SavonAdapter
    def self.call(wsdl_url, action, params)
      client = Savon.client(wsdl: wsdl_url, pretty_print_xml: true, log: Braspag.logging == true)
{'fraction_non_alphanumeric': 0.09183673469387756, 'fraction_numerical': 0.0, 'mean_word_length': 4.64367816091954, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5189170', 'n_tokens_mistral': 171, 'n_tokens_neox': 163, 'n_words': 45}