<commit_before><?php

namespace Seat\Commands;

use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;

use Pheal\Pheal;
use Seat\EveApi;
use Seat\EveApi\BaseApi;
use Seat\EveApi\Account;

class SeatAddKey extends Command {

	/**
	 * The console command name.
	 *
	 * @var string
	 */
	protected $name = 'seat:add-key';

	/**
	 * The console command description.
	 *
	 * @var string
	 */
	protected $description = 'Adds a API Key to SeAT.';

	/**
	 * Create a new command instance.
	 *
	 * @return void
	 */
	public function __construct()
	{
		parent::__construct();
	}

	/**
	 * Execute the console command.
	 *
	 * @return mixed
	 */
	public function fire()
	{
		try {
			$admin = \Carthalyst\Sentry::findUserByLogin('admin');
		}
		catch (\Cartalyst\Sentry\Users\UserNotFoundException $e) {
			$this->error('Admin account doesn\'t exist.');
		}
<commit_msg>Add comments, formatting and class resolution fix<commit_after><?php

namespace Seat\Commands;

use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;

use Pheal\Pheal;
use Seat\EveApi;
use Seat\EveApi\BaseApi;
use Seat\EveApi\Account;
use Carthalyst\Sentry as Sentry;

class SeatAddKey extends Command {

	/**
	 * The console command name.
	 *
	 * @var string
	 */
	protected $name = 'seat:add-key';

	/**
	 * The console command description.
	 *
	 * @var string
	 */
	protected $description = 'Adds a API Key to SeAT.';

	/**
	 * Create a new command instance.
	 *
	 * @return void
	 */
	public function __construct()
	{
		parent::__construct();
	}

	/**
	 * Execute the console command.
	 *
	 * @return mixed
	 */
	public function fire()
	{

		// Keys added via the CLI will automatically be assigned to the admin
		// useri as the owner. Find the 'admin' user in SeAT for later reference
		try {

			$admin = \Sentry::findUserByLogin('admin');

		} catch (\Cartalyst\Sentry\Users\UserNotFoundException $e) {

			$this->error('Admin account doesn\'t exist. Run seat:reset to create it.');
			return;
		}

{'fraction_non_alphanumeric': 0.1272984441301273, 'fraction_numerical': 0.0, 'mean_word_length': 3.393374741200828, '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': '5419589', 'n_tokens_mistral': 751, 'n_tokens_neox': 691, 'n_words': 189}