<commit_before><div class="sidebar-box-holder">
	<%= image_tag("curve-top-sidebar-box.png")  %>		
	<div class="sidebar-box-profile">
		
		<div class="clearfix">
		<h2>
			<!--  Nebojsa - the link below is empty - should lead to person's profile -->
			<%= link_to person.first_name, "", :class => "loged-out" %> 
		</h2>
			<% if person != current_user.person %>
				<% if person.requested_trusted_relationship?(current_user.person) %>
				<h2 class="rhs-link">
					<%= link_to "cancel request", people_network_request_path(person.requested_trusted_relationship(current_user.person)), :method => :delete %>
				</h2>
				<% elsif people_network = current_user.person.trusts?(person) %>
				<h2 class="rhs-link">
					<%= link_to "withdraw trust", people_network_path(people_network), :method => :delete %>
				</h2>
				<% else %>
				<h2 class="rhs-link">
					<%= link_to "establish trust", people_network_requests_path(:trusted_person_id => person), :method => :post %>
				</h2>
				<% end %>
			<% end %><commit_msg>Link to profile<commit_after><div class="sidebar-box-holder">
	<%= image_tag("curve-top-sidebar-box.png")  %>		
	<div class="sidebar-box-profile">
		
		<div class="clearfix">
		<h2>
			<%= link_to person.name, person_path(person), :class => "loged-out" %> 
		</h2>
			<% if person != current_user.person %>
				<% if person.requested_trusted_relationship?(current_user.person) %>
				<h2 class="rhs-link">
					<%= link_to "cancel request", people_network_request_path(person.requested_trusted_relationship(current_user.person)), :method => :delete %>
				</h2>
				<% elsif people_network = current_user.person.trusts?(person) %>
				<h2 class="rhs-link">
					<%= link_to "withdraw trust", people_network_path(people_network), :method => :delete %>
				</h2>
				<% else %>
				<h2 class="rhs-link">
					<%= link_to "establish trust", people_network_requests_path(:trusted_person_id => person), :method => :post %>
				</h2>
				<% end %>
			<% end %>
{'fraction_non_alphanumeric': 0.18016194331983806, 'fraction_numerical': 0.008097165991902834, 'mean_word_length': 3.992424242424242, 'pattern_counts': {'":': 0, '<': 48, '<?xml version=': 0, '>': 58, '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': '3734402', 'n_tokens_mistral': 832, 'n_tokens_neox': 678, 'n_words': 118}