<commit_before><section data-ng-controller="ArticlesController" data-ng-init="find()">
	<div>
		<h1>{{WelcomeToTheSpot}}</h1>
	</div>

<div class="container" style="padding:5px" ng-class="{'dev-mode':devMode}">

	<!-- <button class="myButton" type="button">New Post</button> -->
	<a style="cursor:pointer" ng-click="switchCreateVisible()">
		<i class="glyphicon glyphicon-align-justify"></i>
	</a><-post something

	<span ng-show="true"> | <input type="checkbox" ng-model="devMode">dev mode </span>

	<div ng-show="createVisible" class="article-container" >
		<form name="articleForm" data-ng-submit="create()" novalidate>
			<fieldset>

					<input name="title" type="text" data-ng-model="title" id="title" class="post-title-entry" placeholder="Choose a title" required>
					<textarea placeholder="Type here!" name="content" data-ng-model="content" id="content" class="post-entry"></textarea>
				<input type="submit" style="display:block" value="Post it!" class="myButton post">
				<span data-ng-show="error" class="text-danger">
					<strong data-ng-bind="error"></strong>
				</span>
			</fieldset>
		</form>
	</div>
</div>

<div class="container" ng-class="{'dev-mode':devMode}">
	<div data-ng-repeat="article in articles" class="article-container" ng-class="{'dev-mode':devMode}">

<!-- hiding kismet for now
		<span data-ng-bind="article.kismet"></span>
		<a ng-click="kismet(article)">
			<i class="glyphicon glyphicon-chevron-left"></i>
		</a>

<!-- hiding kismet for now
--and hiding delete for dev use lol
		<a ng-click="remove(article)">
			<i class="glyphicon glyphicon-trash"></i>
		</a>
-->
		<span class="post-header" ng-class="{'dev-mode':devMode}">
			Posted on
			<span data-ng-bind="article.created | date:'mediumDate'"></span>
			by
			<span data-ng-bind="article.user.displayName"></span>
		</span>

	<div ng-class="{'dev-mode':devMode}">
		<a data-ng-href="#!/articles/{{article._id}}">
			<span data-ng-bind="article.title" class="post-title" ng-class="{'dev-mode':devMode}"></span>
		</a>
	</div>

<!--
		<span data-ng-bind="article._id"></span> -
		<span data-ng-bind="article.parent"></span>
-->
		<!--class="list-group-item-text"-->
		<span ng-show="article.content.length > 300" style ="margin-right:-21px" ng-class="{'dev-mode':devMode}">
			<a style="cursor:pointer" ng-click="switchShowFull(this)">
				<i style="color:lightgrey" class="glyphicon" ng-class="{'glyphicon-resize-full':!showFull, 'glyphicon-resize-small':showFull}"></i>
			</a><!--show {{showFull ? 'less' : 'more'}} -->
		</span>

		<div class="post" ng-class="{'dev-mode':devMode}">
			<span ng-show="!showFull"><span class="post-preview" ng-class="{'dev-mode':devMode}" data-ng-bind="article.content.substring(0,300)"></span><span ng-show="article.content.length > 300" ng-click="switchShowFull(this)" style="cursor:pointer" >[...]</span></span>
			<span ng-show="showFull" class="post-full" ng-class="{'dev-mode':devMode}" data-ng-bind="article.content"></span>
		</div>
	</div>
<!--
	<div class="alert alert-warning text-center" data-ng-if="articles.$resolved && !articles.length">
		No articles yet, why don't you <a href="/#!/articles/create">create one</a>?
	</div>
-->
</div>
</section>
<commit_msg>add button to page<commit_after><section data-ng-controller="ArticlesController" data-ng-init="find()">
	<div>
		<h1>{{WelcomeToTheSpot}}</h1>
	</div>

<div class="container" style="padding:5px" ng-class="{'dev-mode':devMode}">

	<!-- <button class="myButton" type="button">New Post</button> -->
	<a style="cursor:pointer" ng-click="switchCreateVisible()">
		<i class="glyphicon glyphicon-align-justify"></i>
	</a><-post something

	<span ng-show="true"> | <input type="checkbox" ng-model="devMode">dev mode </span>

	<div ng-show="createVisible" class="article-container" >
		<form name="articleForm" data-ng-submit="create()" novalidate>
			<fieldset>

					<input name="title" type="text" data-ng-model="title" id="title" class="post-title-entry" placeholder="Choose a title" required>
					<textarea placeholder="Type here!" name="content" data-ng-model="content" id="content" class="post-entry"></textarea>
				<input type="submit" style="display:block" value="Post it!" class="myButton post">
				<span data-ng-show="error" class="text-danger">
					<strong data-ng-bind="error"></strong>
				</span>
			</fieldset>
		</form>
	</div>
</div>

<div class="container" ng-class="{'dev-mode':devMode}">
	<div data-ng-repeat="article in articles" class="article-container" ng-class="{'dev-mode':devMode}">


		<span data-ng-bind="article.kismet"></span>
		<a ng-click="kismet(article)">
			<i class="glyphicon glyphicon-chevron-left"></i>
		</a>

<!-- hiding kismet for now
--and hiding delete for dev use lol
		<a ng-click="remove(article)">
			<i class="glyphicon glyphicon-trash"></i>
		</a>
-->
		<span class="post-header" ng-class="{'dev-mode':devMode}">
			Posted on
			<span data-ng-bind="article.created | date:'mediumDate'"></span>
			by
			<span data-ng-bind="article.user.displayName"></span>
		</span>

	<div ng-class="{'dev-mode':devMode}">
		<a data-ng-href="#!/articles/{{article._id}}">
			<span data-ng-bind="article.title" class="post-title" ng-class="{'dev-mode':devMode}"></span>
		</a>
	</div>

<!--
		<span data-ng-bind="article._id"></span> -
		<span data-ng-bind="article.parent"></span>
-->
		<!--class="list-group-item-text"-->
		<span ng-show="article.content.length > 300" style ="margin-right:-21px" ng-class="{'dev-mode':devMode}">
			<a style="cursor:pointer" ng-click="switchShowFull(this)">
				<i style="color:lightgrey" class="glyphicon" ng-class="{'glyphicon-resize-full':!showFull, 'glyphicon-resize-small':showFull}"></i>
			</a><!--show {{showFull ? 'less' : 'more'}} -->
		</span>

		<div class="post" ng-class="{'dev-mode':devMode}">
			<span ng-show="!showFull"><span class="post-preview" ng-class="{'dev-mode':devMode}" data-ng-bind="article.content.substring(0,300)"></span><span ng-show="article.content.length > 300" ng-click="switchShowFull(this)" style="cursor:pointer" >[...]</span></span>
			<span ng-show="showFull" class="post-full" ng-class="{'dev-mode':devMode}" data-ng-bind="article.content"></span>
		</div>
	</div>
<!--
	<div class="alert alert-warning text-center" data-ng-if="articles.$resolved && !articles.length">
		No articles yet, why don't you <a href="/#!/articles/create">create one</a>?
	</div>
-->
</div>
</section>

{'fraction_non_alphanumeric': 0.2318160488033787, 'fraction_numerical': 0.004692632566870014, 'mean_word_length': 4.953445065176909, 'pattern_counts': {'":': 0, '<': 180, '<?xml version=': 0, '>': 181, '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': '3870272', 'n_tokens_mistral': 2465, 'n_tokens_neox': 2221, 'n_words': 385}