<commit_before>function JackPromotion(session){
	this.canRepeat = false;
	this.session = session;
	this.playerList = [];  //what players are already in the medium when i trigger?

	this.trigger = function(playerList){
		this.playerList = playerList;
		return (this.session.queen.crowned == null) && (this.session.jack.getHP > 0);
	}

	this.addImportantEvent = function(){
		var current_mvp =  findStrongestPlayer(this.session.players)
		return this.session.addImportantEvent(new JackPromoted(this.session, current_mvp.power) );
	}

	this.content = function(){
		this.session.jack.crowned = this.session.queensRing;
		this.session.queen.crowned = null;
		var ret = " In a shocking turn of events, <NAME> claims the Black Queen's RING OF ORBS " + this.session.convertPlayerNumberToWords();
		ret += "FOLD. "
		if(this.session.queen.getHP() > 0){
			ret += "He easily defeats the weakened queen and uses her ring to obtain her power. ";
		}else{
			ret += " He pries the ring off her still twitching finger. ";
		}
		ret += " You'd think this would be no worse than having the Black Queen around, but Jack is kind of a big deal. ";
		ret += " He immediately decides to show everybody his stabs. ";
		var badPrototyping = findBadPrototyping(this.playerList);
	

		if( badPrototyping == "First Guardian"){
			ret += " He is now in charge of random teleporation murders. ";
		}
		return ret;
	}

	this.renderContent = function(div){
		var alt = this.addImportantEvent();
		if(alt && alt.alternateScene(div)){
			return;
		}
		div.append("<br>"+this.content());
	}<commit_msg>jack ca nget ring again<commit_after>function JackPromotion(session){
	this.canRepeat = false;
	this.session = session;
	this.playerList = [];  //what players are already in the medium when i trigger?

	this.trigger = function(playerList){
		this.playerList = playerList;
		return (this.session.queen.crowned == null) && (this.session.jack.getHP() > 0);
	}

	this.addImportantEvent = function(){
		var current_mvp =  findStrongestPlayer(this.session.players)
		return this.session.addImportantEvent(new JackPromoted(this.session, current_mvp.power) );
	}

	this.content = function(){
		this.session.jack.crowned = this.session.queensRing;
		this.session.queen.crowned = null;
		var ret = " In a shocking turn of events, <NAME> claims the Black Queen's RING OF ORBS " + this.session.convertPlayerNumberToWords();
		ret += "FOLD. "
		if(this.session.queen.getHP() > 0){
			ret += "He easily defeats the weakened queen and uses her ring to obtain her power. ";
		}else{
			ret += " He pries the ring off her still twitching finger. ";
		}
		ret += " You'd think this would be no worse than having the Black Queen around, but Jack is kind of a big deal. ";
		ret += " He immediately decides to show everybody his stabs. ";
		var badPrototyping = findBadPrototyping(this.playerList);


		if( badPrototyping == "First Guardian"){
			ret += " He is now in charge of random teleporation murders. ";
		}
		return ret;
	}

	this.renderContent = function(div){
		var alt = this.addImportantEvent();
		if(alt && alt.alternateScene(div)){
			return;
		}
		div.append("<br>"+this.content());
	}
{'fraction_non_alphanumeric': 0.12321371864083835, 'fraction_numerical': 0.0012702445220704986, 'mean_word_length': 3.9841772151898733, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '3500397', 'n_tokens_mistral': 1092, 'n_tokens_neox': 981, 'n_words': 298}