<commit_before>{% spaceless %}

<label class='component'>Usage</label>
<div class="dataline">
	{% if "Access_tool" in usage_dict.Usage %}
	<label class='title'>Access tool</label>
		<ul>
			{% for key, value in usage_dict.Usage.items %}
				{% if "Access_tool" in key %}
					{% include "repository/resource_view/target_resource.html" with target=value title="Access Tool" %}
				{% endif %}
			{% endfor %}
		</ul>
	{% endif %}
	
	{% if "Resource_associated_with" in usage_dict.Usage %}
	<label class='title'>Associated resources</label>
		<ul>
			{% for key, value in usage_dict.Usage.items %}
				{% if "Resource_associated_with" in key %}
					{% include "repository/resource_view/target_resource.html" with target=value title="Associated resources" %}
				{% endif %}
			{% endfor %}
		</ul>
	{% endif %}

	{% for key, value in usage_dict.items %}
		{% if "Foreseen_use" in value %}
			<label class='title'>Foreseen Use</label>
			{% for key1, value1 in value.items %}
				{% if "Foreseen_use" in key1 %}
						<label class="subtitle">{{ value1.Foreseen_use }}</label>
					{% if value1.Use_nlpspecific %}
					     <div class="dataline indented">
							<label>
								<strong>Use NLP Specific:</strong> {{ value1.Use_nlpspecific }}
							</label>
						</div>
					{% endif %}
					{% if value1.Actual_use_details %}
					     <div class="dataline indented">
							<label>
								<strong>Details:</strong> {{ value1.Actual_use_details }}
							</label>
						</div>
					{% endif %}
				{% endif %}
			{% endfor %}
		{% endif %}
	{% endfor %}

	{% for key, value in usage_dict.items %}
		{% if "Actual_use" in value %}
			<label class='title'>Actual Use</label>	
			{% for key1, value1 in value.items %}
				{% if "Actual_use" in key1 %}
						<label class="subtitle">{{ value1.Actual_use }}</label>							
					{% if value1.Use_nlpspecific %}
					     <div class="dataline indented">
							<label>
								<strong>Use NLP Specific:</strong> {{ value1.Use_nlpspecific }}
							</label>
						</div>
					{% endif %}
					{% if value1.Actual_use_details %}
					     <div class="dataline indented">
							<label>
								<strong>Details:</strong> {{ value1.Actual_use_details }}
							</label>
						</div>
					{% endif %}
				{% endif %}
			{% endfor %}
		{% endif %}
	{% endfor %}

	{% if "Usage_report" in usage_dict.Usage.Actual_use %}
		{% for key, value in usage_dict.Usage.Actual_use.items %}
			{% if "Usage_report" in value %}
				
				{% if "Title" in value.Usage_report %}
					{% include "repository/resource_view/documentation.html" with documentation=value.Usage_report type="Usage Report" level="sub" %}
				{% else %}
					<div class="dataline indented">
						<label>
							<strong>Usage Report: </strong>{{ value.Usage_report }}
						</label>
					</div>
				{% endif %}
			{% endif %}
		{% endfor %}
	{% endif %}

	{% if "Derived_resource" in usage_dict.Usage.Actual_use %}
		<label class='subtitle'>Derived resources</label>
		{% for key, value in usage_dict.Usage.Actual_use.items %}
			{% if "Derived_resource" in key %}
				{% include "repository/resource_view/target_resource.html" with target=value title="Derived Resource" %}
			{% endif %}
		{% endfor %}
	{% endif %}

	{% if "Usage_project" in usage_dict.Usage.Actual_use %}
		<label class='subtitle'>Used in:</label>
		{% for key, value in usage_dict.Usage.Actual_use.items %}
			{% if "Usage_project" in key %}
				<div class="separation"><hr/></div>
				{% include "repository/resource_view/project.html" with project=value %}
			{% endif %}
		{% endfor %}
	{% endif %}
</div>	

{% endspaceless %}
<commit_msg>minor fix<commit_after>{% spaceless %}

