<commit_before># require 'pry'
require './calfresh'
require './faxer'

writer = Calfresh::ApplicationWriter.new

signature_blob = "<KEY>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA<KEY>"
input_hash = { case_number: '155', felony_counts: '2', code_sections: 'Rhinocerous', sentence_is_complete: true, sentence_is_in_progress: false, mailing_address: '155 9th Street, San Francisco, CA, 94114', name_of_defendant: 'Example Defendant Name', name_of_counsel: 'Nikzei', email: '<EMAIL>' }
input_hash[:signature] = signature_blob
# @todo: Add second signature for counsel.

app = writer.fill_out_form(input_hash)

if app.has_pngs?
  puts "faxing mock"
  # Faxer.send_fax(ENV['FAX_DESTINATION_NUMBER'], app.png_file_set)
end

# binding.pry<commit_msg>[#22] Remove no-longer-relevant fields from runner<commit_after># require 'pry'
require './calfresh'
require './faxer'

writer = Calfresh::ApplicationWriter.new

signature_blob = "<KEY>"
input_hash = { case_number: '155', sentence_is_complete: true, sentence_is_in_progress: false, mailing_address: '155 9th Street, San Francisco, CA, 94114', name_of_defendant: 'Example Defendant Name', name_of_counsel: 'Nikzei', email: '<EMAIL>' }
input_hash[:signature] = signature_blob
# @todo: Add second signature for counsel.

app = writer.fill_out_form(input_hash)

if app.has_pngs?
  puts "faxing mock"
  # Faxer.send_fax(ENV['FAX_DESTINATION_NUMBER'], app.png_file_set)
end

# binding.pry
{'fraction_non_alphanumeric': 0.11917443408788282, 'fraction_numerical': 0.017976031957390146, 'mean_word_length': 7.5397727272727275, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, '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': '1107246', 'n_tokens_mistral': 536, 'n_tokens_neox': 488, 'n_words': 114}