<commit_before>
from xstruct import pack

from Header import Processed

class TimeRemaining(Processed):
	"""\
	The TimeRemaining packet consists of:
		* UInt32, Seconds left till the turn ends.
	"""
	no = 15
	struct = "I"

	def __init__(self, sequence, time):
		Processed.__init__(self, sequence)
<commit_msg>TimeRemaining can be -1, which means unknown.<commit_after>
from xstruct import pack

from Header import Processed

class TimeRemaining(Processed):
	"""\
	The TimeRemaining packet consists of:
		* UInt32, Seconds left till the turn ends.
	"""
	no = 15
	struct = "j"

	def __init__(self, sequence, time):
		Processed.__init__(self, sequence)

{'fraction_non_alphanumeric': 0.09692307692307692, 'fraction_numerical': 0.013846153846153847, 'mean_word_length': 4.564102564102564, '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': '4607071', 'n_tokens_mistral': 221, 'n_tokens_neox': 208, 'n_words': 72}