<commit_before><% if @editing -%>
  <% if logged_in? and logged_in_person.permitted?("edit_answers", @question.questionnaire) -%>
    <%= text_area_tag "answer[#{@question.id}]", value, :rows => 4 %>
  <% end -%>
<% else -%>
  <% if logged_in? and logged_in_person.permitted?("view_answers", @question.questionnaire) -%>
    <%= simple_format value %>
  <% end -%>
<% end -%>
<commit_msg>Use the right parameter order for permitted?<commit_after><% if @editing and logged_in? and logged_in_person.permitted?(@question.questionnaire, "edit_answers") -%>
  <%= text_area_tag "answer[#{@question.id}]", value, :rows => 4 %>
<% else -%>
  <% if logged_in? and logged_in_person.permitted?(@question.questionnaire, "view_answers") -%>
    <%= simple_format value %>
  <% end -%>
<% end -%>

{'fraction_non_alphanumeric': 0.2002551020408163, 'fraction_numerical': 0.002551020408163265, 'mean_word_length': 4.858208955223881, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, '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': '5887934', 'n_tokens_mistral': 307, 'n_tokens_neox': 284, 'n_words': 53}