<commit_before>//- index.jade
extends ./layout.jade

block specificJS
	script(type='text/javascript', src='/js/demo.js')
	script(type='text/javascript', src='/js/personality.js')
	script(type='text/javascript', src='/js/textsummary.js')
	script(type='text/javascript', src='/js/jquery.circliful.min.js')

block content
	div.row(style='margin-bottom:40px;')
		div#userInfo.col-lg-4.col-xs-12.text-center(style='padding-top:40px;')
			span.col-lg-4.col-xs-12.text-center
				img(src='#{user.pictureUrl}')
			span.col-lg-7.col-xs-12.text-center
				h2 #{user.fullName}
				p #{user.headline}
		div#concepts.text-right.col-lg-8.col-md-5.col-xs-12(style='display: none;')
			div#concept1.circle(data-dimension='120',data-width='10',data-fontsize='15',data-fgcolor='#61a9dc',data-bgcolor='#eee',data-fill='#ddd')
			div#concept2.circle(data-dimension='120',data-width='10',data-fontsize='15',data-fgcolor='#61a9dc',data-bgcolor='#eee',data-fill='#ddd')
			div#concept3.circle(data-dimension='120',data-width='15',data-fontsize='15',data-fgcolor='#61a9dc',data-bgcolor='#eee',data-fill='#ddd')
			div#concept4.circle(data-dimension='120',data-width='10',data-fontsize='15',data-fgcolor='#61a9dc',data-bgcolor='#eee',data-fill='#ddd')
			//div.well.content(style='display:none;')
		div.col-lg-8.col-xs-12#summary
			div.row.col-lg-12.col-xs-12
				div
					textarea#text.content.form-control(rows='10', required='true',
						placeholder='Please enter the text to analyze (minimum of 100 words)...')
						|#{user.data}
					div.text-right
						span.wordsCount.small
			div.row.form-group.text-right
				div.col-lg-3.col-lg-push-3.col-xs-3
					button.btn.btn-block#back-btn(type='button',onClick='javascript:history.back();') Back
				div.col-lg-3.col-lg-push-3.col-xs-3
					button.btn.btn-block.clear-btn(type='button') Clear
				div.col-lg-3.col-lg-push-3.col-xs-3.col-xs-push-3
					button#analysis-btn.btn.btn-block.analysis-btn(type='button') Analyze
	div.row(style='padding-top:20px;')
		div.col-lg-6.col-xs-12.text-justify.personality(style='display:none;')
			h3(style='height: 29px;') #{user.fullName}'s Personality*
			div.summary-div
			div.text-right(style='color: gray')
				em.small *Compared to most people who participated in our surveys.
			div.row
				div.col-lg-12
					div#chart.col-lg-6
					div.well#vizcontainer.col-lg-6.text-center.results(style='display:none;')
		div#loading.row.col-lg-6.col-xs-12.text-center(style='display:none;')
			img(src='/images/watson.gif')
		div.col-lg-6
			div#positions.col-lg-12.col-xs-12(style='display: none;min-height:200px;')
				div.content
	div.col-lg-6.col-md-6.col-xs-12
		div.row
			div.form-group.row.loading1.text-center(style='display:none;')
				h2 &nbsp;
				img(src='/images/watson.gif')
			div.form-group.row.error(style='display: none;')
				h2 &nbsp;
				div.well
					p.errorMsg
			div#raw.hidden #{JSON.stringify(user)}<commit_msg>fixed text-profile id error<commit_after>//- index.jade
extends ./layout.jade

block specificJS
	script(type='text/javascript', src='/js/demo.js')
	script(type='text/javascript', src='/js/personality.js')
	script(type='text/javascript', src='/js/textsummary.js')
	script(type='text/javascript', src='/js/jquery.circliful.min.js')

block content
	div.row(style='margin-bottom:40px;')
		div#userInfo.col-lg-4.col-xs-12.text-center(style='padding-top:40px;')
			span.col-lg-4.col-xs-12.text-center
				img(src='#{user.pictureUrl}')
			span.col-lg-7.col-xs-12.text-center
				h2 #{user.fullName}
				p #{user.headline}
		div#concepts.text-right.col-lg-8.col-md-5.col-xs-12(style='display: none;')
			div#concept1.circle(data-dimension='120',data-width='10',data-fontsize='15',data-fgcolor='#61a9dc',data-bgcolor='#eee',data-fill='#ddd')
			div#concept2.circle(data-dimension='120',data-width='10',data-fontsize='15',data-fgcolor='#61a9dc',data-bgcolor='#eee',data-fill='#ddd')
			div#concept3.circle(data-dimension='120',data-width='15',data-fontsize='15',data-fgcolor='#61a9dc',data-bgcolor='#eee',data-fill='#ddd')
			div#concept4.circle(data-dimension='120',data-width='10',data-fontsize='15',data-fgcolor='#61a9dc',data-bgcolor='#eee',data-fill='#ddd')
			//div.well.content(style='display:none;')
		div.col-lg-8.col-xs-12#summary
			div.row.col-lg-12.col-xs-12
				div
					textarea#txt-profile.content.form-control(rows='10', required='true',
						placeholder='Please enter the text to analyze (minimum of 100 words)...')
						|#{user.data}
					div.text-right
						span.wordsCount.small
			div.row.form-group.text-right
				div.col-lg-3.col-lg-push-3.col-xs-3
					button.btn.btn-block#back-btn(type='button',onClick='javascript:history.back();') Back
				div.col-lg-3.col-lg-push-3.col-xs-3
					button.btn.btn-block.clear-btn(type='button') Clear
				div.col-lg-3.col-lg-push-3.col-xs-3.col-xs-push-3
					button#analysis-btn.btn.btn-block.analysis-btn(type='button') Analyze
	div.row(style='padding-top:20px;')
		div.col-lg-6.col-xs-12.text-justify.personality(style='display:none;')
			h3(style='height: 29px;') #{user.fullName}'s Personality*
			div.summary-div
			div.text-right(style='color: gray')
				em.small *Compared to most people who participated in our surveys.
			div.row
				div.col-lg-12
					div#chart.col-lg-6
					div.well#vizcontainer.col-lg-6.text-center.results(style='display:none;')
		div#loading.row.col-lg-6.col-xs-12.text-center(style='display:none;')
			img(src='/images/watson.gif')
		div.col-lg-6
			div#positions.col-lg-12.col-xs-12(style='display: none;min-height:200px;')
				div.content
	div.col-lg-6.col-md-6.col-xs-12
		div.row
			div.form-group.row.loading1.text-center(style='display:none;')
				h2 &nbsp;
				img(src='/images/watson.gif')
			div.form-group.row.error(style='display: none;')
				h2 &nbsp;
				div.well
					p.errorMsg
			div#raw.hidden #{JSON.stringify(user)}
{'fraction_non_alphanumeric': 0.201446107280982, 'fraction_numerical': 0.038338658146964855, 'mean_word_length': 3.820097244732577, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4195909', 'n_tokens_mistral': 2740, 'n_tokens_neox': 2297, 'n_words': 208}