<commit_before><?php

class Upload {
	private $_allowed_types = array(
			IMAGETYPE_GIF  => array('function_postfix' => 'gif',  'file_format' => 'gif'),
			IMAGETYPE_JPEG => array('function_postfix' => 'jpeg', 'file_format' => 'jpg'),
			IMAGETYPE_PNG  => array('function_postfix' => 'png',  'file_format' => 'png'),
			IMAGETYPE_BMP  => array('function_postfix' => 'wbmp', 'file_format' => 'bmp'),
		);

	private $_blacklisted_domains = array(
			'img.ziggi.org',
		);

	const MAX_FILE_SIZE = '2M';

	public function upload_urls($urls_array) {
		$files_count = count($urls_array);

		$array_result = array();
<commit_msg>bmp changed to wbmp<commit_after><?php

class Upload {
	private $_allowed_types = array(
			IMAGETYPE_GIF  => array('function_postfix' => 'gif',  'file_format' => 'gif'),
			IMAGETYPE_JPEG => array('function_postfix' => 'jpeg', 'file_format' => 'jpg'),
			IMAGETYPE_PNG  => array('function_postfix' => 'png',  'file_format' => 'png'),
			IMAGETYPE_WBMP => array('function_postfix' => 'wbmp', 'file_format' => 'wbmp'),
		);

	private $_blacklisted_domains = array(
			'img.ziggi.org',
		);

	const MAX_FILE_SIZE = '2M';

	public function upload_urls($urls_array) {
		$files_count = count($urls_array);

		$array_result = array();

{'fraction_non_alphanumeric': 0.17905675459632295, 'fraction_numerical': 0.0015987210231814548, 'mean_word_length': 5.167487684729064, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 27, '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': '7344420', 'n_tokens_mistral': 503, 'n_tokens_neox': 469, 'n_words': 83}