<commit_before><%= render :partial => 'list_record', :locals => {:record => record}%>
<% if active_scaffold_config.list.columns.any? {|c| c.calculation?} %>
<script type="text/javascript">
//<![CDATA[
  <%= update_page do |page|
    page.call 'ActiveScaffold.replace', active_scaffold_calculations_id, render(:partial => 'list_calculations')
  end %>
//]]>
</script>
<% end %>

<commit_msg>fix row view with calculations<commit_after><%= render :partial => 'list_record', :locals => {:record => record}%>
<%= javascript_tag do %>
ActiveScaffold.replace('<%= active_scaffold_calculations_id %>', '<%= escape_javascript render(:partial => 'list_calculations') %>');
<% end if active_scaffold_config.list.columns.any? {|c| c.calculation?} %>


{'fraction_non_alphanumeric': 0.19864864864864865, 'fraction_numerical': 0.0, 'mean_word_length': 6.561224489795919, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 23, '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': '394334', 'n_tokens_mistral': 272, 'n_tokens_neox': 245, 'n_words': 48}