<commit_before>Gather = Bandwidth::Xml::Verbs::Gather
describe Gather do
  describe '#to_xml' do
    it 'should generate valid xml' do
      expect(Helper.to_xml(Gather.new(:request_url => "http://localhost"))).to eql("<?xml version=\"1.0\" encoding=\"UTF-8\"?><Response><Gather requestUrl=\"http://localhost\"/></Response>")
      expect(Helper.to_xml(Gather.new(:request_url => "http://localhost", :max_digits => 2))).to eql("<?xml version=\"1.0\" encoding=\"UTF-8\"?><Response><Gather requestUrl=\"http://localhost\" maxDigits=\"2\"/></Response>")
    end
  end
end
<commit_msg>Gather should generate valid XML.<commit_after>Gather = Bandwidth::Xml::Verbs::Gather
describe Gather do
  describe '#to_xml' do
    it 'should generate valid xml' do
      expect(Helper.to_xml(Gather.new(:request_url => "http://localhost"))).to eql("<?xml version=\"1.0\" encoding=\"UTF-8\"?><Response><Gather requestUrl=\"http://localhost\"></Gather></Response>")
      expect(Helper.to_xml(Gather.new(:request_url => "http://localhost", :max_digits => 2))).to eql("<?xml version=\"1.0\" encoding=\"UTF-8\"?><Response><Gather requestUrl=\"http://localhost\" maxDigits=\"2\"></Gather></Response>")
    end
  end
end

{'fraction_non_alphanumeric': 0.22120200333889817, 'fraction_numerical': 0.01335559265442404, 'mean_word_length': 5.055555555555555, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 4, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, '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': '2479144', 'n_tokens_mistral': 390, 'n_tokens_neox': 387, 'n_words': 68}