<label class='component'>Usage</label>
<div class="dataline">
	{% if "Access_tool" in usage_dict.Usage %}
	<label class='title'>Access tool</label>
		<ul>
			{% for key, value in usage_dict.Usage.items %}
				{% if "Access_tool" in key %}
					{% include "repository/resource_view/target_resource.html" with target=value title="Access Tool" %}
				{% endif %}
			{% endfor %}
		</ul>
	{% endif %}
	
	{% if "Resource_associated_with" in usage_dict.Usage %}
	<label class='title'>Associated resources</label>
		<ul>
			{% for key, value in usage_dict.Usage.items %}
				{% if "Resource_associated_with" in key %}
					{% include "repository/resource_view/target_resource.html" with target=value title="Associated resources" %}
				{% endif %}
			{% endfor %}
		</ul>
	{% endif %}

	{% for key, value in usage_dict.items %}
		{% if "Foreseen_use" in value %}
			<label class='title'>Foreseen Use</label>
			{% for key1, value1 in value.items %}
				{% if "Foreseen_use" in key1 %}
						<label class="subtitle">{{ value1.Foreseen_use }}</label>
					{% if value1.Use_nlpspecific %}
					     <div class="dataline indented">
							<label>
								<strong>Use NLP Specific:</strong> {{ value1.Use_nlpspecific }}
							</label>
						</div>
					{% endif %}
					{% if value1.Actual_use_details %}
					     <div class="dataline indented">
							<label>
								<strong>Details:</strong> {{ value1.Actual_use_details }}
							</label>
						</div>
					{% endif %}
				{% endif %}
			{% endfor %}
		{% endif %}
	{% endfor %}

	{% for key, value in usage_dict.items %}
		{% if "Actual_use" in value %}
			<label class='title'>Actual Use</label>	
			{% for key1, value1 in value.items %}
				{% if "Actual_use" in key1 %}
						<label class="subtitle">{{ value1.Actual_use }}</label>							
					{% if value1.Use_nlpspecific %}
					     <div class="dataline indented">
							<label>
								<strong>Use NLP Specific:</strong> {{ value1.Use_nlpspecific }}
							</label>
						</div>
					{% endif %}
					{% if value1.Actual_use_details %}
					     <div class="dataline indented">
							<label>
								<strong>Details:</strong> {{ value1.Actual_use_details }}
							</label>
						</div>
					{% endif %}
				{% endif %}
			{% endfor %}
		{% endif %}
	{% endfor %}

	{% if "Usage_report" in usage_dict.Usage.Actual_use %}
		{% for key, value in usage_dict.Usage.Actual_use.items %}
			{% if "Usage_report" in value %}
				
				{% if "Title" in value.Usage_report %}
					{% include "repository/resource_view/documentation.html" with documentation=value.Usage_report type="Usage Report" level="sub" %}
				{% else %}
					<div class="dataline indented">
						<label>
							<strong>Usage Report: </strong>{{ value.Usage_report }}
						</label>
					</div>
				{% endif %}
			{% endif %}
		{% endfor %}
	{% endif %}

	{% if "Derived_resource" in usage_dict.Usage.Actual_use %}
		<label class='subtitle'>Derived resources</label>
		{% for key, value in usage_dict.Usage.Actual_use.items %}
			{% if "Derived_resource" in key %}
				{% include "repository/resource_view/target_resource.html" with target=value title="Derived Resource" %}
			{% endif %}
		{% endfor %}
	{% endif %}

	{% if "Usage_project" in usage_dict.Usage.Actual_use %}
		<label class='subtitle'>Used in</label>
		{% for key, value in usage_dict.Usage.Actual_use.items %}
			{% if "Usage_project" in key %}
				<div class="separation"><hr/></div>
				{% include "repository/resource_view/project.html" with project=value %}
			{% endif %}
		{% endfor %}
	{% endif %}
</div>	

{% endspaceless %}

{'fraction_non_alphanumeric': 0.16784476784476784, 'fraction_numerical': 0.004435204435204435, 'mean_word_length': 3.013348164627364, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 0, '>': 117, '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': '3830518', 'n_tokens_mistral': 3255, 'n_tokens_neox': 2335, 'n_words': 515}