<commit_before><script type="text/javascript">
  var spanParentObj = {};

  {% for key, value in spanParentDict.iteritems() %}
    spans['{{ key }}'] = '{{ value }}'
  {% endfor %}

</script>
<commit_msg>construct annotatations array<commit_after><script type="text/javascript">
  var spanParentObj = {};

  {% for key, value in spanParentDict.iteritems() %}
    spans['{{ key }}'] = '{{ value }}'
  {% endfor %}

  var annotations = [];

  {% for row in annotations %}
    annotations.push({
      'span_id': "{{ row['span_id'] }}",
      'span_name': "{{ row['span_name'] }}",
      'service_name': "{{ row['service_name'] }}",
      'value': "{{ row['value'] }}",
      'ipv4': "{{ row['ipv4'] }}",
      'port': "{{ row['port'] }}",
      'a_timestamp': "{{ row['a_timestamp'] }}"
    });
  {% endfor %}

</script>

{'fraction_non_alphanumeric': 0.2454212454212454, 'fraction_numerical': 0.002442002442002442, 'mean_word_length': 3.480874316939891, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2867211', 'n_tokens_mistral': 295, 'n_tokens_neox': 276, 'n_words': 52}