<commit_before><?php

// Include the header
include 'template/header.php';

// Check username was sent
if ( !empty($_GET['username']) ) {
	// If so: carry no
	
	// Include the API
	require '../../lastfmapi/lastfmapi.php';
	
	// Set the API key
	$authVars['apiKey'] = 'fa3af76b9396d0091c9c41ebe3c63716';
	// Pass the apiKey to the auth class to get a none fullAuth auth class
	$auth = new lastfmApiAuth('setsession', $authVars);
	
	// Call for the tasteometer package class with auth class
	$apiClass = new lastfmApi();
	$tasteometerClass = $apiClass->getPackage($auth, 'tasteometer');
	
	// Creat an array with all the lastfm staff members usernames
	$staffMembers = array(
		'RNR',
		'RJ',
		'mainstream',
		'spencerhyman',
		'rregan',
		'menardnyc',
		'lynn_fischer',
		'Orlenay',
		'mischa',
		'Russ',
		'muesli',
		'flaneur',
		'skr',
		'mokele',
		'pete_bug',
		'sharevari',
		'hannahdonovan',
		'nova77LF',
		'vincro',
		'sideb0ard',
		'mustaqila',
		'joanofarctan',
		'fionapinkstars',
		'julians',
		'lumberjack',
		'Jonty',
		'martind',
		'theneonfever',
		'foreverautumn',
		'Greg_J',
		'grazziee',
		'pellitero',
		'Korean_Cowboy',
		'mxcl',
		'Whiskeyface',
		'juliasven',
		'galeote',
		'Edouard',
		'jwheare',
		'gaoxing',
		'gaoxing',
		'justanotherider',
		'erikfrey',
		'E1i45',
		'robinlisle',
		'fakesensations',
		'HawkeVIPER',
		'nancyvw',
		'underpangs',
		'laimee',
		'lozzd',
		'jonocole',
		'por',
		'jensnikolaus',
		'afonsoduarte',
		'dunk',
		'massdosage',
		'acreature',
		'LeJeff',
		'lizrice',
		'Omnicia',
		'rynos',
		'miadellocca',
		'dmhuk',
		'Daniel1986',
		'Schrollum',
		'michalboo',
		'musicmobs',
		'xe54',
		'liquid986',
		'irvinebrown',
		'bambidambo',
		'nananaina',
		'mbrodbelt',
		'wakehurst2',
		'dundez',
		'Tars21',<commit_msg>Removed staff member with only 5 plays because it messes up the results<commit_after><?php

// Include the header
include 'template/header.php';

// Check username was sent
if ( !empty($_GET['username']) ) {
	// If so: carry no
	
	// Include the API
	require '../../lastfmapi/lastfmapi.php';
	
	// Set the API key
	$authVars['apiKey'] = 'fa3af76b9396d0091c9c41ebe3c63716';
	// Pass the apiKey to the auth class to get a none fullAuth auth class
	$auth = new lastfmApiAuth('setsession', $authVars);
	
	// Call for the tasteometer package class with auth class
	$apiClass = new lastfmApi();
	$tasteometerClass = $apiClass->getPackage($auth, 'tasteometer');
	
	// Creat an array with all the lastfm staff members usernames
	$staffMembers = array(
		'RNR',
		'RJ',
		'mainstream',
		'spencerhyman',
		'rregan',
		'menardnyc',
		'lynn_fischer',
		'Orlenay',
		'mischa',
		'Russ',
		'muesli',
		'flaneur',
		'skr',
		'mokele',
		'pete_bug',
		'sharevari',
		'hannahdonovan',
		'nova77LF',
		'vincro',
		'sideb0ard',
		'mustaqila',
		'joanofarctan',
		'fionapinkstars',
		'julians',
		'lumberjack',
		'Jonty',
		'martind',
		'theneonfever',
		'foreverautumn',
		'Greg_J',
		'grazziee',
		'pellitero',
		'Korean_Cowboy',
		'mxcl',
		'Whiskeyface',
		'juliasven',
		'galeote',
		'Edouard',
		'jwheare',
		'gaoxing',
		'gaoxing',
		'justanotherider',
		'erikfrey',
		'E1i45',
		'robinlisle',
		'fakesensations',
		'HawkeVIPER',
		'nancyvw',
		'underpangs',
		'laimee',
		'lozzd',
		'jonocole',
		'por',
		'jensnikolaus',
		'afonsoduarte',
		'dunk',
		'massdosage',
		'acreature',
		'LeJeff',
		'lizrice',
		'Omnicia',
		'rynos',
		'miadellocca',
		'dmhuk',
		'Daniel1986',
		'Schrollum',
		'michalboo',
		'musicmobs',
		'xe54',
		'liquid986',
		'irvinebrown',
		'bambidambo',
		'nananaina',
		'wakehurst2',
		'dundez',
		'Tars21',
{'fraction_non_alphanumeric': 0.17597998331943285, 'fraction_numerical': 0.021406727828746176, 'mean_word_length': 3.836021505376344, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3832060', 'n_tokens_mistral': 1817, 'n_tokens_neox': 1561, 'n_words': 308}