<commit_before><div class="span12">
<h1>Welcome to Muckraker</h1>
<p>Choose a chart from the list below to get started</p>

<hr>

<h3>Most Supported Campaigns</h3>
<%= partial :chart, :locals => { :legend => @most_supported_campaigns.map { |c| c.name.downcase.titlecase + " (#{c.party[0]})" },
								 :data => @most_supported_campaigns_data,
								 :title => "Most Supported Campaigns",
								 :chart_name => "most_supported_campaigns",
								 :pie_colors => @most_supported_campaigns.map { |c| candidate_party_color(c) } %>

<hr>

<h3>Most Opposed Campaigns</h3>
<%= partial :chart, :locals => { :legend => @most_opposed_campaigns.map { |c| c.name.downcase.titlecase + " (#{c.party[0]})" },
								 :data => @most_opposed_campaigns_data,
								 :title => "Most opposed Campaigns",
								 :chart_name => "most_opposed_campaigns",
								 :pie_colors => @most_opposed_campaigns.map { |c| candidate_party_color(c) } } %>
</div><commit_msg>Fixed syntax error in view.<commit_after><div class="span12">
<h1>Welcome to Muckraker</h1>
<p>Choose a chart from the list below to get started</p>

<hr>

<h3>Most Supported Campaigns</h3>
<%= partial :chart, :locals => { :legend => @most_supported_campaigns.map { |c| c.name.downcase.titlecase + " (#{c.party[0]})" },
								 :data => @most_supported_campaigns_data,
								 :title => "Most Supported Campaigns",
								 :chart_name => "most_supported_campaigns",
								 :pie_colors => @most_supported_campaigns.map { |c| candidate_party_color(c) } } %>

<hr>

<h3>Most Opposed Campaigns</h3>
<%= partial :chart, :locals => { :legend => @most_opposed_campaigns.map { |c| c.name.downcase.titlecase + " (#{c.party[0]})" },
								 :data => @most_opposed_campaigns_data,
								 :title => "Most opposed Campaigns",
								 :chart_name => "most_opposed_campaigns",
								 :pie_colors => @most_opposed_campaigns.map { |c| candidate_party_color(c) } } %>
</div>
{'fraction_non_alphanumeric': 0.16996871741397288, 'fraction_numerical': 0.010427528675703858, 'mean_word_length': 4.036745406824147, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 55, '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': '6151796', 'n_tokens_mistral': 827, 'n_tokens_neox': 664, 'n_words': 131}