<commit_before><link rel="ractive" href="./shared/project.html" name="Project">
<link rel="ractive" href="./shared/collection.html" name="Collection">
<link rel="ractive" href="./shared/header.html" name="Header">

<Header app="{{app}}" query="{{query}}"></Header>
<Collection collection="{{collection}}"></Collection>

<div class="projects">
	<div class="container">
		<div class="row" intro="{{#if fadeIn}}fade{{/if fadeIn}}">
			<div class="col-lg-16 col-lg-offset-4 col-md-22 col-md-offset-1 col-sm-24 col-sm-offset-0 col-xs-20 col-xs-offset-2">
				<Project project="{{project}}" collection="{{collection}}" expandFiles="{{expandFiles}}"></Project>
			</div>
		</div>
	</div>
</div>

<script>
	component.exports = {
		oninit: function () {
			if (!Ractive.isServer) {
				var search = require('public/js/utils/search.js');
				var _this = this;

				search('name: ' + this.get('name')).then(function (result) {
					_this.set('project', result.response.hits[0]);
				});
			}
		}
	};
</script>
<commit_msg>Automatically expand file list when displaying one project<commit_after><link rel="ractive" href="./shared/project.html" name="Project">
<link rel="ractive" href="./shared/collection.html" name="Collection">
<link rel="ractive" href="./shared/header.html" name="Header">

<Header app="{{app}}" query="{{query}}"></Header>
<Collection collection="{{collection}}"></Collection>

<div class="projects">
	<div class="container">
		<div class="row" intro="{{#if fadeIn}}fade{{/if fadeIn}}">
			<div class="col-lg-16 col-lg-offset-4 col-md-22 col-md-offset-1 col-sm-24 col-sm-offset-0 col-xs-20 col-xs-offset-2">
				<Project project="{{project}}" collection="{{collection}}" expandFiles="true"></Project>
			</div>
		</div>
	</div>
</div>

<script>
	component.exports = {
		oninit: function () {
			if (!Ractive.isServer) {
				var search = require('public/js/utils/search.js');
				var _this = this;

				search('name: ' + this.get('name')).then(function (result) {
					_this.set('project', result.response.hits[0]);
				});
			}
		}
	};
</script>

{'fraction_non_alphanumeric': 0.2247081712062257, 'fraction_numerical': 0.01264591439688716, 'mean_word_length': 4.5896739130434785, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '3727484', 'n_tokens_mistral': 768, 'n_tokens_neox': 688, 'n_words': 129}