<commit_before>require_dependency "sms_broker/application_controller"

module SmsBroker
  class IncomingMessagesController < ApplicationController
    http_basic_authenticate_with name: ENV['SMS_RECEIVE_USER'], password: ENV['SMS_RECEIVE_PASSWORD']

    def receive
      message = IncomingMessage.new
      message.sender = params[:SND]
      message.recipient = params[:RCV]
      message.text = params[:TXT]<commit_msg>Removed authentication from controller<commit_after>require_dependency "sms_broker/application_controller"

module SmsBroker
  class IncomingMessagesController < ApplicationController
    def receive
      message = IncomingMessage.new
      message.sender = params[:SND]
      message.recipient = params[:RCV]
      message.text = params[:TXT]
{'fraction_non_alphanumeric': 0.07702349869451697, 'fraction_numerical': 0.0, 'mean_word_length': 4.9921875, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '5828922', 'n_tokens_mistral': 221, 'n_tokens_neox': 214, 'n_words': 41}