<commit_before><h1><small>Author: </small> <%= @author.name %></h1><br>


<div class="row">
	<div class="col-md-7">
		<ol>
			<% @top_contributions.each do |contribution| %>
				<li>
					<h3><%= contribution[0].title %><br> <small> # of contributions: <%= contribution[1] %></small></h3>
					<%= link_to("Wikipedia", contribution[0].url) %>
				</li>
			<%end %>
		</ol>
	</div>

	<div class="col-md-5">
		<canvas id="authorContributionsChart" width="300" height="300"></canvas>
	</div>
</div>

<div id="world-map" style="width: 600px; height: 400px"></div>

<h2>Last revision made <%= distance_of_time_in_words(@author.most_recent_revision.timestamp, Time.now) %> ago:</h2>
<p><%= @author.most_recent_revision.content %> </p>

<commit_msg>updates wiki links on author show to open in new tab<commit_after><h1><small>Author: </small> <%= @author.name %></h1><br>


<div class="row">
	<div class="col-md-7">
		<ol>
			<% @top_contributions.each do |contribution| %>
				<li>
					<h3><%= contribution[0].title %><br> <small> # of contributions: <%= contribution[1] %></small></h3>
					<%= link_to("Wikipedia", contribution[0].url, target: "_blank") %>
				</li>
			<%end %>
		</ol>
	</div>

	<div class="col-md-5">
		<canvas id="authorContributionsChart" width="300" height="300"></canvas>
	</div>
</div>

<div id="world-map" style="width: 600px; height: 400px"></div>

<h2>Last revision made <%= distance_of_time_in_words(@author.most_recent_revision.timestamp, Time.now) %> ago:</h2>
<p><%= @author.most_recent_revision.content %> </p>


{'fraction_non_alphanumeric': 0.22972096041531473, 'fraction_numerical': 0.029850746268656716, 'mean_word_length': 4.732342007434944, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 75, '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': '6936047', 'n_tokens_mistral': 684, 'n_tokens_neox': 571, 'n_words': 112}