<commit_before>mePoints = 0;
themPoints = 0;

table#results.table.table-condensed
	thead
		tr
			th
			th.moves(colspan="2") MOVES
			th.points(colspan="2") POINTS
		tr
			th.round Move
			th.you YOU
			th.them THEM
			th.you YOU
			th.them THEM
	tbody
		each round, i in game.rounds
			mePointsThisRound = round.getPointsForPlayer(me._id)
			- mePoints += mePointsThisRound
			themPointsThisRound = round.getPointsForPlayer(opponent._id)
			- themPoints += themPointsThisRound
			tr
				td.round: a(href="/game/#{game._id}/#{round._id}") #{round.number}
				td
					if round.getVoteForPlayer(me._id).value == 'friend'
						img(src="/img/icon_friend_white.png")
					else
						img(src="/img/icon_enemy_white.png")
					// span(class=round.getVoteForPlayer(me._id).value) #{round.getVoteForPlayer(me._id).value}
					// a(href="/games/#{game._id}/#{round._id}/#{me._id}") #{round.getVoteForPlayer(me._id).value}
				td 
					if round.getVoteForPlayer(opponent._id).value == 'friend'
						img(src="/img/icon_friend_white.png")
					else
						img(src="/img/icon_enemy_white.png")
					// span(class=round.getVoteForPlayer(opponent._id).value) #{round.getVoteForPlayer(opponent._id).value}
					//a(href="/games/#{game._id}/#{round._id}/#{opponent._id}") #{round.getVoteForPlayer(opponent._id).value}
				td.you #{round.getStringPointsForPlayer(me._id, mePointsThisRound)}
				td.them #{round.getStringPointsForPlayer(opponent._id, themPointsThisRound)}
		- if(game.walkaway)
			tr.walkaway
				td(colspan=5)
					- if(me && me.remote_user.toString() == game.walkaway)
						| You walked away!
					- else
						| They walked away!
		- if(game.completed)
			tr.total
				td
				td
				td
				td(class='you '+(themPoints == mePoints ? 'tie' : (themPoints > mePoints ? 'loser' : 'winner')))
					span.value #{mePoints}
					- if(themPoints == mePoints)
						span.result TIE
					- else if(mePoints > themPoints)
						span.result WINNER
				td(class='them '+(themPoints == mePoints ? 'tie' : (themPoints < mePoints ? 'loser' : 'winner')))
					span.value #{themPoints}
					- if(themPoints == mePoints)
						span.result TIE
					- else if(mePoints < themPoints)
						span.result WINNER<commit_msg>Removing total line.<commit_after>mePoints = 0;
themPoints = 0;

table#results.table.table-condensed
	thead
		tr
			th
			th.moves(colspan="2") MOVES
			th.points(colspan="2") POINTS
		tr
			th.round Move
			th.you YOU
			th.them THEM
			th.you YOU
			th.them THEM
	tbody
		each round, i in game.rounds
			mePointsThisRound = round.getPointsForPlayer(me._id)
			- mePoints += mePointsThisRound
			themPointsThisRound = round.getPointsForPlayer(opponent._id)
			- themPoints += themPointsThisRound
			tr
				td.round: a(href="/game/#{game._id}/#{round._id}") #{round.number}
				td
					if round.getVoteForPlayer(me._id).value == 'friend'
						img(src="/img/icon_friend_white.png")
					else
						img(src="/img/icon_enemy_white.png")
					// span(class=round.getVoteForPlayer(me._id).value) #{round.getVoteForPlayer(me._id).value}
					// a(href="/games/#{game._id}/#{round._id}/#{me._id}") #{round.getVoteForPlayer(me._id).value}
				td 
					if round.getVoteForPlayer(opponent._id).value == 'friend'
						img(src="/img/icon_friend_white.png")
					else
						img(src="/img/icon_enemy_white.png")
					// span(class=round.getVoteForPlayer(opponent._id).value) #{round.getVoteForPlayer(opponent._id).value}
					//a(href="/games/#{game._id}/#{round._id}/#{opponent._id}") #{round.getVoteForPlayer(opponent._id).value}
				td.you #{round.getStringPointsForPlayer(me._id, mePointsThisRound)}
				td.them #{round.getStringPointsForPlayer(opponent._id, themPointsThisRound)}
		- if(game.walkaway)
			tr.walkaway
				td(colspan=5)
					- if(me && me.remote_user.toString() == game.walkaway)
						| You walked away!
					- else
						| They walked away!
		// - if(game.completed)
			tr.total
				td
				td
				td
				td(class='you '+(themPoints == mePoints ? 'tie' : (themPoints > mePoints ? 'loser' : 'winner')))
					span.value #{mePoints}
					- if(themPoints == mePoints)
						span.result TIE
					- else if(mePoints > themPoints)
						span.result WINNER
				td(class='them '+(themPoints == mePoints ? 'tie' : (themPoints < mePoints ? 'loser' : 'winner')))
					span.value #{themPoints}
					- if(themPoints == mePoints)
						span.result TIE
					- else if(mePoints < themPoints)
						span.result WINNER
{'fraction_non_alphanumeric': 0.15501588742623695, 'fraction_numerical': 0.0022696323195642307, 'mean_word_length': 3.23342939481268, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4859534', 'n_tokens_mistral': 1961, 'n_tokens_neox': 1564, 'n_words': 251}