<commit_before>- if content.is_a?(Hash)
  tr.active data-tt-id="#{id}" data-tt-parent-id="#{parent_id}"
    td = key
    td = (content.has_key?('result') ? content['result'] : '')
  - parent_id = id
  - id = 0
  - content.each do |key, value|
    - next if key == "result"
    = render partial: 'endpoints/row', locals: {key: key, content: value, id: "#{parent_id}_#{id}", parent_id: parent_id}
    - id += 1
- elsif content.is_a?(Array)
  tr.active data-tt-id="#{id}" data-tt-parent-id="#{parent_id}"
  - i = 0
  - id = 0
  - content.each do |log|
    = render partial: 'endpoints/row', locals: {key: "log [#{i += 1}]", content: log, id: "#{parent_id}_#{id}", parent_id: parent_id}
    - id += 1
- else
  tr data-tt-id="#{id}" data-tt-parent-id="#{parent_id}"
    td = key
    td = content<commit_msg>modify _row.html.slim<commit_after>- if content.is_a?(Hash)
  tr.active data-tt-id="#{id}" data-tt-parent-id="#{parent_id}"
    td = key
    td = (content.has_key?('result') ? content['result'] : '')
  - parent_id = id
  - id = 0
  - content.each do |key, value|
    - next if key == "result"
    = render partial: 'endpoints/row', locals: {key: key, content: value, id: "#{parent_id}_#{id += 1}", parent_id: parent_id}
- elsif content.is_a?(Array)
  - i = 0
  - id = 0
  - content.each do |log|
    = render partial: 'endpoints/row', locals: {key: "log [#{i += 1}]", content: log, id: "#{parent_id}_#{id += 1}", parent_id: parent_id}
- else
  tr data-tt-id="#{id}" data-tt-parent-id="#{parent_id}"
    td = key
    td = content
{'fraction_non_alphanumeric': 0.2130718954248366, 'fraction_numerical': 0.00784313725490196, 'mean_word_length': 3.264623955431755, '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': '1199135', 'n_tokens_mistral': 604, 'n_tokens_neox': 599, 'n_words': 141}