<commit_before><routes xmlns="http://marklogic.com/router">
  <!-- Remember: You need to escape curly braces in 
       regular expression strings -->
  <route>
    <method>GET</method>
    <path trailing-slash="ignore">^/$</path>
    <redirect type="permanent">/questions</redirect>
  </route>
  <route>
    <method>GET</method>
    <path>^/favicon.ico$</path>
    <redirect type="permanent">/assets/favicon.ico</redirect>
  </route>
  <route>
    <annotation>Pass-through for everything in the assets directory.</annotation>
    <method>GET</method>
    <path>^/assets</path>
    <resolution>$0</resolution>
  </route>
  <route>
    <method>GET</method>
    <path>^/login$</path>
    <resolution>login.xqy</resolution>
  </route>
  <route>
    <method>POST</method>
    <path>^/login$</path>
    <resolution>login-handler.xqy</resolution>
  </route>
  <route>
    <method>POST</method>
    <path>^/logout$</path>
    <resolution>logout-handler.xqy</resolution>
  </route>
  <route>
    <method>GET</method>
    <path trailing-slash="ignore">^/questions$</path>
    <!-- Need to capture the query string. -->
    <resolution>questions.xqy$1</resolution>
  </route>
  <route>
    <method>GET</method>
    <path trailing-slash="ignore">^/questions$</path>
    <!-- Need to capture the query string. -->
    <resolution>questions.xqy$1</resolution>
    <parameters>q</parameters>
  </route>
  <route>
    <method>POST</method>
    <path trailing-slash="ignore">^/questions$</path>
    <resolution>create-new.xqy</resolution>
    <privilege>http://marklogic.com/socrates/new-question</privilege>
  </route>
  <route>
    <method>GET</method>
    <path trailing-slash="ignore">^/questions/new$</path>
    <resolution>new.xqy</resolution>
    <privilege>http://marklogic.com/socrates/new-question</privilege><commit_msg>Cleaning up parameter routing<commit_after><routes xmlns="http://marklogic.com/router">
  <!-- Remember: You need to escape curly braces in 
       regular expression strings -->
  <route>
    <method>GET</method>
    <path trailing-slash="ignore">^/$</path>
    <redirect type="permanent">/questions</redirect>
  </route>
  <route>
    <method>GET</method>
    <path>^/favicon.ico$</path>
    <redirect type="permanent">/assets/favicon.ico</redirect>
  </route>
  <route>
    <annotation>Pass-through for everything in the assets directory.</annotation>
    <method>GET</method>
    <path>^/assets</path>
    <resolution>$0</resolution>
  </route>
  <route>
    <method>GET</method>
    <path>^/login$</path>
    <resolution>login.xqy</resolution>
  </route>
  <route>
    <method>POST</method>
    <path>^/login$</path>
    <resolution>login-handler.xqy</resolution>
  </route>
  <route>
    <method>POST</method>
    <path>^/logout$</path>
    <resolution>logout-handler.xqy</resolution>
  </route>
  <route>
    <method>GET</method>
    <path trailing-slash="ignore">^/questions$</path>
    <resolution>questions.xqy</resolution>
  </route>
  <route>
    <method>POST</method>
    <path trailing-slash="ignore">^/questions$</path>
    <resolution>create-new.xqy</resolution>
    <privilege>http://marklogic.com/socrates/new-question</privilege>
  </route>
  <route>
    <method>GET</method>
    <path trailing-slash="ignore">^/questions/new$</path>
    <resolution>new.xqy</resolution>
    <privilege>http://marklogic.com/socrates/new-question</privilege>
{'fraction_non_alphanumeric': 0.1887966804979253, 'fraction_numerical': 0.0011855364552459987, 'mean_word_length': 3.66804979253112, 'pattern_counts': {'":': 0, '<': 173, '<?xml version=': 0, '>': 173, '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': '1014954', 'n_tokens_mistral': 1217, 'n_tokens_neox': 1136, 'n_words': 165}