<commit_before><h2>Dashboard</h2>

<div class="row dashboard">
	<div class="col-md-4 well">
		<span>Account Information</span>
		<hr/>
		Logged in as <%= current_user.email %> <br/>
		Member since

	</div>

	<div class="col-md-4 well">
		<span>Manage Flashcards</span>
		<hr/>
		<%= link_to "Create a new flashcard", new_flashcard_path %> <br/>
		<%= link_to "My Flashcards", flashcards_path %> (<%= current_user.flashcards.count %>)
	</div>

	<div class="col-md-4 well">
		<span>Scheduled Reviews</span>
		<hr/>
		You have <%= current_user.scheduled_reviews.where(scheduled_date: Date.today).count %> flashcards to study today <br/>
		<% if current_scheduled_review %>
			<%= link_to "Study now", scheduled_review_path(current_scheduled_review) %>
		<% else %>
			No flashcards to study today! Review your cards <%= link_to "here", flashcards_path %>
		<% end %>
	</div>
</div><commit_msg>Added member since section<commit_after><h2>Dashboard</h2>

<div class="row dashboard">
	<div class="col-md-4 well">
		<span>Account Information</span>
		<hr/>
		Logged in as <%= current_user.email %> <br/>
		<% user_date = ScheduledReview.where(id: current_user.id).first.created_at %>
		Member since <%= user_date.to_formatted_s(:long) %>

	</div>

	<div class="col-md-4 well">
		<span>Manage Flashcards</span>
		<hr/>
		<%= link_to "Create a new flashcard", new_flashcard_path %> <br/>
		<%= link_to "My Flashcards", flashcards_path %> (<%= current_user.flashcards.count %>)
	</div>

	<div class="col-md-4 well">
		<span>Scheduled Reviews</span>
		<hr/>
		You have <%= current_user.scheduled_reviews.where(scheduled_date: Date.today).count %> flashcards to study today <br/>
		<% if current_scheduled_review %>
			<%= link_to "Study now", scheduled_review_path(current_scheduled_review) %>
		<% else %>
			No flashcards to study today! Review your cards <%= link_to "here", flashcards_path %>
		<% end %>
	</div>
</div>
{'fraction_non_alphanumeric': 0.17102510460251047, 'fraction_numerical': 0.005230125523012552, 'mean_word_length': 4.528901734104046, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '1999820', 'n_tokens_mistral': 767, 'n_tokens_neox': 668, 'n_words': 152}