<commit_before>var http = require('http');
var querystring = require("querystring");

function start(response, postData){
	console.log("Request handler 'start' was called");
	//TODO: load html from template (split logic from content)
	var body = '<html>'+
	 '<head>'+
	 '<meta http-equiv="Content-Type" content="text/html; '+
	 'charset=UTF-8" />'+
	 '</head>'+
	 '<body>'+
	 '<h1>Pilots Configuration Panel </h1>'+
	 '<h2>Select Matchmaker</h2>'+
	 '<p>Note: Cloud4all/GPII server must be started to select a Matchmaker<br></p>'+
	 '<form action="/selectMM" method="post">'+
	 '<p>User token:<br><input name="text" type="text" size="30" maxlength="30"></p>'+
	 '<p>For auto-configuration scenario:<br>'+
	 '<input type="radio" name="matchmaker" value="default">Rule-based Matchmaker (without solution selection option)<br>'+
	 '<input type="radio" name="matchmaker" value="statistical">Statistical Matchmaker<br>'+
	 '</p>'+
	 '<p>For demo solution selection scenario:<br>'+
	 '<input type="radio" name="matchmaker" value="ruleBased">Rule-based Matchmaker<br>'+	 
	 '</p>'+
	 '<input type="submit" value="Set Matchmaker strategy" />'+
	 '</form></p>'+
	 '<h2>Select Device Specification</h2>'+
	 '<form action="/setDeviceinfo" method="post">'+
	 '<p>For platform A/B scenario:<br>'+	 
	 '<input type="radio" name="device" value="platformAB_onWindows_NVDA++">Windows (NVDA and Windows Magnifier) or Linux <br>'+
	 '<input type="radio" name="device" value="platformAB_onWindows_Supernova">Windows (SuperNova screen reader und magnifier) or Linux <br><br>'+	 
	// '<input type="radio" name="device" value="platformAB_onAndroid_TalkBack">Android (TalkBack)<br>'+	 	 
	// '<input type="radio" name="device" value="platformAB_onAndroid_MobileAccessibility">Android (TalkBack)<br>'+	 	 	 
	 '</p>'+
	 '<p>For Demos:<br>'+
	 '<input type="radio" name="device" value="demo_SmartHouse">SmartHouse<br>'+	 	 
	 '<input type="radio" name="device" value="demo_Maavis">Maavis<br>'+
	 '<input type="radio" name="device" value="demo_GoogleChrome">Google Chrome<br><br>'+
	 '<input type="radio" name="device" value="demo_Library">Library<br>'+
	 '<input type="radio" name="device" value="demo_MultipleSolutions">Mulitple solutions in computer lab<br>'+		 
	 '</p>'+
	 '<p>Reset device specification to default:<br>'+
	 '<input type="radio" name="device" value="installedSolutions">Default<br>'+	 	 
	 '</p>'+		 
	 '<input type="submit" value="Set device configuration" />'+
	 '</form>'+
	 '</body>'+
	 '</html>';
	response.writeHead(200, {"Content-Type": "text/html"});
	response.write(body);<commit_msg>correct input value for platformAB_onWindows_NVDA<commit_after>var http = require('http');
var querystring = require("querystring");

function start(response, postData){
	console.log("Request handler 'start' was called");
	//TODO: load html from template (split logic from content)
	var body = '<html>'+
	 '<head>'+
	 '<meta http-equiv="Content-Type" content="text/html; '+
	 'charset=UTF-8" />'+
	 '</head>'+
	 '<body>'+
	 '<h1>Pilots Configuration Panel </h1>'+
	 '<h2>Select Matchmaker</h2>'+
	 '<p>Note: Cloud4all/GPII server must be started to select a Matchmaker<br></p>'+
	 '<form action="/selectMM" method="post">'+
	 '<p>User token:<br><input name="text" type="text" size="30" maxlength="30"></p>'+
	 '<p>For auto-configuration scenario:<br>'+
	 '<input type="radio" name="matchmaker" value="default">Rule-based Matchmaker (without solution selection option)<br>'+
	 '<input type="radio" name="matchmaker" value="statistical">Statistical Matchmaker<br>'+
	 '</p>'+
	 '<p>For demo solution selection scenario:<br>'+
	 '<input type="radio" name="matchmaker" value="ruleBased">Rule-based Matchmaker<br>'+	 
	 '</p>'+
	 '<input type="submit" value="Set Matchmaker strategy" />'+
	 '</form></p>'+
	 '<h2>Select Device Specification</h2>'+
	 '<form action="/setDeviceinfo" method="post">'+
	 '<p>For platform A/B scenario:<br>'+	 
	 '<input type="radio" name="device" value="platformAB_onWindows_NVDA">Windows (NVDA and Windows Magnifier) or Linux <br>'+
	 '<input type="radio" name="device" value="platformAB_onWindows_Supernova">Windows (SuperNova screen reader und magnifier) or Linux <br><br>'+	 
	// '<input type="radio" name="device" value="platformAB_onAndroid_TalkBack">Android (TalkBack)<br>'+	 	 
	// '<input type="radio" name="device" value="platformAB_onAndroid_MobileAccessibility">Android (TalkBack)<br>'+	 	 	 
	 '</p>'+
	 '<p>For Demos:<br>'+
	 '<input type="radio" name="device" value="demo_SmartHouse">SmartHouse<br>'+	 	 
	 '<input type="radio" name="device" value="demo_Maavis">Maavis<br>'+
	 '<input type="radio" name="device" value="demo_GoogleChrome">Google Chrome<br><br>'+
	 '<input type="radio" name="device" value="demo_Library">Library<br>'+
	 '<input type="radio" name="device" value="demo_MultipleSolutions">Mulitple solutions in computer lab<br>'+		 
	 '</p>'+
	 '<p>Reset device specification to default:<br>'+
	 '<input type="radio" name="device" value="installedSolutions">Default<br>'+	 	 
	 '</p>'+		 
	 '<input type="submit" value="Set device configuration" />'+
	 '</form>'+
	 '</body>'+
	 '</html>';
	response.writeHead(200, {"Content-Type": "text/html"});
	response.write(body);
{'fraction_non_alphanumeric': 0.20353302611367127, 'fraction_numerical': 0.00576036866359447, 'mean_word_length': 6.346967559943582, 'pattern_counts': {'":': 2, '<': 143, '<?xml version=': 0, '>': 143, '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': '1409900', 'n_tokens_mistral': 1781, 'n_tokens_neox': 1622, 'n_words': 377}