<commit_before>var Activity1 = function(ctx) {

	var container = $("<div></div>");
	var header = $("<h1>").text("This is the first application").appendTo(container);
	var btn1 = $("<button type=\"button\" class=\"btn btn-sm btn-primary\">Chiudi</button>").appendTo(container);
	btn1.click(function() {
		ctx.stop();
	});
	var btn2 = $("<button type=\"button\" class=\"btn btn-sm btn-primary\">Avvia Activity1</button>").appendTo(container);
	btn2.click(function() {
		ctx.beginChildIntent("activity1");
	});
	var btn3 = $("<button type=\"button\" class=\"btn btn-sm btn-primary\">Avvia Activity2</button>").appendTo(container);<commit_msg>Corretto esempio<commit_after>var Activity1 = function(ctx) {

	var container = $("<div></div>");
	var header = $("<h1>").text("This is the first application").appendTo(container);
	$("<input type=\"text\" class=\"form-control\" placeholder=\"Inserisci qualcosa per vedere se mantiene lo stato\">").appendTo(container);
	$("<hr />").appendTo(container);
	var btn1 = $("<button type=\"button\" class=\"btn btn-sm btn-primary\">Chiudi</button>").appendTo(container);
	btn1.click(function() {
		ctx.stop();
	});
	var btn2 = $("<button type=\"button\" class=\"btn btn-sm btn-primary\">Avvia Activity1</button>").appendTo(container);
	btn2.click(function() {
		ctx.beginChildIntent("activity1");
	});
	var btn3 = $("<button type=\"button\" class=\"btn btn-sm btn-primary\">Avvia Activity2</button>").appendTo(container);
{'fraction_non_alphanumeric': 0.2235213204951857, 'fraction_numerical': 0.013755158184319119, 'mean_word_length': 5.7050691244239635, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '4820639', 'n_tokens_mistral': 469, 'n_tokens_neox': 468, 'n_words': 93}