<commit_before><% if @organizations.blank? %> <!--check whether the @organizations array has any objects in it.-->
<!--The .blank? method returns true if the array is empty, and false if it contains any objects.-->
<p> There are no organizations in our database. If you know of one, please add it!</p>
<% else %>
<p> There are currently organizations in our database</p>

<ul id ="organizations">
	<% @organizations.each do |c| %> <!--This @organizations object was created in controller inside list method-->
	<li><%= link_to c.name, {:action => 'show', :id => c.id} -%></li> <!--The code between the <%= %> tags is a link_to method call. -->
	<% end %>
</ul>

<% end %>
<p><%= link_to "Add new organization", {:action => 'new'}%></p>


<!--
The code between the <%= %> tags is a link_to method call. The first parameter of link_to is the text to be displayed between the <a> tags. The second parameter is what action is called when the link is clicked. In this case, it is the show method. The final parameter is the id of the book that is passed via the params object.--><commit_msg>working on organization list<commit_after><% if @organizations.blank? %> 
<p> There are no organizations in our database. If you know of one, please add it!</p>
<% else %>
<p> There are currently organizations in our database</p>

<ul id ="organizations">
	<% @organizations.each do |c| %> <!--This @organizations object was created in controller inside list method-->
	<li><%= link_to c.name, {:action => 'show', :id => c.id} -%></li> <!--The code between the <%= %> tags is a link_to method call. -->
	<% end %>
</ul>

<% end %>
<p><%= link_to "Add new organization", {:action => 'new'}%></p>

<!--check whether the @organizations array has any objects in it.-->
<!--The .blank? method returns true if the array is empty, and false if it contains any objects.-->
<!--
The code between the <%= %> tags is a link_to method call. The first parameter of link_to is the text to be displayed between the <a> tags. The second parameter is what action is called when the link is clicked. In this case, it is the show method. The final parameter is the id of the book that is passed via the params object.-->
{'fraction_non_alphanumeric': 0.14357567443987196, 'fraction_numerical': 0.0, 'mean_word_length': 3.8193832599118944, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 59, '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': '5546592', 'n_tokens_mistral': 649, 'n_tokens_neox': 608, 'n_words': 324}