<commit_before>#pragma once
#include<string>
#include<array>
namespace bmslib {

	enum class Player {
		Single,
		Couple,
		Double,
		Battle
	};

	enum Rank {
		Veryhard,
		Hard,
		Normal,
		Easy
	};

	struct Header
	{
		Player player;
		std::string genre, title, artist, stagefile;
		double bpm;
		unsigned int level, volume, total;
		std::array<std::string, 575> wav, bmp;
	};

	enum Channel {
		None,
		Backwav,
		Shortening,
		Changebpm,
		Bga,
		None,
		Pooranim,
		Bgalayer,
		Changebpm,
		Stop,
		None,
		Key1,
		Key2,
		Key3,
		Key4,
		Key5,
		Key6,
		Key7,
		Key8,
		Key9,
		None,
		Key1_2P,
		Key2_2P,
		Key3_2P,
		Key4_2P,
		Key5_2P,
		Key6_2P,
		Key7_2P,
		Key8_2P,
		Key9_2P,
	};


}<commit_msg>defined Bar struct. defined Bms struct.<commit_after>#pragma once
#include<string>
#include<array>
#include<vector>
namespace bmslib {

	enum class Player {
		Single,
		Couple,
		Double,
		Battle
	};

	enum Rank {
		Veryhard,
		Hard,
		Normal,
		Easy
	};

	struct Header
	{
		Player player;
		std::string genre, title, artist, stagefile;
		double bpm;
		unsigned int level, volume, total;
		std::array<std::string, 575> wav, bmp;
	};

	enum Channel {
		None,
		Backwav,
		Shortening,
		Changebpm,
		Bga,
		None,
		Pooranim,
		Bgalayer,
		Changebpm,
		Stop,
		None,
		Key1,
		Key2,
		Key3,
		Key4,
		Key5,
		Key6,
		Key7,
		Key8,
		Key9,
		None,
		Key1_2P,
		Key2_2P,
		Key3_2P,
		Key4_2P,
		Key5_2P,
		Key6_2P,
		Key7_2P,
		Key8_2P,
		Key9_2P,
	};

	struct Bar {
		int backchorus; // Set WAV number
		int length = 1000; // Default Value = 1000
		std::vector<double> bpms;
		int bga, pooranim, layerbga;
		std::array<std::vector<bool>, 9> objects;
	};

	struct Bms {
		Header header;
		std::vector<Bar> bar;
	};

	Bms load(std::string bmsfile) {

	}

	void save(std::string filename, const Bms& bms) {

	}
}
{'fraction_non_alphanumeric': 0.11962513781697905, 'fraction_numerical': 0.038037486218302094, 'mean_word_length': 3.033333333333333, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, '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': '7440348', 'n_tokens_mistral': 933, 'n_tokens_neox': 805, 'n_words': 185}