<commit_before><%= render :super %>
<% if ActiveScaffold.js_framework == :prototype %>
<%= sortable_element *sort_params %>
<% elsif ActiveScaffold.js_framework == :jquery %>
  <% reorder_params = {}
     reorder_params[:eid] = params[:eid] unless params[:eid].blank?
     options = {:update => true, :action => 'reorder'} %>
     <%= javascript_tag "ActiveScaffold.sortable('#{sort_params[0]}', #{controller_path.to_json}, #{options.to_json}, #{reorder_params.to_json});" %>
<% end %><commit_msg>wrong ActiveScaffold.sortable url request after drop element using with namespace (namespace duplication)<commit_after><%= render :super %>
<% if ActiveScaffold.js_framework == :prototype %>
<%= sortable_element *sort_params %>
<% elsif ActiveScaffold.js_framework == :jquery %>
  <% reorder_params = {}
     reorder_params[:eid] = params[:eid] unless params[:eid].blank?
     options = {:update => true, :action => 'reorder'} %>
     <%= javascript_tag "ActiveScaffold.sortable('#{sort_params[0]}', #{url_for(:controller => controller_name).to_json}, #{options.to_json}, #{reorder_params.to_json});" %>
<% end %>
{'fraction_non_alphanumeric': 0.18558558558558558, 'fraction_numerical': 0.0018018018018018018, 'mean_word_length': 6.076433121019108, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 22, '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': '929150', 'n_tokens_mistral': 385, 'n_tokens_neox': 350, 'n_words': 66}