<commit_before>{% extends "base.html" %}
{% load bootstrap3 %}
{% load ocl_tags %}
{% load humanize %}

{% block title %}Search - Open Concept Lab{% endblock title %}

{% block content %}

<!-- Start content row -->

<div class="row">

<!-- Start Left Column -->

	<div class="col-md-3">

<!-- Search Categories -->

		<div class="list-group">
			<a href="{% url 'search' %}?type=concepts{{ other_resource_search_params }}" class="list-group-item {% if search_type == 'concepts' %}active{% endif %}"><span class="glyphicon glyphicon-tag"></span>&nbsp;&nbsp;Concepts <span class="badge">{{ resource_count.concepts|intcomma }}</span></a>
			<a href="{% url 'search' %}?type=mappings{{ other_resource_search_params }}" class="list-group-item {% if search_type == 'mappings' %}active{% endif %}"><span class="glyphicon glyphicon-link"></span>&nbsp;&nbsp;Mappings <span class="badge">{{ resource_count.mappings|intcomma }}</span></a>
			<a href="{% url 'search' %}?type=sources{{ other_resource_search_params }}" class="list-group-item {% if search_type == 'sources' %}active{% endif %}"><span class="glyphicon glyphicon-th-list"></span>&nbsp;&nbsp;Sources <span class="badge">{{ resource_count.sources|intcomma }}</span></a>
			<a href="{% url 'search' %}?type=orgs{{ other_resource_search_params }}" class="list-group-item {% if search_type == 'orgs' %}active{% endif %}"><span class="glyphicon glyphicon-home"></span>&nbsp;&nbsp;Organizations <span class="badge">{{ resource_count.orgs|intcomma }}</span></a>
			<a href="{% url 'search' %}?type=users{{ other_resource_search_params }}" class="list-group-item {% if search_type == 'users' %}active{% endif %}"><span class="glyphicon glyphicon-user"></span>&nbsp;&nbsp;Users <span class="badge">{{ resource_count.users|intcomma }}</span></a>
		</div>

<!-- Search Filters -->

		<div role="form">
			{% for search_filter in search_filters %}
			<div class="filter-group">
				<div class="filter-group-header">{{ search_filter.filter_name }}</div>
				<div class="filter-group-body">
					{% for filter_option in search_filter.options %}
						{% if filter_option.option_num > 0 %}
							<div class="checkbox"><label><input type="checkbox" name="{{ search_filter.filter_name }}" value="{{ filter_option.option_value }}" {% if filter_option.selected %}checked{% endif %}>{{ filter_option.option_name }}&nbsp;&nbsp;&nbsp;&nbsp;<span class="text-muted">{{ filter_option.option_num|intcomma }}</span></label></div>
						{% endif %}
					{% endfor %}
				</div>
			</div>
			{% endfor %}
		</div>

<!-- End left column -->

	</div>

<!-- Start search results section -->

	<div class="col-md-9">

<!-- Search Results, Actions, Sorting and Paging -->

		<div class="row" style="margin-bottom:10px;">
			<div class="col-md-12">
<commit_msg>Replaced filter.filter_name with filter_id in search option list<commit_after>{% extends "base.html" %}
{% load bootstrap3 %}
{% load ocl_tags %}
{% load humanize %}

{% block title %}Search - Open Concept Lab{% endblock title %}

{% block content %}

<!-- Start content row -->

<div class="row">

<!-- Start Left Column -->

	<div class="col-md-3">

<!-- Search Categories -->

		<div class="list-group">
			<a href="{% url 'search' %}?type=concepts{{ other_resource_search_params }}" class="list-group-item {% if search_type == 'concepts' %}active{% endif %}"><span class="glyphicon glyphicon-tag"></span>&nbsp;&nbsp;Concepts <span class="badge">{{ resource_count.concepts|intcomma }}</span></a>
			<a href="{% url 'search' %}?type=mappings{{ other_resource_search_params }}" class="list-group-item {% if search_type == 'mappings' %}active{% endif %}"><span class="glyphicon glyphicon-link"></span>&nbsp;&nbsp;Mappings <span class="badge">{{ resource_count.mappings|intcomma }}</span></a>
			<a href="{% url 'search' %}?type=sources{{ other_resource_search_params }}" class="list-group-item {% if search_type == 'sources' %}active{% endif %}"><span class="glyphicon glyphicon-th-list"></span>&nbsp;&nbsp;Sources <span class="badge">{{ resource_count.sources|intcomma }}</span></a>
			<a href="{% url 'search' %}?type=orgs{{ other_resource_search_params }}" class="list-group-item {% if search_type == 'orgs' %}active{% endif %}"><span class="glyphicon glyphicon-home"></span>&nbsp;&nbsp;Organizations <span class="badge">{{ resource_count.orgs|intcomma }}</span></a>
			<a href="{% url 'search' %}?type=users{{ other_resource_search_params }}" class="list-group-item {% if search_type == 'users' %}active{% endif %}"><span class="glyphicon glyphicon-user"></span>&nbsp;&nbsp;Users <span class="badge">{{ resource_count.users|intcomma }}</span></a>
		</div>

<!-- Search Filters -->

		<div role="form">
			{% for search_filter in search_filters %}
			<div class="filter-group">
				<div class="filter-group-header">{{ search_filter.filter_name }}</div>
				<div class="filter-group-body">
					{% for filter_option in search_filter.options %}
						{% if filter_option.option_num > 0 %}
							<div class="checkbox"><label><input type="checkbox" name="{{ search_filter.filter_id }}" value="{{ filter_option.option_value }}" {% if filter_option.selected %}checked{% endif %}>{{ filter_option.option_name }}&nbsp;&nbsp;&nbsp;&nbsp;<span class="text-muted">{{ filter_option.option_num|intcomma }}</span></label></div>
						{% endif %}
					{% endfor %}
				</div>
			</div>
			{% endfor %}
		</div>

<!-- End left column -->

	</div>

<!-- Start search results section -->

	<div class="col-md-9">

<!-- Search Results, Actions, Sorting and Paging -->

		<div class="row" style="margin-bottom:10px;">
			<div class="col-md-12">

{'fraction_non_alphanumeric': 0.21269388482795507, 'fraction_numerical': 0.0028525583883045108, 'mean_word_length': 5.1716171617161715, 'pattern_counts': {'":': 0, '<': 123, '<?xml version=': 0, '>': 125, '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': '7378470', 'n_tokens_mistral': 2064, 'n_tokens_neox': 1762, 'n_words': 397}