<commit_before><!DOCTYPE html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>Twinterest Explorer</title>
	<meta name="description" content="Divide Twitter users into interest-based clusters in real-time.">
	<meta name="viewport" content="width=device-width, initial-scale=1">

	<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
	<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
	<link href='http://fonts.googleapis.com/css?family=Roboto:300,400,700' rel='stylesheet' type='text/css'>
	<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700' rel='stylesheet' type='text/css'>
	<link rel="stylesheet" href="css/main.css">
	<script src="js/vendor/modernizr-2.6.2.min.js"></script>
</head>

<body ng-app="twitterWeb.app">
	<div class="container-fluid title-bar">
		<h1 class="title text-center">
			<a href="/" target="_self" class="plain-link"><img class="twitter-icon" ng-src="img/twitter-256.png" height="48"> Twinterest Explorer <span class="title-beta">(Beta)</span></a>
			<a href="" data-toggle="modal" data-target="#settingsModal" ng-click="openModal = true"><i class="fa fa-gear pull-right title-settings"></i></a>
		</h1>
	</div>

    <div class="container" ng-controller="TwitterController">
   		<div class="row">
   			<div class="col-md-1">
   				<h4>Users:</h4>
   				<div class="input-group input-group-lg">
			    	<input type="text" ng-model="userCount" class="form-control">
			    </div>
			</div>
   			<div class="col-md-3">
    			<h4>Explore by seed user:</h4>
	    		<form ng-submit="getSeedUser(screenName)">
				    <div class="input-group input-group-lg">
				    	<span class="input-group-addon">@</span>
						<input ng-model="screenName" type="text" class="form-control">
						<span class="input-group-btn"><button class="btn btn-default" ng-click="getSeedUser(screenName)" type="button">Go!</button></span>
				    </div>
			    </form>
		    </div>
		    
		    <div class="col-md-3">
    			<h4>Explore by keyword:</h4>
	    		<form class="form-target-user" ng-submit="getKeywordUsers(keyword)">
				    <div class="input-group input-group-lg">
						<input ng-model="keyword" type="text" class="form-control">
						<span class="input-group-btn"><button class="btn btn-default" ng-click="getKeywordUsers(keyword)" type="button">Go!</button></span>
				    </div>
			    </form>
		    </div>
		    
		    <div class="col-md-2 col-list-upload">
				<input type="file" id="gtfile" ng-model="gtFile" gt-input>
				<button id="gtupload" class="btn btn-default btn-list-upload" type="button" gt-button>Upload a user list</button>
			</div>
			
			<div class="col-md-1">
	    		<h4 class="header-bias">Generality:</h4>
	    		<input type="range" id="genbias" min=-1 max=1 step=0.1 ng-model="generalityBias" ng-mouseup="updateBias()">
	    	</div>
	    	
	    	<div class="col-md-1 col-bias-value">
	    		<output class="output-bias" for="genbias" id=volume ng-bind="generalityBias"></output>
	    	</div>
			
		    <div class="col-md-1 col-spinner text-right" ng-if="isLoading()"><i class="fa fa-spinner fa-spin"></i></div>
		</div>

		<div class="row" ng-cloak>
			<div class="col-md-6 col-no-pad-top animate-show-hide" ng-show="visibleUsers.length > 0">
	    		<h3>Got <span ng-bind="visibleUsers.length"></span> valid users (with enough English tweets)</h3>
	    	</div>
	    	<div class="col-md-3 col-no-pad-top animate-show-hide text-right" ng-show="visibleUsers.length > 1 && isLoading()">
	    		<h3>Calculating topic clusters...</h3>
	    	</div>
	    	<div class="col-md-3 col-no-pad-top animate-show-hide text-right" ng-show="visibleUsers.length > 1 && !isLoading()">
	    		<h3>Topic clusters</h3>
	    	</div><commit_msg>Updated index.<commit_after><!DOCTYPE html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>Twinterest Explorer</title>
	<meta name="description" content="Divide Twitter users into interest-based clusters in real-time.">
	<meta name="viewport" content="width=device-width, initial-scale=1">

	<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
	<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
	<link href='http://fonts.googleapis.com/css?family=Roboto:300,400,700' rel='stylesheet' type='text/css'>
	<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700' rel='stylesheet' type='text/css'>
	<link rel="stylesheet" href="css/main.css">
	<script src="js/vendor/modernizr-2.6.2.min.js"></script>
