<commit_before>{% extends "layout.html" %}
{% block title %}Search SWH{% endblock %}
{% block content %}

<div class="container">
  <!-- Include the predefined search form-->
  {% include 'includes/search-form.html' %}

  {% if result is not none %}
  <table class="table table-striped search-res">
    <thead class="thead-default">
      <th>name</th>
      <th>content</th>
      <th>kind</th>
    </thead>
    {% for res in result %}
    <tr>
      <td>{{ res['name'] | truncate(50) }}</td>
      <td><a href="{{ ('%s#l-%s' % (res['content_url'], res['line'])) }}">{{ res['sha1'] }}</a></td>
      <td>{{ res['kind'] }}</td>
    </tr><commit_msg>Add language colum in browse symbols output view<commit_after>{% extends "layout.html" %}
{% block title %}Search SWH{% endblock %}
{% block content %}

<div class="container">
  <!-- Include the predefined search form-->
  {% include 'includes/search-form.html' %}

  {% if result is not none %}
  <table class="table table-striped search-res">
    <thead class="thead-default">
      <th>name</th>
      <th>content</th>
      <th>kind</th>
      <th>language</th>
    </thead>
    {% for res in result %}
    <tr>
      <td>{{ res['name'] | truncate(50) }}</td>
      <td><a href="{{ ('%s#l-%s' % (res['content_url'], res['line'])) }}">{{ res['sha1'] }}</a></td>
      <td>{{ res['kind'] }}</td>
      <td>{{ res['lang'] }}</td>
    </tr>
{'fraction_non_alphanumeric': 0.2446043165467626, 'fraction_numerical': 0.004316546762589928, 'mean_word_length': 3.1398809523809526, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, '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': '2250044', 'n_tokens_mistral': 520, 'n_tokens_neox': 473, 'n_words': 118}