<commit_before>- title " - #{@service_record['Gamertag']}'s Specializations"
- active_halo4 'active'
- search_query @service_record['Gamertag']

.row-fluid

	= h4_sidebar_commendations 'active'
	= render :partial => 'halo4/global/sidebar', :object => @service_record

	= render :partial => 'application/notification_header'

	= render :partial => 'halo4/global/service_record_header', :object => @service_record

	.span8.well
		%ul.nav.nav-tabs
			- first = true
			- @commendation_categories.each do |category|
				- next if category['Name'] == '--'
				%li{class: "#{'active' if first}"}
					%a{'data-toggle' => 'tab', href: "#cat-#{category['Id']}"}
						= category['Name']

				- first = false

		.tabbable
			.tab-content
				- first = true
				- @commendation_categories.each do |category|
					- next if category['Name'] == '--'
					- commendations = commendations_by_category(category['Id'])
					.tab-pane{class: "#{'active' if first}", id: "cat-#{category['Id']}"}
						%h3
							#{@service_record['Gamertag']}'s #{plural_commendation_category_name_to_single(category['Name'])} Commendations:

						.commendations-stuff
							- commendations.each do |commendation|
								= render :partial => 'halo4/commendations/commendation', :locals => { :category => category, :commendation => commendation }

						.cleaner

					- first = false
		= render :partial => 'halo4/global/social_sharing'<commit_msg>commendation social sharing fix<commit_after>- title " - #{@service_record['Gamertag']}'s Specializations"
- active_halo4 'active'
- search_query @service_record['Gamertag']

.row-fluid

	= h4_sidebar_commendations 'active'
	= render :partial => 'halo4/global/sidebar', :object => @service_record

	= render :partial => 'application/notification_header'

	= render :partial => 'halo4/global/service_record_header', :object => @service_record

	.span8
		.well
			%ul.nav.nav-tabs
				- first = true
				- @commendation_categories.each do |category|
					- next if category['Name'] == '--'
					%li{class: "#{'active' if first}"}
						%a{'data-toggle' => 'tab', href: "#cat-#{category['Id']}"}
							= category['Name']

					- first = false

			.tabbable
				.tab-content
					- first = true
					- @commendation_categories.each do |category|
						- next if category['Name'] == '--'
						- commendations = commendations_by_category(category['Id'])
						.tab-pane{class: "#{'active' if first}", id: "cat-#{category['Id']}"}
							%h3
								#{@service_record['Gamertag']}'s #{plural_commendation_category_name_to_single(category['Name'])} Commendations:

							.commendations-stuff
								- commendations.each do |commendation|
									= render :partial => 'halo4/commendations/commendation', :locals => { :category => category, :commendation => commendation }

							.cleaner

						- first = false

		= render :partial => 'halo4/global/social_sharing'
{'fraction_non_alphanumeric': 0.16608756080611536, 'fraction_numerical': 0.005559416261292564, 'mean_word_length': 3.6286173633440515, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 25, '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': '3505207', 'n_tokens_mistral': 1162, 'n_tokens_neox': 929, 'n_words': 173}