<commit_before>extends base

append styles
  link(href='/chatphrase.css', rel='stylesheet', type='text/css')

append scripts
  script(src='/adapter.js')

block body
  #landing.page.active
    .centercell
      h1.sitename chatphrase
      form(onsubmit="goToPhrase(document.getElementById('phrase').value);return false;")
        input#phrase(type='text',pattern='.+')
        button#gobutton(type="submit") &#x2794;
  #limbo.page.inactive
    #virgil
  #room.page.inactive
    #waiting
    video(autoplay)#vidscreen
    video(autoplay,muted)#pip<commit_msg>Tighten up phrase validation<commit_after>extends base

append styles
  link(href='/chatphrase.css', rel='stylesheet', type='text/css')

append scripts
  script(src='/adapter.js')

block body
  #landing.page.active
    .centercell
      h1.sitename chatphrase
      form(onsubmit="goToPhrase(document.getElementById('phrase').value);return false;")
        input#phrase(type='text',pattern='.*[\\w\\-\\&\\%].*',required)
        button#gobutton(type="submit") &#x2794;
  #limbo.page.inactive
    #virgil
  #room.page.inactive
    #waiting
    video(autoplay)#vidscreen
    video(autoplay,muted)#pip
{'fraction_non_alphanumeric': 0.15570934256055363, 'fraction_numerical': 0.00865051903114187, 'mean_word_length': 4.259090909090909, 'pattern_counts': {'":': 0, '<': 3, '<?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': '607984', 'n_tokens_mistral': 410, 'n_tokens_neox': 398, 'n_words': 56}