</head>

<body ng-app="twitterWeb.app">
	<div class="container-fluid title-bar">
		<h1 class="title text-center">
			<a href="/te" target="_self" class="plain-link"><img class="twitter-icon" ng-src="img/twitter-256.png" height="48"> Twinterest Explorer <span class="title-beta">(Beta)</span></a>
			<a href="" data-toggle="modal" data-target="#settingsModal" ng-click="openModal = true"><i class="fa fa-gear pull-right title-settings"></i></a>
		</h1>
	</div>

    <div class="container" ng-controller="TwitterController">
   		<div class="row">
   			<div class="col-md-1">
   				<h4>Users:</h4>
   				<div class="input-group input-group-lg">
			    	<input type="text" ng-model="userCount" class="form-control">
			    </div>
			</div>
   			<div class="col-md-3">
    			<h4>Explore by seed user:</h4>
	    		<form ng-submit="getSeedUser(screenName)">
				    <div class="input-group input-group-lg">
				    	<span class="input-group-addon">@</span>
						<input ng-model="screenName" type="text" class="form-control">
						<span class="input-group-btn"><button class="btn btn-default" ng-click="getSeedUser(screenName)" type="button">Go!</button></span>
				    </div>
			    </form>
		    </div>
		    
		    <div class="col-md-3">
    			<h4>Explore by keyword:</h4>
	    		<form class="form-target-user" ng-submit="getKeywordUsers(keyword)">
				    <div class="input-group input-group-lg">
						<input ng-model="keyword" type="text" class="form-control">
						<span class="input-group-btn"><button class="btn btn-default" ng-click="getKeywordUsers(keyword)" type="button">Go!</button></span>
				    </div>
			    </form>
		    </div>
		    
		    <div class="col-md-2 col-list-upload">
				<input type="file" id="gtfile" ng-model="gtFile" gt-input>
				<button id="gtupload" class="btn btn-default btn-list-upload" type="button" gt-button>Upload a user list</button>
			</div>
			
			<div class="col-md-1">
	    		<h4 class="header-bias">Interest scope:</h4>
	    		<input type="range" id="genbias" min=-1 max=1 step=0.1 ng-model="generalityBias" ng-mouseup="updateBias()">
	    	</div>
	    	
	    	<div class="col-md-1 col-bias-value">
	    		<output class="output-bias" for="genbias" id=volume ng-bind="generalityBias"></output>
	    	</div>
			
		    <div class="col-md-1 col-spinner text-right" ng-if="isLoading()"><i class="fa fa-spinner fa-spin"></i></div>
		</div>

		<div class="row" ng-cloak>
			<div class="col-md-6 col-no-pad-top animate-show-hide" ng-show="visibleUsers.length > 0">
	    		<h3>Got <span ng-bind="visibleUsers.length"></span> valid users (with enough English tweets)</h3>
	    	</div>
	    	<div class="col-md-3 col-no-pad-top animate-show-hide text-right" ng-show="visibleUsers.length > 1 && isLoading()">
	    		<h3>Calculating topic clusters...</h3>
	    	</div>
	    	<div class="col-md-3 col-no-pad-top animate-show-hide text-right" ng-show="visibleUsers.length > 1 && !isLoading()">
	    		<h3>Topic clusters</h3>
	    	</div>
{'fraction_non_alphanumeric': 0.19869536855838227, 'fraction_numerical': 0.017482061317677756, 'mean_word_length': 3.7030674846625766, 'pattern_counts': {'":': 0, '<': 205, '<?xml version=': 0, '>': 211, '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': '1145566', 'n_tokens_mistral': 3057, 'n_tokens_neox': 2721, 'n_words': 469}