<commit_before>
<% if gemindex.length.nonzero? %>
	<h2>Released Gems</h2>

	<table id="released-gemindex" class="gemindex">
		<thead>
			<tr>
				<th class="odd">Name</th>
				<th class="even">Version</th>
				<th class="odd">Description</th>
			</tr>
		</thead>

		<tbody>
		<% gemindex.latest_specs.each_with_index do |gemspec, i| %>
		<% if (i % 2).nonzero? %>
			<tr class="odd">
		<% else %>
			<tr class="even">
		<% end %>
				<td class="gem-name odd">
					<a href="/details/<%= gemspec.name %>"><%= h gemspec.name %></a>
				</td>
				<td class="gem-version even"><%= gemspec.version %></td>
				<td class="gem-description odd"><%= gemspec.summary %></td>
			</tr>
		<% end %>
		</tbody>
	</table>

<% else %>

  <p>No gems are published.</p>

<% end %>

<section id="dropzone">
	<img src="/images/upload-arrow.png" width="256" height="256" alt="Upload!" />
</section>

<section id="upload">
	<form action="/upload" method="POST" accept-charset="utf-8" enctype="multipart/form-data"><commit_msg>Sort the installed gems in the index view<commit_after>
<% if gemindex.length.nonzero? %>
	<h2>Released Gems</h2>

	<table id="released-gemindex" class="gemindex">
		<thead>
			<tr>
				<th class="odd">Name</th>
				<th class="even">Version</th>
				<th class="odd">Description</th>
			</tr>
		</thead>

		<tbody>
		<% gemindex.latest_specs.
			sort_by {|gemspec, _| gemspec.name }.
			each_with_index do |gemspec, i| %>
		<% if (i % 2).nonzero? %>
			<tr class="odd">
		<% else %>
			<tr class="even">
		<% end %>
				<td class="gem-name odd">
					<a href="/details/<%= gemspec.name %>"><%= h gemspec.name %></a>
				</td>
				<td class="gem-version even"><%= gemspec.version %></td>
				<td class="gem-description odd"><%= gemspec.summary %></td>
			</tr>
		<% end %>
		</tbody>
	</table>

<% else %>

  <p>No gems are published.</p>

<% end %>

<section id="dropzone">
	<img src="/images/upload-arrow.png" width="256" height="256" alt="Upload!" />
</section>

<section id="upload">
	<form action="/upload" method="POST" accept-charset="utf-8" enctype="multipart/form-data">
{'fraction_non_alphanumeric': 0.23017779913503122, 'fraction_numerical': 0.009610764055742432, 'mean_word_length': 3.5859030837004404, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 95, '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': '7195917', 'n_tokens_mistral': 942, 'n_tokens_neox': 778, 'n_words': 164}