<commit_before>class TaxPayer < ApplicationRecord
  include HTTParty
  debug_output $stdout
  base_uri "http://devapi.gstsystem.co.in/taxpayerapi/v0.2"

  def generate_encoded_aes_256_bit_key

    cipher = OpenSSL::Cipher.new('aes-256-ecb')
    cipher.encrypt
    key = cipher.random_key
    #iv = cipher.random_iv #Not required for ECB

    Base64.encode64(key)
  end
<commit_msg>Debugging HTTParty requests by logging request and response<commit_after>class TaxPayer < ApplicationRecord
  include HTTParty
  debug_output Rails.logger
  logger  ::Logger.new(STDERR)
  base_uri "http://devapi.gstsystem.co.in/taxpayerapi/v0.2"

  def generate_encoded_aes_256_bit_key

    cipher = OpenSSL::Cipher.new('aes-256-ecb')
    cipher.encrypt
    key = cipher.random_key
    #iv = cipher.random_iv #Not required for ECB

    Base64.encode64(key)
  end

{'fraction_non_alphanumeric': 0.09123222748815166, 'fraction_numerical': 0.02843601895734597, 'mean_word_length': 4.059880239520958, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6923615', 'n_tokens_mistral': 326, 'n_tokens_neox': 293, 'n_words': 57}