<commit_before>$(function(){
	$('body').addClass("js-enabled");
	$('#wrapper').tabs();
	
	/* step link prompts */
	
	/* get all the sections */
	var sections = $(".tabs-panel"),
		i = sections.length,
		last = $(".tabs-panel:last").attr("id").split("-enhanced")[0],
		j, 
		id;
		
		last = "<li><a href='#"+last+"'>No thanks, just tell me how to claim</a></li>"
		
	while(i--){
		var j = i+1,
		nav = $("<nav class='part-pagination group' role='navigation'></nav>"),
		ul = $("<ul></ul>"),
		id = $(sections[j]).attr("id"),
		sectionTitle = $("#"+id+" h1").html();

		if(sectionTitle != undefined){
			sectionTitle = sectionTitle.toLowerCase();
			id = id.split("-enhanced")[0];
			var next = ("<li><a href='#"+id+"'>Read about "+sectionTitle+" &rarr;<span class='progressor'></span></a></li>")
			if(i == 2){
				ul.append(next)
			}
			else{
				ul.append(next+last)
			}
			
			nav.append(ul);
			$(sections[i]).find(".inner").append(nav);
		}
	}
	
});<commit_msg>Shortened script for step nav<commit_after>$(function(){
	$('body').addClass("js-enabled");
	$('#wrapper').tabs();
	
	/* step link prompts */
	
	/* get all the sections */
	var sections = $(".tabs-panel"),
		i = sections.length,
		last = $(".tabs-panel:last").attr("id").split("-enhanced")[0],
		j, 
		id,
		ul,
		sectionTitle,
		nav;
		
		last = "<li><a href='#"+last+"'>No thanks, just tell me how to claim</a></li>"
		
	while(i--){
		j = i+1;
		nav = $("<nav class='part-pagination group' role='navigation'></nav>");
		ul = $("<ul></ul>");
		id = $(sections[j]).attr("id");
		sectionTitle = $("#"+id+" h1").html();

		if(sectionTitle != undefined){
			sectionTitle = sectionTitle.toLowerCase();
			id = id.split("-enhanced")[0];
			var next = ("<li><a href='#"+id+"'>Read about "+sectionTitle+" &rarr;<span class='progressor'></span></a></li>")
			if(i == 2){
				ul.append(next)
			}
			else{
				ul.append(next+last)
			}
			
			nav.append(ul);
			$(sections[i]).find(".inner").append(nav);
		}
	}
	
});
{'fraction_non_alphanumeric': 0.26379746835443035, 'fraction_numerical': 0.005063291139240506, 'mean_word_length': 3.606060606060606, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '5373929', 'n_tokens_mistral': 819, 'n_tokens_neox': 715, 'n_words': 138}