<commit_before>{% macro devExampleList (examples, lang, type) %}
<ul>
{% for item in examples[lang][type] %}
	<li><a href="/dev/{{ lang }}/{{ type }}/{{ item }}">{{ item }}</a></li>
{% endfor %}
</ul>
{% endmacro %}

{% macro prodExampleList (examples, lang, type, swa) %}
{{ swa }}
{% for item in examples[lang][type] %}
	<section class="section">		
			<span class="subtitles"><a href="/dashboard/{{ lang }}/{{ type }}/{{ item }}">{{ item }}</a></span> |
			<span class="github"><a href="https://github.com/RazorFlow/examples/blob/master/src/js/{{ type }}/{{ item }}.{{ lang }}" target="_blank">view on Github</a></span>
	</section>
{% endfor %}

{% endmacro %}<commit_msg>use lang template variable in macros for correct github linking<commit_after>{% macro devExampleList (examples, lang, type) %}
<ul>
{% for item in examples[lang][type] %}
	<li><a href="/dev/{{ lang }}/{{ type }}/{{ item }}">{{ item }}</a></li>
{% endfor %}
</ul>
{% endmacro %}

{% macro prodExampleList (examples, lang, type, swa) %}
{{ swa }}
{% for item in examples[lang][type] %}
	<section class="section">		
			<span class="subtitles"><a href="/dashboard/{{ lang }}/{{ type }}/{{ item }}">{{ item }}</a></span> |
			<span class="github"><a href="https://github.com/RazorFlow/examples/blob/master/src/{{ lang }}/{{ type }}/{{ item }}.{{ lang }}" target="_blank">view on Github</a></span>
	</section>
{% endfor %}

{% endmacro %}
{'fraction_non_alphanumeric': 0.2631578947368421, 'fraction_numerical': 0.0, 'mean_word_length': 4.539370078740157, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 2, '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': '6243691', 'n_tokens_mistral': 529, 'n_tokens_neox': 481, 'n_words': 118}