<commit_before>#!/usr/bin/env bundle exec ruby
require 'zendesk'

client = Zendesk.configure do |config|
  config.username = "<EMAIL>"
  config.password = <PASSWORD>
  config.url = "http://dev.localhost:3000/api/v2/"
  config.log = true
  config.retry = true
end

client.tickets.create(:abcd => "ABASDA")<commit_msg>revert example<commit_after>#!/usr/bin/env bundle exec ruby
require 'zendesk'

client = Zendesk.configure do |config|
  config.username = "<EMAIL>"
  config.password = <PASSWORD>
  config.url = "http://dev.localhost:3000/api/v2/"
  config.log = true
  config.retry = true
end

tickets = client.tickets
recent_tickets = tickets.recent
{'fraction_non_alphanumeric': 0.14329738058551617, 'fraction_numerical': 0.015408320493066256, 'mean_word_length': 4.371900826446281, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, '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': '7404614', 'n_tokens_mistral': 238, 'n_tokens_neox': 225, 'n_words': 48}