<commit_before>require "json"
require "net/http"
require "net/https"

module Integrity
  class Notifier
    class Hooks < Notifier::Base
      attr_reader :uri

      def self.to_haml
        <<-HAML
%p.normal
  %label{ :for => "irc_notifier_uri" } Send to
  To send to multiple URLs, separate the URLs with three stars (***)
  %input.text#irc_notifier_uri{                          |
    :name => "notifiers[Hooks][uri]",                    |
    :type => "text",                                     |<commit_msg>fix the form so we don't have 'irc', but 'hooks' in field names<commit_after>require "json"
require "net/http"
require "net/https"

module Integrity
  class Notifier
    class Hooks < Notifier::Base
      attr_reader :uri

      def self.to_haml
        <<-HAML
%p.normal
  %label{ :for => "hooks_notifier_uri" } Send to
  To send to multiple URLs, separate the URLs with three stars (***)
  %input.text#hooks_notifier_uri{                       |
    :name => "notifiers[Hooks][uri]",                    |
    :type => "text",                                     |
{'fraction_non_alphanumeric': 0.11306765523632993, 'fraction_numerical': 0.0, 'mean_word_length': 1.9834254143646408, 'pattern_counts': {'":': 0, '<': 9, '<?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': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '497987', 'n_tokens_mistral': 338, 'n_tokens_neox': 322, 'n_words': 92}