<commit_before><div id="content" class="profile">
		
	<div class="content-box-holder no-bg">
		<ul>
			<li class="content-box clearfix">
				
				<%= image_tag @person.avatar(:large), :class => "thumb" %>
				
				<div class="inner-content">
					<h2>
						<%= @person.name %>
						<span>
							<%= link_to "edit profile", edit_person_path(@person) if current_user.person == @person %>
						</span>
					</h2>

					<p class="status-holder-profile">
						<span>
							Sydney, Australia
						</span>
					</p>
					<p>
						Previous experience working in IT (data 
						warehousing and business intelligence), but I 
						guess my heart lies with evolutionary activism 
						in the cultural and social space.
					</p>
										
					
					
				</div>
			</li>
			
			<li>
				<div class="items-list clearfix">
					<h2>Items</h2>
					<% unless @items.size.zero? %>
						<ul>
							<% @items.each do |item| %>
								<li class="item clearer">
									<%= link_to image_tag(item.photo.url(:square), :class => "thumb"), item_path(item) %>
									<div>
										<p>
										  <%= link_to item.name, item_path(item), :class => "positive" %>&nbsp;&nbsp;|&nbsp;										
											<%= link_to item.item_type, "#" %>&nbsp;&nbsp;|&nbsp;
											<%= item.purpose? %>	
										</p>
										
										<ul class="action-list">
											<li>
												<%= link_to item.owner.reputation_rating.gift_actions_count.to_s, "#", :class => "giftactions", :title => "Gift Actions" %>
											</li>
											<li>
												<%= link_to item.owner.reputation_rating.distinct_people_count.to_s, "#", :class => "people-helped", :title => "People Helped" %>
											</li>
											<li>
												<%= link_to "view item", item_path(item) %>
											</li>
											<%unless item.active_request_by?(current_user) || item.is_owner?(current_user.person)%>
											<li>
												<%= link_to "request", requests_path(:item_id => item.id), :method => :post %>
											</li>
											<% end -%>
										</ul>
										
									</div>
								</li>
							<% end %>
						</ul>
					<% else %>
						<p class="default-text">No items are currently being shared.</p>
					<% end %>
				</div>
			</li>
			<li>
				<div class="items-list unanswered-requests clearfix">
					<h2>Requests</h2>
					<% unless @unanswered_requests.size.zero? %>
						<ul>
							<% @unanswered_requests.each do |req| %>
								<li class="item clearer">
									<%= link_to image_tag(item_request_photo(req, :size => :square), :class => "thumb"), request_path(req) %>
									<div>
										<ul class="clearfix">
											<li>
												<p>
												  <!--
													<%= link_to_person(req.requester, :class => "capitalize") %>
													requested <%= link_to req.item.name, item_path(req.item) %>
													from <%= link_to_person(req.gifter, :downcase_you => true, :class => "capitalize positive") %>
													-->
													<%= render :partial => "shared/item_request_sentence", :locals => { :req => req, :dashboard => true } %>
												</p>
											</li>
										</ul>
										
										<ul class="action-list">
											<li>
												<%= time_ago_in_words req.created_at %> ago
											</li>
											<%= render :partial => "shared/item_request_actions_compact", :locals => { :req => req } %>
										</ul>
									</div>
								</li>
							<% end %>
						</ul>						
					<% else %>
						<p class="default-text">There are no unanswered requests.</p>
					<% end %>
				</div>
			</li>
		</ul>
		
	</div><!-- /content-box-holder  -->
	
</div><!-- /content -->

<div id="sidebar" class="profile-holder">

	<%= render :partial => "shared/trust_profile", :locals => { :person => @person } %>

	<%= render :partial => "shared/latest_activity_person", :locals => { :person => @person } %>
	
