<commit_before>{% extends "base.html" %}

{% block content %}
	
	<p><a href="{% url 'play_prep' %}">Prep new game</a> | <a href="{% url 'play_start_day' %}">start new day</a></p>

	<p>
		<a href="{% url 'home' %}">Home</a> |
		<a href="{% url 'players' %}">Profile</a> |
		<a href="{% url 'team' %}">Team</a> |
		<a href="{% url 'auth_logout' %}">Sign out</a>
	</p>

	{% if messages %}
		<h3>Messages</h3>
		<ul class="messages">
		    {% for message in messages %}
		    <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
		    {% endfor %}
		</ul>
	{% endif %}

	<p>Current day: {{ currentDay }}, episode: {{ currentDay.episode }}</p>

	<h3>Team</h3>

	{% for mate in teammates %}
		<li>{{ mate.player }} {% ifequal mate.player player %}(YOU!){% endifequal %}</li>
	{% endfor %}

	<p>Actions left: {{ teamplayer.team.action_points }}</p>

	<p>Goal zero markers: {{ teamplayer.team.goal_zero_markers }}</p>

	<p>Score: {{ teamplayer.team.score }}</p>

	<p>Gather pile cards: {{ teamplayer.gather_pile }}<br>
	Gathering markers: {{ teamplayer.gather_markers }}</p>

	<p>Risk pile cards: {{ teamplayer.risk_pile }}<br>
		Prevention markers: {{ teamplayer.prevent_markers }}</p>

	<form method="POST" action="{% url 'play_inspect' %}">{% csrf_token %}
		<input type="hidden" name="pile" value="gather"><commit_msg>display active events for player and team<commit_after>{% extends "base.html" %}

{% block content %}
	
	<p><a href="{% url 'play_prep' %}">Prep new game</a> | <a href="{% url 'play_start_day' %}">start new day</a></p>

	<p>
		<a href="{% url 'home' %}">Home</a> |
		<a href="{% url 'players' %}">Profile</a> |
		<a href="{% url 'team' %}">Team</a> |
		<a href="{% url 'auth_logout' %}">Sign out</a>
	</p>

	{% if messages %}
		<h3>Messages</h3>
		<ul class="messages">
		    {% for message in messages %}
		    <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
		    {% endfor %}
		</ul>
	{% endif %}

	<p>Current day: {{ currentDay }}, episode: {{ currentDay.episode }}</p>

	<h3>Team</h3>

	<p>Team effect: {{ teamplayer.team.active_events }}<br>
	Actions left: {{ teamplayer.team.action_points }}<br>
	Goal zero markers: {{ teamplayer.team.goal_zero_markers }}<br>
	Score: {{ teamplayer.team.score }}</p>

	{% for mate in teammates %}
		<li>{{ mate.player }} {% ifequal mate.player player %}(YOU!){% endifequal %}</li>
	{% endfor %}

	<h3>You</h3>

	<p>Event: {{ teamplayer.active_events }}</p>

	<p>Gather pile cards: {{ teamplayer.gather_pile }}<br>
	Gathering markers: {{ teamplayer.gather_markers }}</p>

	<p>Risk pile cards: {{ teamplayer.risk_pile }}<br>
		Prevention markers: {{ teamplayer.prevent_markers }}</p>

	<form method="POST" action="{% url 'play_inspect' %}">{% csrf_token %}
		<input type="hidden" name="pile" value="gather">
{'fraction_non_alphanumeric': 0.23493975903614459, 'fraction_numerical': 0.003543586109142452, 'mean_word_length': 4.198895027624309, 'pattern_counts': {'":': 0, '<': 90, '<?xml version=': 0, '>': 90, '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': '1991634', 'n_tokens_mistral': 1201, 'n_tokens_neox': 1042, 'n_words': 257}