<commit_before>.navbar
	.navbar-inner
		.container
			a.btn.btn-navbar("data-target"=".nav-collapse", "data-toggle"="collapse")
				span.icon-bar
				span.icon-bar
				span.icon-bar
			a#connected.brand(:href = "#") Activity Streams
			.nav-collapse
				ul.nav
					- if(session.auth)
						li.logout
							a(href="/logout")
								span Logout
			.span5
				- if(!session.auth)
					ul.nav
						li.dropdown
							a(href="#", "data-toggle"="dropdown")
								span Login
								b.caret
							ul.dropdown-menu
								li.facebook
									a(href="/auth/facebook")
										img(src="//facebook.com/favicon.ico", alt="Facebook")
										span Facebook
								li.twitter
									a(href="/auth/twitter)
										img(src="//twitter.com/favicon.ico", alt="Twitter")
										span Twitter
								li.github
									a(href="/auth/github")
										img(src="//github.com/favicon.ico", alt="GitHub")
										span Github

.container
	.row
		.span10.offset1
			form.well
				.row
					.span8
						label Content
						textarea.span7#msg
				.row
					.span8
						button#send-message Publish
	.row
		.span10.offset1#stream
			ul.unstyled
				-if (locals.streams && locals.streams.firehose && locals.streams.firehose.items) {
					- var activities = locals.streams.firehose.items
					include activity
				-}
<commit_msg>Fix for template to render activities from appropriate stream<commit_after>.navbar
	.navbar-inner
		.container
			a.btn.btn-navbar("data-target"=".nav-collapse", "data-toggle"="collapse")
				span.icon-bar
				span.icon-bar
				span.icon-bar
			a#connected.brand(:href = "#") Activity Streams
			.nav-collapse
				ul.nav
					- if(session.auth)
						li.logout
							a(href="/logout")
								span Logout
			.span5
				- if(!session.auth)
					ul.nav
						li.dropdown
							a(href="#", "data-toggle"="dropdown")
								span Login
								b.caret
							ul.dropdown-menu
								li.facebook
									a(href="/auth/facebook")
										img(src="//facebook.com/favicon.ico", alt="Facebook")
										span Facebook
								li.twitter
									a(href="/auth/twitter)
										img(src="//twitter.com/favicon.ico", alt="Twitter")
										span Twitter
								li.github
									a(href="/auth/github")
										img(src="//github.com/favicon.ico", alt="GitHub")
										span Github

.container
	- var activities = [];
	.row
		.span10.offset1
			-if (locals.streams) {
				ul.nav.nav-tabs
					each stream in locals.streams
						-if (stream.items && stream.items.length>0)
							li.active
								- activities = stream.items
								a(href="/streams/#{stream.name}")=stream.name
						-else
							li
								a(href="/streams/#{stream.name}")=stream.name
			-}
	.row
		.span10.offset1
			form.well
				.row
					.span8
						label Content
						textarea.span7#msg
				.row
					.span8
						button#send-message Publish
	.row
		.span10.offset1#stream
			ul.unstyled
				-if (activities && activities.length) {
					include activity
				-}

{'fraction_non_alphanumeric': 0.1400607492406345, 'fraction_numerical': 0.00809989875126561, 'mean_word_length': 1.9492537313432836, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7439940', 'n_tokens_mistral': 1504, 'n_tokens_neox': 971, 'n_words': 167}