<commit_before><!DOCTYPE HTML>
<html>
<head>
	<title>VISIR HTML5</title>
	<link rel="stylesheet" href="instrumentframe/instrumentframe.css" />
	<script type="text/javascript" src="jquery-2.1.3.min.js"></script>
	<script type="text/javascript" src="visir.js"></script>
	<script type="text/javascript" src="../../weblabjs/weblab.v1.js"></script>
	<script>

    weblab.hideFrame();

    var globalSaveData = '<save version="2"><instruments htmlinstruments="Breadboard|FlukeMultimeter|HPFunctionGenerator|AgilentOscilloscope|TripleDC"></instruments><circuit></circuit></save>';

	function init()
	{
		function MakeMeasurement()
		{
			reg.MakeRequest(transport);
		}

		trace("starting up..");

		var transport = new visir.WLTransport(visir.SetWorking);
		transport.onerror = function(err) { alert("Error: " + err); }

		transport.Connect();

		var extservice = new visir.ExtServices({ MakeMeasurement: MakeMeasurement });
		var reg = new visir.InstrumentRegistry(extservice);
		var frame = new visir.InstrumentFrame(reg, transport, $("#instrumentframe"));

		reg.LoadExperiment(globalSaveData, frame.GetInstrumentContainer());

		$(".measure").click( function() {
			MakeMeasurement();
		});
        
        weblab.showFrame();
        weblab.setWidth("800px");
	}

    function onFailure ()
    {
    }

	weblab.onStart(function(time, initialConfig){ 
        var configObj = JSON.parse(initialConfig);
        var config = {
            teacherMode: true,
            instrReg: null,
            locale: "en_UK",
            readOnly: false,
            oscRunnable: false,
            libraryXml: "../../../web/visir/breadboard/library.xml"
        };

        if (configObj.teacher != undefined)
            config.teacherMode = configObj.teacher;
<commit_msg>Make the width wider<commit_after><!DOCTYPE HTML>
<html>
<head>
	<title>VISIR HTML5</title>
	<link rel="stylesheet" href="instrumentframe/instrumentframe.css" />
	<script type="text/javascript" src="jquery-2.1.3.min.js"></script>
	<script type="text/javascript" src="visir.js"></script>
	<script type="text/javascript" src="../../weblabjs/weblab.v1.js"></script>
	<script>

    weblab.hideFrame();

    var globalSaveData = '<save version="2"><instruments htmlinstruments="Breadboard|FlukeMultimeter|HPFunctionGenerator|AgilentOscilloscope|TripleDC"></instruments><circuit></circuit></save>';

	function init()
	{
		function MakeMeasurement()
		{
			reg.MakeRequest(transport);
		}

		trace("starting up..");

		var transport = new visir.WLTransport(visir.SetWorking);
		transport.onerror = function(err) { alert("Error: " + err); }

		transport.Connect();

		var extservice = new visir.ExtServices({ MakeMeasurement: MakeMeasurement });
		var reg = new visir.InstrumentRegistry(extservice);
		var frame = new visir.InstrumentFrame(reg, transport, $("#instrumentframe"));

		reg.LoadExperiment(globalSaveData, frame.GetInstrumentContainer());

		$(".measure").click( function() {
			MakeMeasurement();
		});
        
        weblab.showFrame();
        weblab.setWidth("810px");
	}

    function onFailure ()
    {
    }

	weblab.onStart(function(time, initialConfig){ 
        var configObj = JSON.parse(initialConfig);
        var config = {
            teacherMode: true,
            instrReg: null,
            locale: "en_UK",
            readOnly: false,
            oscRunnable: false,
            libraryXml: "../../../web/visir/breadboard/library.xml"
        };

        if (configObj.teacher != undefined)
            config.teacherMode = configObj.teacher;

{'fraction_non_alphanumeric': 0.1534975927499292, 'fraction_numerical': 0.005097706032285472, 'mean_word_length': 3.437185929648241, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4667864', 'n_tokens_mistral': 1154, 'n_tokens_neox': 1071, 'n_words': 183}