<commit_before><% unless object.draft? || object.admin_evaluation_ok? %>
    <%= f.input :commentary, :as => :text, label: 'Comentário', input_html: {rows: "4", value: ""} %>
    <%= submit_tag 'Enviar para rascunho', name: "draft", class: "btn" %>
    <% if object.sent_to_admin_for_evaluation? %>
        <%= submit_tag 'Avaliado', name: "valued", class: "btn" %>
    <% end %>
<% end %><commit_msg>Correção na tela de avaliação<commit_after><% unless object.draft? || object.admin_evaluation_ok? %>
    <%= f.input :commentary, :as => :text, label: 'Comentário', input_html: {rows: '4', value: ''} %>
    <%= submit_tag 'Devolver para o aluno', name: 'draft', class: 'btn' %>
    <% if object.sent_to_admin_for_evaluation? %>
        <%= submit_tag 'Avaliado', name: 'valued', class: 'btn btn-success', confirm: 'O estudante não poderá mais editar o texto. Deseja continuar?' %>
    <% end %>
<% end %>
{'fraction_non_alphanumeric': 0.19337016574585636, 'fraction_numerical': 0.0022099447513812156, 'mean_word_length': 4.329411764705882, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 19, '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': '5206894', 'n_tokens_mistral': 347, 'n_tokens_neox': 318, 'n_words': 81}