<commit_before>part of coUclient;

class ChatBubble
{
	String text;
	num timeToLive;
	DivElement bubble;
	SpanElement textElement;

	ChatBubble(this.text)
	{
		timeToLive = text.length * 0.1 + 3; //minimum 3s plus 0.1s per character
		if(timeToLive > 15) //max 15s
		{
			timeToLive = 15; //messages over 15s will only display for 15s
		}
		timeToLive = 5000;
		bubble = new DivElement()
			..classes.add("PlayerChatBubble")
			..classes.add("ChatBubbleMax");
		textElement = new SpanElement()
			..classes.add("ChatBubbleMax") //prevent overflow
			..style.overflow = "hidden" //prevent overflow
			..style.display = "inline-block"
			..innerHtml = text; //uses default html tag sanitizer (allows img tags, does not allow links)
		
		bubble.append(textElement);
	}
}
<commit_msg>forgot to take out 5000s chat-bubble timer used for testing<commit_after>part of coUclient;

class ChatBubble
{
	String text;
	num timeToLive;
	DivElement bubble;
	SpanElement textElement;

	ChatBubble(this.text)
	{
		timeToLive = text.length * 0.1 + 3; //minimum 3s plus 0.1s per character
		if(timeToLive > 15) //max 15s
		{
			timeToLive = 15; //messages over 15s will only display for 15s
		}
		bubble = new DivElement()
			..classes.add("PlayerChatBubble")
			..classes.add("ChatBubbleMax");
		textElement = new SpanElement()
			..classes.add("ChatBubbleMax") //prevent overflow
			..style.overflow = "hidden" //prevent overflow
			..style.display = "inline-block"
			..innerHtml = text; //uses default html tag sanitizer (allows img tags, does not allow links)
		
		bubble.append(textElement);
	}
}

{'fraction_non_alphanumeric': 0.1192429022082019, 'fraction_numerical': 0.025236593059936908, 'mean_word_length': 3.5056818181818183, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4089745', 'n_tokens_mistral': 614, 'n_tokens_neox': 522, 'n_words': 151}