<commit_before>{#
# Copyright 2014–2015 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
###############################################################################
# pcrp/templates/conflicts.html
#
# template for conflict of interest log
-#}
<!DOCTYPE html>
<html>
	<head>
		<title>Conflicts of Interest — {{ conference_name }}</title>
		<meta charset="UTF-8">
	</head>
	<body>
		<h1>Conflicts of Interest — {{ conference_name }}</h1>
		
		<nav>
			Logged in as {{ real_name }}
			(<a href="{{ hub_url }}">hub</a>)
			{% if admin %}
				(<a href="{{ admin_panel_url }}">admin panel</a>)
			{% endif %}
			(<a href="{{ logout_url }}">log out</a>)
		</nav>
		
		{% if update_success %}
			<p>Conflicts Updated Successfully</p>
		{% endif %}
		<p>Please indicate all conference participants that you have a
		potential conflict of interest with.</p>
		<form accept-charset="UTF-8" action="{{ request.path }}"
			autocomplete="off" method="post">
			{% for u in users %}
				<label>
					<input type="checkbox" name="conflicts"
						value="{{ u.email }}"
						{#- user ID would be more convenient than email, but
							exposing user IDs is a security issue:
							https://cloud.google.com/appengine/docs/python/users/#Python_Accessing_account_information
						-#}
						{%- if conflicts.is_directed_conflict(user_id,u.id) -%}
							{{ " checked" }}
						{%- endif %}>
					<span>{{ u.real_name }}, {{ u.affiliation }}</span>
				</label>
			{% endfor %}
			<button type="submit">Submit</button>
		</form>
	</body>
</html><commit_msg>made list of users an actual HTML list<commit_after>{#
# Copyright 2014–2015 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
###############################################################################
# pcrp/templates/conflicts.html
#
# template for conflict of interest log
-#}
<!DOCTYPE html>
<html>
	<head>
		<title>Conflicts of Interest — {{ conference_name }}</title>
		<meta charset="UTF-8">
	</head>
	<body>
		<h1>Conflicts of Interest — {{ conference_name }}</h1>
		
		<nav>
			Logged in as {{ real_name }}
			(<a href="{{ hub_url }}">hub</a>)
			{% if admin %}
				(<a href="{{ admin_panel_url }}">admin panel</a>)
			{% endif %}
			(<a href="{{ logout_url }}">log out</a>)
		</nav>
		
		{% if update_success %}
			<p>Conflicts Updated Successfully</p>
		{% endif %}
		<p>Please indicate all conference participants that you have a
		potential conflict of interest with.</p>
		<form accept-charset="UTF-8" action="{{ request.path }}"
			autocomplete="off" method="post">
			<ul>
			{% for u in users %}
				<li>
					<label>
						<input type="checkbox" name="conflicts"
							value="{{ u.email }}"
							{#- user ID would be more convenient than email,
								but exposing user IDs is a privacy issue:
								https://cloud.google.com/appengine/docs/python/users/#Python_Accessing_account_information
							-#}
							{%- if conflicts.is_directed_conflict(
								user_id,u.id)-%}
								{{ " checked" }}
							{%- endif %}>
						<span>{{ u.real_name }}, {{ u.affiliation }}</span>
					</label>
				</li>
			{% endfor %}
			</ul>
			<button type="submit">Submit</button>
		</form>
	</body>
</html>
{'fraction_non_alphanumeric': 0.1814690350456073, 'fraction_numerical': 0.007681228996639462, 'mean_word_length': 3.50974025974026, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 75, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '5975867', 'n_tokens_mistral': 1553, 'n_tokens_neox': 1236, 'n_words': 411}