<commit_before><?php


	class SaveData extends ChunkyFileFormat	{

		public	$data			= "";
		public	$dataChunks		= array(
			'magic'				=> array( 'start' => 0x0000, 'length' => 0x0008,	'type' => "s" ),
			'unknown'			=> array( 'start' => 0x0008, 'length' => 0x0004,	'type' => "i" ),
			'compressedSize'	=> array( 'start' => 0x000c, 'length' => 0x0004,	'type' => "i" ),
			'decompressedSize'	=> array( 'start' => 0x0010, 'length' => 0x0004,	'type' => "i" ),
			'data'				=> array( 'start' => 0x0014, 'length' => false,		'type' => "s" ),
			);

		protected	$_compressedSaveData	= "";


		public function __construct($data) {
			$this->data	= $data;

			$magic			= $this->getChunk("magic");
			if ($magic != "YKCMP_V1") {
				throw new Exception("Unexpected magic value: ". $magic);
			}

			$this->_compressedSaveData	= $this->getChunk("data");

		}

/*
0x00 chars(8) YKCMP_V1
0x08 uInt32 unknown (0x00000004)
0x0C uInt32 compressed file size
0x10 uInt32 decompressed file size
After 0x14 are compressed data.
*/


		public function getCompressedDataObject() {
			return new YKCMP($this->_compressedSaveData, $this->getChunk("decompressedSize"));

		}


	}<commit_msg>Gutting savedata for future work<commit_after><?php


	class SaveData extends ChunkyFileFormat	{

		public	$data			= "";
		public	$dataChunks		= array(
			);


		public function __construct($data) {
			$this->data	= $data;


		}



	}
{'fraction_non_alphanumeric': 0.1729807005003574, 'fraction_numerical': 0.054324517512508934, 'mean_word_length': 3.7138047138047137, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 30, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, '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': '5579128', 'n_tokens_mistral': 652, 'n_tokens_neox': 521, 'n_words': 118}