<commit_before>class VoiceFeedbackController < ApplicationController

  @@app_url = "1000in1000.com"

  def route_to_survey
    if !session[:survey_started]
    #if !params.has_key?("Digits") 
      session[:survey_started] = true
      response_xml = Twilio::TwiML::Response.new do |r| 
        r.Gather :timeout => 15, :numDigits => 4 do |g|
          g.Play VoiceFile.find_by_short_name("welcome").url
        end
        r.Redirect "route_to_survey"
      end.text
    # Eventually replace below with lookup and validation of property code
    else<commit_msg>Change welcome URL to hack the cache on Twilio<commit_after>class VoiceFeedbackController < ApplicationController

  @@app_url = "1000in1000.com"

  def route_to_survey
    if !session[:survey_started]
    #if !params.has_key?("Digits") 
      session[:survey_started] = true
      response_xml = Twilio::TwiML::Response.new do |r| 
        r.Gather :timeout => 15, :numDigits => 4 do |g|
          g.Play "#{VoiceFile.find_by_short_name("welcome").url} + '?version=1'"
        end
        r.Redirect "route_to_survey"
      end.text
    # Eventually replace below with lookup and validation of property code
    else
{'fraction_non_alphanumeric': 0.10330228619813717, 'fraction_numerical': 0.01947502116850127, 'mean_word_length': 3.2981818181818183, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '242823', 'n_tokens_mistral': 401, 'n_tokens_neox': 367, 'n_words': 90}