<commit_before><div class="bs-sidebar" data-spy="affix" data-offset-top="302">
	<ul class="nav bs-sidenav">
		<li class="active">
			<%= link_to 'Branch', halo4_servicerecord_path(@gamertag) %>
			<ul class="nav">
				<li class="<%= 'active' if content_for(:halo4_active) == 'overview' %>">
					<%= link_to 'Overview', halo4_servicerecord_path(@gamertag) %>
				</li>
				<li class="<%= 'active' if content_for(:halo4_active) == 'game_history' %>">
					<%= link_to 'Game History', halo4_gamehistory_path %>

					<% if content_for(:halo4_active) == 'game_history' %>
						<ul class="nav">
							<li class="<%= 'active' if content_for(:halo4_game_history_active) == 'matchmaking' %>">
								<%= link_to 'Matchmaking', halo4_gamehistory_path( sub_view: 'matchmaking', page: 0 ) %>
							</li>
							<li class="<%= 'active' if content_for(:halo4_game_history_active) == 'custom_games' %>">
								<%= link_to 'Custom Games', halo4_gamehistory_path( sub_view: 'custom-games', page: 0 ) %>
							</li>
							<li class="<%= 'active' if content_for(:halo4_game_history_active) == 'spartan_ops' %>">
								<%= link_to 'Spartan Ops', halo4_gamehistory_path( sub_view: 'spartan-ops', page: 0 ) %>
							</li>
							<li class="<%= 'active' if content_for(:halo4_game_history_active) == 'campaign' %>">
								<%= link_to 'Campaign', halo4_gamehistory_path( sub_view: 'campaign', page: 0 ) %>
							</li>
						</ul>
					<% end %>
				</li>
				<li class="<%= 'active' if content_for(:halo4_active) == 'csr' %>">
					<%= link_to 'Competitive Skill Rank', '#' %>
				</li>
				<li class="<%= 'active' if content_for(:halo4_active) == 'commendations' %>">
					<%= link_to 'Commendations', '#' %>
				</li>
				<li class="<%= 'active' if content_for(:halo4_active) == 'specializations' %>">
					<%= link_to 'Specializations', '#' %>
				</li>
			</ul>
		</li>
		<li class="active">
			<%= link_to 'Leaf', '#' %>
			<ul class="nav">
				<li>
					<a href="">Overview</a>
				</li>
				<li>
					<a href="">Compare</a>
				</li>
				<li>
					<a href="">Star</a>
				</li>
				<li>
					<a href="">Flag as Cheater/Booster</a>
				</li>
			</ul>
		</li>
	</ul>
</div><commit_msg>Added real leaf links to the sidebar<commit_after><div class="bs-sidebar" data-spy="affix" data-offset-top="302">
	<ul class="nav bs-sidenav">
		<li class="active">
			<%= link_to 'Branch', halo4_servicerecord_path(@gamertag) %>
			<ul class="nav">
				<li class="<%= 'active' if content_for(:halo4_active) == 'overview' %>">
					<%= link_to 'Overview', halo4_servicerecord_path(@gamertag) %>
				</li>
				<li class="<%= 'active' if content_for(:halo4_active) == 'game_history' %>">
					<%= link_to 'Game History', halo4_gamehistory_path %>

					<% if content_for(:halo4_active) == 'game_history' %>
						<ul class="nav">
							<li class="<%= 'active' if content_for(:halo4_game_history_active) == 'matchmaking' %>">
								<%= link_to 'Matchmaking', halo4_gamehistory_path( sub_view: 'matchmaking', page: 0 ) %>
							</li>
							<li class="<%= 'active' if content_for(:halo4_game_history_active) == 'custom_games' %>">
								<%= link_to 'Custom Games', halo4_gamehistory_path( sub_view: 'custom-games', page: 0 ) %>
							</li>
							<li class="<%= 'active' if content_for(:halo4_game_history_active) == 'spartan_ops' %>">
								<%= link_to 'Spartan Ops', halo4_gamehistory_path( sub_view: 'spartan-ops', page: 0 ) %>
							</li>
							<li class="<%= 'active' if content_for(:halo4_game_history_active) == 'campaign' %>">
								<%= link_to 'Campaign', halo4_gamehistory_path( sub_view: 'campaign', page: 0 ) %>
							</li>
						</ul>
					<% end %>
				</li>
				<li class="<%= 'active' if content_for(:halo4_active) == 'csr' %>">
					<%= link_to 'Competitive Skill Rank', '#' %>
				</li>
				<li class="<%= 'active' if content_for(:halo4_active) == 'commendations' %>">
					<%= link_to 'Commendations', '#' %>
				</li>
				<li class="<%= 'active' if content_for(:halo4_active) == 'specializations' %>">
					<%= link_to 'Specializations', '#' %>
				</li>
			</ul>
		</li>
		<li class="active">
			<%= link_to 'Leaf', '#' %>
			<ul class="nav">
				<li>
					<%= link_to 'Overview', "http://leafapp.co/gt/#{@gamertag}" %>
				</li>
				<li>
					<%= link_to 'Compare', "http://leafapp.co/compare/#{@gamertag}" %>
				</li>
				<li>
					<%= link_to 'Star', "http://leafapp.co/star/#{@gamertag}" %>
				</li>
				<li>
					<%= link_to 'Flag as Cheater/Booster', "http://leafapp.co/guilty_spark/flag/#{@gamertag}" %>
				</li>
			</ul>
		</li>
	</ul>
</div>
{'fraction_non_alphanumeric': 0.21752464403066812, 'fraction_numerical': 0.010514786418400876, 'mean_word_length': 3.4158607350096712, 'pattern_counts': {'":': 0, '<': 139, '<?xml version=': 0, '>': 139, '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': '3301460', 'n_tokens_mistral': 2273, 'n_tokens_neox': 1712, 'n_words': 327}