<commit_before><?php

require_once(__DIR__ . '/../GitHubObject.php');
require_once(__DIR__ . '/GitHubUser.php');
	

class GitHubSimpleRepo extends GitHubObject
{
	/* (non-PHPdoc)
	 * @see GitHubObject::getAttributes()
	 */
	protected function getAttributes()
	{
		return array_merge(parent::getAttributes(), array(
			'id' => 'int',
			'owner' => 'GitHubUser',
			'name' => 'string',
			'full_name' => 'string',
			'description' => 'string',
			'private' => 'boolean',
			'fork' => 'boolean',
			'url' => 'string',
			'html_url' => 'string',
		));
	}
	
	/**
	 * @var int
	 */
	protected $id;

	/**
	 * @var GitHubUser
	 */
	protected $owner;

	/**
	 * @var string
	 */
	protected $name;

	/**
	 * @var string
	 */
	protected $full_name;

	/**
	 * @var string
	 */
	protected $description;

	/**
	 * @var boolean
	 */
	protected $private;

	/**
	 * @var boolean
	 */
	protected $fork;

	/**
	 * @var string
	 */
	protected $url;

	/**
	 * @var string
	 */
	protected $html_url;

	/**
	 * @return int
	 */
	public function getId()
	{
		return $this->id;
	}

	/**
	 * @return GitHubUser
	 */
	public function getOwner()
	{
		return $this->owner;
	}

	/**
	 * @return string
	 */
	public function getName()
	{
		return $this->name;
	}

	/**
	 * @return string
	 */
	public function getFullName()
	{
		return $this->full_name;
	}

	/**
	 * @return string
	 */
	public function getDescription()
	{
		return $this->description;
	}

	/**
	 * @return boolean
	 */
	public function getPrivate()
	{
		return $this->private;
	}

	/**
	 * @return boolean
	 */
	public function getFork()
	{
		return $this->fork;
	}

	/**
	 * @return string
	 */
	public function getUrl()
	{
		return $this->url;
	}

	/**
	 * @return string
	 */
	public function getHtmlUrl()
	{
		return $this->html_url;
	}

}
<commit_msg>Update Github API Client; so it includes repo language bindings<commit_after><?php

require_once(__DIR__ . '/../GitHubObject.php');
require_once(__DIR__ . '/GitHubUser.php');
	

class GitHubSimpleRepo extends GitHubObject
{
	/* (non-PHPdoc)
	 * @see GitHubObject::getAttributes()
	 */
	protected function getAttributes()
	{
		return array_merge(parent::getAttributes(), array(
			'id' => 'int',
			'owner' => 'GitHubUser',
			'name' => 'string',
			'full_name' => 'string',
			'description' => 'string',
			'private' => 'boolean',
			'fork' => 'boolean',
			'url' => 'string',
			'html_url' => 'string',
			'language' => 'string'
		));
	}
	
	/**
	 * @var int
	 */
	protected $id;

	/**
	 * @var GitHubUser
	 */
	protected $owner;

	/**
	 * @var string
	 */
	protected $name;

	/**
	 * @var string
	 */
	protected $full_name;

	/**
	 * @var string
	 */
	protected $description;

	/**
	 * @var boolean
	 */
	protected $private;

	/**
	 * @var boolean
	 */
	protected $fork;

	/**
	 * @var string
	 */
	protected $url;

	/**
	 * @var string
	 */
	protected $html_url;

	/**
	 * @var string
	 */
	protected $language;

	/**
	 * @return int
	 */
	public function getId()
	{
		return $this->id;
	}

	/**
	 * @return GitHubUser
	 */
	public function getOwner()
	{
		return $this->owner;
	}

	/**
	 * @return string
	 */
	public function getName()
	{
		return $this->name;
	}

	/**
	 * @return string
	 */
	public function getFullName()
	{
		return $this->full_name;
	}

	/**
	 * @return string
	 */
	public function getDescription()
	{
		return $this->description;
	}

	/**
	 * @return boolean
	 */
	public function getPrivate()
	{
		return $this->private;
	}

	/**
	 * @return boolean
	 */
	public function getFork()
	{
		return $this->fork;
	}

	/**
	 * @return string
	 */
	public function getUrl()
	{
		return $this->url;
	}

	/**
	 * @return string
	 */
	public function getHtmlUrl()
	{
		return $this->html_url;
	}

	/**
	 * @return language
	 */
	public function getLanguage()
	{
		return $this->language;
	}

}

{'fraction_non_alphanumeric': 0.1827024185068349, 'fraction_numerical': 0.0, 'mean_word_length': 2.6657032755298653, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 41, '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': '7645279', 'n_tokens_mistral': 1536, 'n_tokens_neox': 1333, 'n_words': 292}