<commit_before>#include <iostream>
#include <string>

class Food
{
	protected:
		std::string name, description;
		double price;
	public:
		Food(std::string s1, std::string s2, double n) : name(s1), description(s2), price(n) {}
};

class Print
{
	public:
		void print(std::string s1, std::string s2, double n);
};

void Print::print(std::string s1, std::string s2, double n)
{
	std::cout << s1 << ", " << s2 << ", " << n << '\n';
}

class Burger: public Food, public Print
{
	public:
		Burger(std::string s1, std::string s2, double n) : Food(s1, s2, n) {}
		std::string str1 ()
			{ return name; }
		std::string str2 ()
			{ return description; }
		double num ()
			{ return price; }
	
};

class Fries: public Food, public Print
{
	public:
		Fries(std::string s1, std::string s2, double n) : Food(s1, s2, n) {}
		std::string str1 ()
			{ return name; }
		std::string str2 ()
			{ return description; }
		double num ()
			{ return price; }
};

class Hotdog: public Food, public Print
{
	public:
		Hotdog(std::string s1, std::string s2, double n) : Food(s1, s2, n) {}
		std::string str1 ()
			{ return name; }
		std::string str2 ()
			{ return description; }
		double num ()
			{ return price; }
};

class Nuggets: public Food, public Print
{
	public:
		Nuggets(std::string s1, std::string s2, double n) : Food(s1, s2, n) {}
		std::string str1 ()
			{ return name; }
		std::string str2 ()
			{ return description; }
		double num ()
			{ return price; }
	
};

class Chicken: public Food, public Print
{
	public:
		Chicken(std::string s1, std::string s2, double n) : Food(s1, s2, n) {}
		std::string str1 ()
			{ return name; }
		std::string str2 ()
			{ return description; }
		double num ()
			{ return price; }
	
};

class Salad: public Food, public Print
{
	public:
		Salad(std::string s1, std::string s2, double n) : Food(s1, s2, n) {}
		std::string str1 ()
			{ return name; }
		std::string str2 ()
			{ return description; }
		double num ()
			{ return price; }
	
};

int main()
{
	Burger burger("Hamburger", "USDA Prime Beef", 3.99);
	burger.print(burger.str1(), burger.str2(), burger.num());
	Fries fries("French Fries", "Hand-cut with a dash of sea salt", 0.99);
	fries.print(fries.str1(), fries.str2(), fries.num());
	// DON'T USE THE DESCRIPTION BELOW
	Hotdog hotdog("Hotdog", "Kosher, so you can gobble that meaty sausage without shaming your rabbi", 1.25);
	hotdog.print(hotdog.str1(), hotdog.str2(), hotdog.num());
	return 0;
}<commit_msg>Comment out the main method in Food so we can run the app.<commit_after>#include <iostream>
#include <string>

class Food
{
	protected:
		std::string name, description;
		double price;
	public:
		Food(std::string s1, std::string s2, double n) : name(s1), description(s2), price(n) {}
};

class Print
{
	public:
		void print(std::string s1, std::string s2, double n);
};

void Print::print(std::string s1, std::string s2, double n)
{
	std::cout << s1 << ", " << s2 << ", " << n << '\n';
}

class Burger: public Food, public Print
{
	public:
		Burger(std::string s1, std::string s2, double n) : Food(s1, s2, n) {}
		std::string str1 ()
			{ return name; }
		std::string str2 ()
			{ return description; }
		double num ()
			{ return price; }
	
};

class Fries: public Food, public Print
{
	public:
		Fries(std::string s1, std::string s2, double n) : Food(s1, s2, n) {}
		std::string str1 ()
			{ return name; }
		std::string str2 ()
			{ return description; }
		double num ()
			{ return price; }
};

class Hotdog: public Food, public Print
{
	public:
		Hotdog(std::string s1, std::string s2, double n) : Food(s1, s2, n) {}
		std::string str1 ()
			{ return name; }
		std::string str2 ()
			{ return description; }
		double num ()
			{ return price; }
};

class Nuggets: public Food, public Print
{
	public:
		Nuggets(std::string s1, std::string s2, double n) : Food(s1, s2, n) {}
		std::string str1 ()
			{ return name; }
		std::string str2 ()
			{ return description; }
		double num ()
			{ return price; }
	
};

class Chicken: public Food, public Print
{
	public:
		Chicken(std::string s1, std::string s2, double n) : Food(s1, s2, n) {}
		std::string str1 ()
			{ return name; }
		std::string str2 ()
			{ return description; }
		double num ()
			{ return price; }
	
};

class Salad: public Food, public Print
{
	public:
		Salad(std::string s1, std::string s2, double n) : Food(s1, s2, n) {}
		std::string str1 ()
			{ return name; }
		std::string str2 ()
			{ return description; }
		double num ()
			{ return price; }
	
};

//int main()
//{
//	Burger burger("Hamburger", "USDA Prime Beef", 3.99);
//	burger.print(burger.str1(), burger.str2(), burger.num());
//	Fries fries("French Fries", "Hand-cut with a dash of sea salt", 0.99);
//	fries.print(fries.str1(), fries.str2(), fries.num());
//	// DON'T USE THE DESCRIPTION BELOW
//	Hotdog hotdog("Hotdog", "Kosher, so you can gobble that meaty sausage without shaming your rabbi", 1.25);
//	hotdog.print(hotdog.str1(), hotdog.str2(), hotdog.num());
//	return 0;
//}
{'fraction_non_alphanumeric': 0.17059415911379658, 'fraction_numerical': 0.024974823766364552, 'mean_word_length': 3.572744014732965, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 7, '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': '6751041', 'n_tokens_mistral': 2014, 'n_tokens_neox': 1832, 'n_words': 536}