<commit_before>.row
	.col-lg-12
		%h1.page-header= "#{user.name}#{if user.name.end_with? 's' then '' else '\'s' end} dashboard"
.row
	.col-md-4
		.form-group
			%a.btn.btn-lg.btn-success.btn-block{href: '/add/repo'} Add a repo
.row-fluid
	.panel.panel-default
		.panel-heading
			%i.fa.fa-gear.fa-fw
			Builds
		.panel-body
			- if user.builds.length > 0
				.list-group
					- user.builds.reorder(id: :desc).each do |build|
						%a.list-group-item{:href => "/repo/#{build.repo.name}/builds/#{build.number}"}
							- case build.status
							- when :scheduled
								%i.fa.fa-calendar.fa-fw
							- when :failed
								%i.fa.fa-warning.fa-fw{:style => 'color: firebrick'}
							- when :success
								%i.fa.fa-check.fa-fw{:style => 'color: green'}
							- when :working
								%i.fa.fa-gear.fa-fw
							- else
								%i.fa.fa-gear.fa-fw
							= build.repo.name
							%b.pull-left= "##{build.number}"
							%span.pull-right.text-muted.small
								%em= build.date
			- else
				There are no builds to show here.<commit_msg>Limit displayed builds in dashboard to 50<commit_after>.row
	.col-lg-12
		%h1.page-header= "#{user.name}#{if user.name.end_with? 's' then '' else '\'s' end} dashboard"
.row
	.col-md-4
		.form-group
			%a.btn.btn-lg.btn-success.btn-block{href: '/add/repo'} Add a repo
.row-fluid
	.panel.panel-default
		.panel-heading
			%i.fa.fa-gear.fa-fw
			Builds
		.panel-body
			- if user.builds.length > 0
				.list-group
					- user.builds.reorder(id: :desc).first(50).each do |build|
						%a.list-group-item{:href => "/repo/#{build.repo.name}/builds/#{build.number}"}
							- case build.status
							- when :scheduled
								%i.fa.fa-calendar.fa-fw
							- when :failed
								%i.fa.fa-warning.fa-fw{:style => 'color: firebrick'}
							- when :success
								%i.fa.fa-check.fa-fw{:style => 'color: green'}
							- when :working
								%i.fa.fa-gear.fa-fw
							- else
								%i.fa.fa-gear.fa-fw
							= build.repo.name
							%b.pull-left= "##{build.number}"
							%span.pull-right.text-muted.small
								%em= build.date
			- else
				There are no builds to show here.
{'fraction_non_alphanumeric': 0.18039772727272727, 'fraction_numerical': 0.006628787878787879, 'mean_word_length': 2.0534682080924855, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '1265387', 'n_tokens_mistral': 1088, 'n_tokens_neox': 827, 'n_words': 143}