<commit_before>require 'json'
module Lita
  module Handlers
    class Meet < Handler
      config :name_of_auth_group, type: Symbol, default: :standup_participants, required: true
      config :time_to_respond, types: [Integer, Float], default: 60 #minutes
      config :api_key, type: String, default: '<KEY>'
      config :enable_http
      config :standup_message, type: String, default: "Please tell me what you did yesterday, 1. what you're doing now 2. what you're working on today 3. something fun. Please prepend your answer with 'standup response'", required: true


      # handler bot routes
      route(/start standup$/, :start_standup, command: true, help: {"start standup" => "triggers a standup"})
      route(/standup response (1.*)(2.*)(3.*)/, :store_response, command: true, help: {"standup response" => "record list of 1. 2. 3. items and replay in room"})
      route(/^standup play$/, :update_room, command: true, help: {"standup play" => "plays all the responses recieved" })
      route(/^standup playback (\d{4})(\d{2})(\d{2})$/, :playback, command: true, help: {"standup playback date" => "plays back a standup from a given date. Date must be in yyyymmdd format"})<commit_msg>fixed the order of things<commit_after>require 'json'
module Lita
  module Handlers
    class Meet < Handler
      config :name_of_auth_group, type: Symbol, default: :standup_participants, required: true
      config :time_to_respond, types: [Integer, Float], default: 60 #minutes
      config :api_key, type: String, default: '<KEY>'
      config :enable_http
      config :standup_message, type: String, default: "1. Please tell me what you did yesterday, 2. what you're doing now 3. what you're working on today 4. something fun. Please prepend your answer with 'standup response'", required: true


      # handler bot routes
      route(/start standup$/, :start_standup, command: true, help: {"start standup" => "triggers a standup"})
      route(/standup response (1.*)(2.*)(3.*)/, :store_response, command: true, help: {"standup response" => "record list of 1. 2. 3. items and replay in room"})
      route(/^standup play$/, :update_room, command: true, help: {"standup play" => "plays all the responses recieved" })
      route(/^standup playback (\d{4})(\d{2})(\d{2})$/, :playback, command: true, help: {"standup playback date" => "plays back a standup from a given date. Date must be in yyyymmdd format"})
{'fraction_non_alphanumeric': 0.13291925465838508, 'fraction_numerical': 0.012008281573498964, 'mean_word_length': 4.064989517819707, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, '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': '2195431', 'n_tokens_mistral': 757, 'n_tokens_neox': 708, 'n_words': 282}