<commit_before>
<h1>Completed Evaluation of <%= @iri %>:</h1>

<% @result.each  do |res|  %>

	<% (metric, injson, outgraph) = res %>

	<h2> Metric: <%= metric.name %></h2>
	<% q = SPARQL.parse('select * where
			    {?iri <http://semanticscience.org/resource/SIO_000629> ?result .
			    ?result <http://semanticscience.org/resource/SIO_000300> ?score .
			    ?result <http://purl.obolibrary.org/obo/date> ?date }') %>
	<% solutions = q.execute(outgraph) %>
	<!-- <h4>IRI Tested:  <%= solutions.first[:iri].value %></h4> -->
	
	<%= for sol in 0..(solutions.count - 1) do %>
		<% sol = solutions[sol] %>
		Date: <%= sol[:date].value %><br/>
		Score: <%= sol[:score].value %><br/>
	<%  end; nil %>
	

<% end %>
<commit_msg>got rid of loop echo in result view<commit_after>
<h1>Completed Evaluation of <%= @iri %>:</h1>

<% @result.each  do |res|  %>

	<% (metric, injson, outgraph) = res %>

	<h2> Metric: <%= metric.name %></h2>
	<% q = SPARQL.parse('select * where
			    {?iri <http://semanticscience.org/resource/SIO_000629> ?result .
			    ?result <http://semanticscience.org/resource/SIO_000300> ?score .
			    ?result <http://purl.obolibrary.org/obo/date> ?date }') %>
	<% solutions = q.execute(outgraph) %>
	<!-- <h4>IRI Tested:  <%= solutions.first[:iri].value %></h4> -->
	
	<% for sol in 0..(solutions.count - 1) do %>
		<% sol = solutions[sol] %>
		Date: <%= sol[:date].value %><br/>
		Score: <%= sol[:score].value %><br/>
	<%  end; nil %>
	

<% end %>

{'fraction_non_alphanumeric': 0.2365371506475801, 'fraction_numerical': 0.027266530334014997, 'mean_word_length': 3.2427745664739884, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 53, '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': '5278041', 'n_tokens_mistral': 661, 'n_tokens_neox': 554, 'n_words': 111}