</div><!-- sidebar -->
<commit_msg>Add new variable to partial call<commit_after><div id="content" class="profile">
		
	<div class="content-box-holder no-bg">
		<ul>
			<li class="content-box clearfix">
				
				<%= image_tag @person.avatar(:large), :class => "thumb" %>
				
				<div class="inner-content">
					<h2>
						<%= @person.name %>
						<span>
							<%= link_to "edit profile", edit_person_path(@person) if current_user.person == @person %>
						</span>
					</h2>

					<p class="status-holder-profile">
						<span>
							Sydney, Australia
						</span>
					</p>
					<p>
						Previous experience working in IT (data 
						warehousing and business intelligence), but I 
						guess my heart lies with evolutionary activism 
						in the cultural and social space.
					</p>
										
					
					
				</div>
			</li>
			
			<li>
				<div class="items-list clearfix">
					<h2>Items</h2>
					<% unless @items.size.zero? %>
						<ul>
							<% @items.each do |item| %>
								<li class="item clearer">
									<%= link_to image_tag(item.photo.url(:square), :class => "thumb"), item_path(item) %>
									<div>
										<p>
										  <%= link_to item.name, item_path(item), :class => "positive" %>&nbsp;&nbsp;|&nbsp;										
											<%= link_to item.item_type, "#" %>&nbsp;&nbsp;|&nbsp;
											<%= item.purpose? %>	
										</p>
										
										<ul class="action-list">
											<li>
												<%= link_to item.owner.reputation_rating.gift_actions_count.to_s, "#", :class => "giftactions", :title => "Gift Actions" %>
											</li>
											<li>
												<%= link_to item.owner.reputation_rating.distinct_people_count.to_s, "#", :class => "people-helped", :title => "People Helped" %>
											</li>
											<li>
												<%= link_to "view item", item_path(item) %>
											</li>
											<%unless item.active_request_by?(current_user) || item.is_owner?(current_user.person)%>
											<li>
												<%= link_to "request", requests_path(:item_id => item.id), :method => :post %>
											</li>
											<% end -%>
										</ul>
										
									</div>
								</li>
							<% end %>
						</ul>
					<% else %>
						<p class="default-text">No items are currently being shared.</p>
					<% end %>
				</div>
			</li>
			<li>
				<div class="items-list unanswered-requests clearfix">
					<h2>Requests</h2>
					<% unless @unanswered_requests.size.zero? %>
						<ul>
							<% @unanswered_requests.each do |req| %>
								<li class="item clearer">
									<%= link_to image_tag(item_request_photo(req, :size => :square), :class => "thumb"), request_path(req) %>
									<div>
										<ul class="clearfix">
											<li>
												<p>
												  <!--
													<%= link_to_person(req.requester, :class => "capitalize") %>
													requested <%= link_to req.item.name, item_path(req.item) %>
													from <%= link_to_person(req.gifter, :downcase_you => true, :class => "capitalize positive") %>
													-->
													<%= render :partial => "shared/item_request_sentence", :locals => { :req => req, :dashboard => true } %>
												</p>
											</li>
										</ul>
										
										<ul class="action-list">
											<li>
												<%= time_ago_in_words req.created_at %> ago
											</li>
											<%= render :partial => "shared/item_request_actions_compact", :locals => { :req => req } %>
										</ul>
									</div>
								</li>
							<% end %>
						</ul>						
					<% else %>
						<p class="default-text">There are no unanswered requests.</p>
					<% end %>
				</div>
			</li>
		</ul>
		
	</div><!-- /content-box-holder  -->
	
</div><!-- /content -->

<div id="sidebar" class="profile-holder">

	<%= render :partial => "shared/trust_profile", :locals => { :person => @person, :page => 'item' } %>

	<%= render :partial => "shared/latest_activity_person", :locals => { :person => @person } %>
	
</div><!-- sidebar -->

{'fraction_non_alphanumeric': 0.18167860798362334, 'fraction_numerical': 0.0015353121801432957, 'mean_word_length': 1.868623853211009, 'pattern_counts': {'":': 0, '<': 219, '<?xml version=': 0, '>': 274, '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': '7195733', 'n_tokens_mistral': 4173, 'n_tokens_neox': 2550, 'n_words': 511}