<commit_before>{% macro api_object(dataType) %}
  {% if collections.bzfs_api_objects[dataType] is defined %}
    <a href="{{ url(collections.bzfs_api_objects[dataType]) | replace({'.html': ''}) }}">
      {{ dataType }}
    </a>
  {% else %}
    {{ dataType }}
  {% endif %}
{% endmacro %}<commit_msg>Handle API linking to enums<commit_after>{% macro api_object(dataType) %}
  {%- set object_url = '' -%}

  {% if collections.bzfs_api_objects[dataType] is defined %}
    {% set object_url = url(collections.bzfs_api_objects[dataType]) %}
  {% elseif collections.bzfs_api_enums[dataType] is defined %}
    {% set object_url = url(collections.bzfs_api_enums[dataType]) %}
  {% endif %}

  {% if object_url %}
    <a href="{{ object_url | replace({'.html': ''}) }}">
      {{ dataType }}
    </a>
  {% else %}
    {{ dataType }}
  {% endif %}
{% endmacro %}
{'fraction_non_alphanumeric': 0.1955503512880562, 'fraction_numerical': 0.0, 'mean_word_length': 3.803370786516854, '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': '1979566', 'n_tokens_mistral': 332, 'n_tokens_neox': 289, 'n_words': 53}