<commit_before>%h1 Payload Log for #{@project.name}
%table.projects
  %th Date
  %th Status
  %th Method
  %th Message
  - @payload_log_entries.each do |entry|
    %tr
      %td= entry.created_at
      %td= entry.status
      %td= entry.method
      %td
        - if entry.error_text.present?
          = link_to "show stacktrace", '#', id: "showTrace"
          .stacktrace.hide
            %pre
              = entry.error_text
            = link_to "hide stacktrace", '#', id: "hideTrace"<commit_msg>Display first 50 characters of error text on log page<commit_after>%h1 Payload Log for #{@project.name}
%table.projects
  %th Date
  %th Status
  %th Method
  %th Message
  - @payload_log_entries.each do |entry|
    %tr
      %td= entry.created_at
      %td= entry.status
      %td= entry.method
      %td
        - if entry.error_text.present?
          = entry.error_text.truncate(50)
          = link_to "show stacktrace", '#', id: "showTrace"
          .stacktrace.hide
            %pre
              = entry.error_text
            = link_to "hide stacktrace", '#', id: "hideTrace"
{'fraction_non_alphanumeric': 0.11856617647058823, 'fraction_numerical': 0.0055147058823529415, 'mean_word_length': 2.111428571428571, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7311272', 'n_tokens_mistral': 354, 'n_tokens_neox': 351, 'n_words': 89}