<commit_before>import sys

class OutOfTheWoods(object):
	
	def __init__(self):
		print chr(27) + "[2J"
		
		self.name = "<NAME>"
		self.fragileObjectInFrontOfTree = ""
		self.fragileObjectCondition = ""
		self.wildAnimalSeen = ""
		self.takeTheWildAnimalWithMe = False
		self.stayWithGranny = False
		self.torchCarried = 0
		self.jumpToPond = False
		self.askTheEntity = False
		self.fightBack = True
		
		self.beginStory()
		
	def beginStory(self):
		sys.stderr.write("\x1b[2J\x1b[H")
		print "Before we start, what is your name?",
		self.name = raw_input()
		
		print "\nOk", self.name, "let's start.."
		
		print "\n\n>> It is a sun shining brightly day and you are on your way climbing a mountain with your friends."
		print ">> As you are enjoying the views surrounding you, somehow you were separated from your friends."
		print ">> You find yourself now all alone where woods and forest is all around you."
		
		self.pressAnyKey()
		
		self.theFragilityOfYourHeart()
		
	def theFragilityOfYourHeart(self):
		self.clearScreen()
		
		print ">> Just when you thought things couldn't be any worse than this, you are shocked to see there's this fragile object in front of a big tree."
		
		self.thisIsYourHeart()
		
		self.yourHeartNow()
		
		print "\n>> You just stood there but it didn't take long to continue your way around the forest."
		self.pressAnyKey()
		
		self.whoAreYou()
		
	def yourHeartNow(self):
		print "\nHow is the condition of the %s? Is it broken, cracked or still whole?" % (self.fragileObjectInFrontOfTree),
		self.fragileObjectCondition = raw_input()
		
		if not (self.fragileObjectCondition == "broken" or self.fragileObjectCondition == "cracked" or self.fragileObjectCondition == "whole"):
			self.yourHeartNow()
	
	def thisIsYourHeart(self):
		print "\nWhat fragile object do you see in front of that big tree?",
		self.fragileObjectInFrontOfTree = raw_input()
		
		if self.fragileObjectInFrontOfTree == "":
			self.thisIsYourHeart()
		
	def whoAreYou(self):
		self.clearScreen()
		
		print ">> As you are walking, you are put into a narrow path."
		print ">> Out of nowhere, you see a wild animal right in front of you."
		
		self.thisIsYou()
		
		self.naturalBornLeader()
		
		self.pressAnyKey()
		
		self.areYouCautious()
		
	def areYouCautious(self):
		self.clearScreen()
		
		print ">> The sun is setting and darkness will follow, soon."
		print ">> You see some light not far from where you are, you follow the light."
		print ">> When you get there, you see a hut with an old fashioned water well just in front of it."
		print ">> In its frontyard, there's an old lady brooming the leaves away from her frontyard."
		print "\n>> You have 2 options: ask for directions or stay the night, it's dark."
		
		self.soAreYouCautious()
		
		self.pressAnyKey()
		
		self.theFidelity()
		
	def theFidelity(self):
		self.clearScreen()
		
		print ">> You are continuing your journey, no matter you asked or stayed, it's getting dark, again."
		print ">> Just in front of you, there's an abandoned cave with lots of torches lying around."
		print ">> Let's just say you have a lighter and you can light the torches."
		
		print "\nHow many torches are you taking with you?",
		self.torchCarried == raw_input()
		
		self.pressAnyKey()
		
		self.marvinStyle()
		
	def marvinStyle(self):
		self.clearScreen()
		
		print ">> With your torch lighted, you come across a river stream just ahead."
		print ">> The tide is gentle and you can see it's deep enough to get soakingly fresh."
		
		print "\n>> You have 2 options: you freshen things up a little or you get wet all in."
		
		self.barryIsThePapa()
		
		self.pressAnyKey()
		
		self.theEntity()
		
	def theEntity(self):
		self.clearScreen()
		
		print ">> You are refreshed and on your way through the woods."
		print ">> In a blink of an eye, there's an unknown entity in front of you, hovering from the ground!"
		print ">> You're really frustrated at this point."
		
		print "\n>> You have 2 options: run for your life or ask for directions"
		
		self.higherBeing()
		
		self.pressAnyKey()
		
		self.fightOrSurrender()
		
	def fightOrSurrender(self):
		self.clearScreen()
		
		print ">> The skies are getting its daily dose of light from the sun."
		print ">> It's early morning and you can see a way out from the woods."
		print ">> You reacted and started to walk faster towards the exit."
		print ">> When you got out, a war in the middle of nowhere has just started."
		print ">> One of the soldiers is pointing a gun on your forehead."
		
		print "\n>> You have 2 options: fight for your life or just surrender?"
		
		self.fight()
		
		self.pressAnyKey()
		
		self.concludeNow()
		
	def concludeNow(self):
		self.clearScreen()
		
		print ">> Thank you %s for answering all of the questions." % self.name
		print ">> Now is the time to know more about yourself."
		
		print "\n>> For every answer, the questions represent a part of your identity and of course your personality."
		print ">> Any conclusions you are about to read can change in the future depending on yourself."
		print ">> Some people struggle to change, some just change. It's your call."
		
		self.pressAnyKey()
		
	def fight(self):
		print "\nFight or Surrender?",
		self.fightBack = raw_input()
		
		if self.fightBack == "fight" or self.fightBack == "surrender":
			if self.fightBack == "fight":
				self.fightBack = True
			elif self.fightBack == "surrender":
				self.fightBack = False
			else:
				self.fight()<commit_msg>Conclusions added, still not done yet<commit_after>import sys

