<commit_before>extends base

block content
	div.jumbotron
		h1 Welcome to UW Chatrooms
		h3 An impromptu chat room with the people around you, with no signups!
		p#numConnected

		form#loginForm(method="POST", action="/main")
			div.input-group
				input#usernameInput.form-control(type="text", name="username", placeholder="Enter a name and start chatting!")
				span.input-group-btn
					button#setUsername.btn.btn-info(type="submit button") Go!
		
		if (usernameInvalid) 
			div.label.label-danger Please enter a valid name (a-z,A-Z,0-9,-,_)<commit_msg>Improved invalid username error message<commit_after>extends base

block content
	div.jumbotron
		h1 Welcome to UW Chatrooms
		h3 An impromptu chat room with the people around you, with no signups!
		p#numConnected

		form#loginForm(method="POST", action="/main")
			div.input-group
				input#usernameInput.form-control(type="text", name="username", placeholder="Enter a name and start chatting!")
				span.input-group-btn
					button#setUsername.btn.btn-info(type="submit button") Go!
		
		if (usernameInvalid) 
			div.label.label-danger Usernames can only contain alphanumeric characters, hyphens, and underscores
{'fraction_non_alphanumeric': 0.10418445772843724, 'fraction_numerical': 0.005123825789923143, 'mean_word_length': 4.634615384615385, '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': '3576205', 'n_tokens_mistral': 412, 'n_tokens_neox': 360, 'n_words': 102}