<commit_before>class Bot::Plugin::Entitle < Bot::Plugin
  require 'json'
  require 'nokogiri'
  require 'open-uri'
  require 'timeout'

  def initialize(bot)
    @s = {
      trigger: { entitle: [
        :call, 0,
        'entitle list, entitle add <filter>, entitle delete <filter>, entitle twitch_client_id <id>. ' \
        'Filters are regular expressions. Using these filters ' \
        'Entitle looks for uninformative URLs and blurts their titles out.'
      ] },
      subscribe: true,
      timeout: 10,<commit_msg>feat(entitle): Increase default timeout from 10s to 20s<commit_after>class Bot::Plugin::Entitle < Bot::Plugin
  require 'json'
  require 'nokogiri'
  require 'open-uri'
  require 'timeout'

  def initialize(bot)
    @s = {
      trigger: { entitle: [
        :call, 0,
        'entitle list, entitle add <filter>, entitle delete <filter>, entitle twitch_client_id <id>. ' \
        'Filters are regular expressions. Using these filters ' \
        'Entitle looks for uninformative URLs and blurts their titles out.'
      ] },
      subscribe: true,
      timeout: 20,
{'fraction_non_alphanumeric': 0.10877513711151737, 'fraction_numerical': 0.009140767824497258, 'mean_word_length': 2.882978723404255, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '1857224', 'n_tokens_mistral': 345, 'n_tokens_neox': 327, 'n_words': 106}