class OutOfTheWoods(object):
	
	def __init__(self):
		print chr(27) + "[2J"
		
		self.name = "<NAME>"
		self.fragileObjectInFrontOfTree = ""
		self.fragileObjectCondition = ""
		self.wildAnimalSeen = ""
		self.takeTheWildAnimalWithMe = False
		self.stayWithGranny = False
		self.torchCarried = 0
		self.jumpToPond = False
		self.askTheEntity = False
		self.fightBack = True
		
		self.beginStory()
		
	def beginStory(self):
		sys.stderr.write("\x1b[2J\x1b[H")
		print "Before we start, what is your name?",
		self.name = raw_input()
		
		print "\nOk", self.name, "let's start.."
		
		print "\n\n>> It is a sun shining brightly day and you are on your way climbing a mountain with your friends."
		print ">> As you are enjoying the views surrounding you, somehow you were separated from your friends."
		print ">> You find yourself now all alone where woods and forest is all around you."
		
		self.pressAnyKey()
		
		self.theFragilityOfYourHeart()
		
	def theFragilityOfYourHeart(self):
		self.clearScreen()
		
		print ">> Just when you thought things couldn't be any worse than this, you are shocked to see there's this fragile object in front of a big tree."
		
		self.thisIsYourHeart()
		
		self.yourHeartNow()
		
		print "\n>> You just stood there but it didn't take long to continue your way around the forest."
		self.pressAnyKey()
		
		self.whoAreYou()
		
	def yourHeartNow(self):
		print "\nHow is the condition of the %s? Is it broken, cracked or still whole?" % (self.fragileObjectInFrontOfTree),
		self.fragileObjectCondition = raw_input()
		
		if not (self.fragileObjectCondition == "broken" or self.fragileObjectCondition == "cracked" or self.fragileObjectCondition == "whole"):
			self.yourHeartNow()
	
	def thisIsYourHeart(self):
		print "\nWhat fragile object do you see in front of that big tree?",
		self.fragileObjectInFrontOfTree = raw_input()
		
		if self.fragileObjectInFrontOfTree == "":
			self.thisIsYourHeart()
		
	def whoAreYou(self):
		self.clearScreen()
		
		print ">> As you are walking, you are put into a narrow path."
		print ">> Out of nowhere, you see a wild animal right in front of you."
		
		self.thisIsYou()
		
		self.naturalBornLeader()
		
		self.pressAnyKey()
		
		self.areYouCautious()
		
	def areYouCautious(self):
		self.clearScreen()
		
		print ">> The sun is setting and darkness will follow, soon."
		print ">> You see some light not far from where you are, you follow the light."
		print ">> When you get there, you see a hut with an old fashioned water well just in front of it."
		print ">> In its frontyard, there's an old lady brooming the leaves away from her frontyard."
		print "\n>> You have 2 options: ask for directions or stay the night, it's dark."
		
		self.soAreYouCautious()
		
		self.pressAnyKey()
		
		self.theFidelity()
		
	def theFidelity(self):
		self.clearScreen()
		
		print ">> You are continuing your journey, no matter you asked or stayed, it's getting dark, again."
		print ">> Just in front of you, there's an abandoned cave with lots of torches lying around."
		print ">> Let's just say you have a lighter and you can light the torches."
		
		print "\nHow many torches are you taking with you?",
		self.torchCarried == raw_input()
		
		self.pressAnyKey()
		
		self.marvinStyle()
		
	def marvinStyle(self):
		self.clearScreen()
		
		print ">> With your torch lighted, you come across a river stream just ahead."
		print ">> The tide is gentle and you can see it's deep enough to get soakingly fresh."
		
		print "\n>> You have 2 options: you freshen things up a little or you get wet all in."
		
		self.barryIsThePapa()
		
		self.pressAnyKey()
		
		self.theEntity()
		
	def theEntity(self):
		self.clearScreen()
		
		print ">> You are refreshed and on your way through the woods."
		print ">> In a blink of an eye, there's an unknown entity in front of you, hovering from the ground!"
		print ">> You're really frustrated at this point."
		
		print "\n>> You have 2 options: run for your life or ask for directions"
		
		self.higherBeing()
		
		self.pressAnyKey()
		
		self.fightOrSurrender()
		
	def fightOrSurrender(self):
		self.clearScreen()
		
		print ">> The skies are getting its daily dose of light from the sun."
		print ">> It's early morning and you can see a way out from the woods."
		print ">> You reacted and started to walk faster towards the exit."
		print ">> When you got out, a war in the middle of nowhere has just started."
		print ">> One of the soldiers is pointing a gun on your forehead."
		
		print "\n>> You have 2 options: fight for your life or just surrender?"
		
		self.fight()
		
		self.pressAnyKey()
		
		self.concludeNow()
		
	def concludeNow(self):
		self.clearScreen()
		
		print ">> Thank you %s for answering all of the questions." % self.name
		print ">> Now is the time to know more about yourself."
		
		print "\n>> For every answer, the questions represent a part of your identity and of course your personality."
		print ">> Any conclusions you are about to read can change in the future depending on yourself."
		print ">> Some people struggle to change, some just change. It's your call."
		
		self.pressAnyKey()
		self.clearScreen()
		
		print ">> You saw a %s in front of a big tree" % self.fragileObjectInFrontOfTree
		
		print "\n>> That fragile object is your heart at the moment. The bigger the object, the bigger your heart is."
		print ">> Big or Small does not pertain to quality, this is your capacity at the moment."
		
		self.pressAnyKey()
		self.clearScreen()
		
		print ">> The fragile object is %s." % self.fragileObjectCondition
		
		print "\n>> A whole heart is a healthy heart, all the vitamins and nutrition to keep it whole are fed perfectly."
		print ">> If it's cracked or broken, you must find some way to heal or at least get some closure."
		print ">> Don't bleed your heart, no one deserves a bleeding heart."
		
		self.pressAnyKey()
		self.clearScreen()
		
		print ">> The wild animal you see is a %s." % self.wildAnimalSeen
		
		print "\n>> This wild animal is actually how you see yourself as in your character."
		print ">> You have your own subjectivity towards this animal and that's all right."
		print ">> The thing is, this animal is still wild. Your next answer is a defining one."
		
		if self.takeTheWildAnimalWithMe == True:
			print "\n>> You choose to tame and take the %s with you." % self.wildAnimalSeen
			print ">> Your answer shows that you are a Natural Born Leader."
			print ">> While people struggle to be leaders, you don't."
			print ">> The more the people around you struggle, the more obvious you are as a leader."
			print ">> Just to remember to have fun once in a while."
		else:
			print "\n>> You choose to run from the %s." % self.wildAnimalSeen
			print ">> You are best to function collectively."
			print ">> Your job is your job, that's just it, it's a job."
			print ">> A career is made of horizontal decisions."
			print ">> Try looking what's up there at the top, inspire yourself."
		
		self.pressAnyKey()
		self.clearScreen()
		
		print ">> You brought %d torch(es) with you." % self.torchCarried
		
		print "\n>> The more torch you carry, the more infidel you are with your love life."
		print ">> Be careful not to spread yourself too thin."
		print ">> Fidelity is like chivalry these days, rare and ideal."
		print ">> No matter how many torches, focus on 1, you can't light them all up anyways."
		
		self.pressAnyKey()
		self.clearScreen()
		
	def fight(self):
		print "\nFight or Surrender?",
		self.fightBack = raw_input()
		
		if self.fightBack == "fight" or self.fightBack == "surrender":
			if self.fightBack == "fight":
				self.fightBack = True
			elif self.fightBack == "surrender":
				self.fightBack = False
			else:
				self.fight()
{'fraction_non_alphanumeric': 0.09587287242054526, 'fraction_numerical': 0.001732188582617864, 'mean_word_length': 3.3897520661157023, 'pattern_counts': {'":': 8, '<': 5, '<?xml version=': 0, '>': 189, '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': '5667335', 'n_tokens_mistral': 4576, 'n_tokens_neox': 3789, 'n_words': 1682}