<commit_before><section class="island">
  <form action="" method="post" class="lookup-search-form" id="app-search-form">
    {{ csrf() }}
    <label for="app-search">
      <select name="type">
        {% set selected = app and app.type or amo.ADDON_WEBAPP %}
        {% for k, v in amo.ADDON_TYPE.iteritems() %}
          {% if k > 0 %}<option value="{{ k }}"{% if k == selected %} selected{% endif %}>{{ v }} {{ _('Lookup') }}</option>{% endif %}
        {% endfor %}
      </select>
    </label>
    <input type="search" id="app-search" name="q" autocomplete="off">
    <button>{{ _('Search') }}</button>
    <ul id="app-search-suggestions" class="search-suggestions"
        data-src="{{ url('lookup.app_search') }}"></ul>
  </form>
</section><commit_msg>Fixed broken type option select box in lookup tool (bug 772542)<commit_after><section class="island">
  <form method="post" class="lookup-search-form" id="app-search-form">
    {{ csrf() }}
    <label>
      <select name="type">
        {% set selected = app and app.type or amo.ADDON_WEBAPP %}
        {% for k, v in amo.ADDON_TYPE.iteritems() %}
          {% if k > 0 %}<option value="{{ k }}"{% if k == selected %} selected{% endif %}>{{ v }} {{ _('Lookup') }}</option>{% endif %}
        {% endfor %}
      </select>
    </label>
    <input type="search" id="app-search" name="q" autocomplete="off">
    <button>{{ _('Search') }}</button>
    <ul id="app-search-suggestions" class="search-suggestions"
        data-src="{{ url('lookup.app_search') }}"></ul>
  </form>
</section>
{'fraction_non_alphanumeric': 0.22128487994808566, 'fraction_numerical': 0.005191434133679429, 'mean_word_length': 3.2131147540983607, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 35, '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': '6197376', 'n_tokens_mistral': 543, 'n_tokens_neox': 501, 'n_words': 123}