<commit_before><html>
    <head>
        <title><g:layoutTitle default="CMA" /></title>
        
        <link rel="stylesheet" href="${createLinkTo(dir:'css',file:'touch.css')}" />
        <link rel="stylesheet" href="${createLinkTo(dir:'css',file:'bricks.css')}" />
        <link rel="stylesheet" href="${createLinkTo(dir:'css',file:'cma.css')}" />
            
        <link rel="shortcut icon" href="${createLinkTo(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
        <g:javascript library="application" />	
        <g:javascript library="prototype" />	
        <g:javascript library="scriptaculous" />	
        <g:javascript library="corners" />
        <g:javascript library="Help" />
		<script type="text/javascript">
			 Event.observe(window, "load", function()	{
				new Effect.Corner($('superTop'), 'top');
				new Effect.Corner($('bottom'), 'bottom');
				
				new Effect.Corner($('ccontextDiv'), 'bl');
				$('ccontextDiv').setOpacity(0.7);
				$('contextOptions').setOpacity(0.7);
				
				$('contextDiv').observe('mouseover', function()	{$('ccontextDiv').setOpacity(0.9);} );
				$('contextDiv').observe('mouseout', function()	{$('ccontextDiv').setOpacity(0.7);} );
				
				$('contextDiv').observe('mouseover', function()	{$('contextOptions').setOpacity(0.9);} );
				$('contextDiv').observe('mouseout', function()	{$('contextOptions').setOpacity(0.7);} );

				$('contextDiv').observe('click', function()	{$('contextOptions').toggle();} );
				
				$('middle').observe('mouseover', function()	{ $('contextOptions').hide();}	);
				
				//insert the help, passing path to the images dir
				Help.url = "${createLinkTo(dir:'')}/"+Help.url;
				Help.parsePage({pth: "${createLinkTo(dir:'images')}" });
			 });
		</script> 
        <g:layoutHead />

    </head>
    <body>
        <div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
		<div id="superTop"></div>
		<div id="top">
			<div id="contextDiv">
				<div id="ccontextDiv">
					<span id="ccontextText" style="background-image:url(${createLinkTo(dir:'images',file:grailsApplication.config.cma.dataContext.toLowerCase()+'Context30.gif')});">
						${grailsApplication.config.cma.dataContext ?: "Rembrandt" }
					</span>
					<span id="ccontextArrow">
						V
					</span>
				</div>
				<!--  end ccontextDiv -->
				<div id="contextOptions" style="display:none;">
					<div>
						Select Context
					</div>
					<g:each in="${grailsApplication.config.cma.availableContexts}">
						<div id="">
							<a id="${it.toLowerCase()}Context" href="/cma-${it.toLowerCase()}/"  style="display:block;background-image: url(${createLinkTo(dir:'images',file:it.toLowerCase()+'Context30.gif')});" >${it}</a>
						</div>
					</g:each>
				</div>
				<!--  end ccontextOptions -->
			</div>
			<!-- end contextDiv -->
		</div>
		
		<div id="middle">
			<!--  tabs  -->
			
			<g:fixScript name="none">
				<g:pageProperty name="page.tabs" default="${render(template:'/tabs', model:[location:'home'])}"/>
			<!--  sidebar -->
				<g:pageProperty name="page.side" default="${render(template:'/sideBar')}"/>
			</g:fixScript>
			<div id="content" style="padding:10px;">
	    	    <g:layoutBody />
	    	    <br clear="all"/>
	    	</div>
	    	<br clear="all"/>
	    </div>	

		<div id="bottom" align="center">
			<table align="center"><commit_msg>updates to context switcher<commit_after><html>
    <head>
        <title><g:layoutTitle default="CMA" /></title>
        
        <link rel="stylesheet" href="${createLinkTo(dir:'css',file:'touch.css')}" />
        <link rel="stylesheet" href="${createLinkTo(dir:'css',file:'bricks.css')}" />
        <link rel="stylesheet" href="${createLinkTo(dir:'css',file:'cma.css')}" />
            
        <link rel="shortcut icon" href="${createLinkTo(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
        <g:javascript library="application" />	
        <g:javascript library="prototype" />	
        <g:javascript library="scriptaculous" />	
        <g:javascript library="corners" />
        <g:javascript library="Help" />
		<script type="text/javascript">
			 Event.observe(window, "load", function()	{
				new Effect.Corner($('superTop'), 'top');
				new Effect.Corner($('bottom'), 'bottom');
				
				new Effect.Corner($('ccontextDiv'), 'bl');
				$('ccontextDiv').setOpacity(0.7);
				$('contextOptions').setOpacity(0.7);
				
				$('contextDiv').observe('mouseover', function()	{$('ccontextDiv').setOpacity(0.9);} );
				$('contextDiv').observe('mouseout', function()	{$('ccontextDiv').setOpacity(0.7);} );
				
				$('contextDiv').observe('mouseover', function()	{$('contextOptions').setOpacity(0.9);} );
				$('contextDiv').observe('mouseout', function()	{$('contextOptions').setOpacity(0.7);} );

				$('contextDiv').observe('click', function()	{$('contextOptions').toggle();} );
				$('middle').observe('mouseover', function()	{ $('contextOptions').hide();}	);
				
				//insert the help, passing path to the images dir
				Help.url = "${createLinkTo(dir:'')}/"+Help.url;
				Help.parsePage({pth: "${createLinkTo(dir:'images')}" });
			 });
		</script> 
        <g:layoutHead />

    </head>
    <body>
        <div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
		<div id="superTop"></div>
		<div id="top">
			<div id="contextDiv">
				<div id="ccontextDiv">
					<span id="ccontextText" style="background-image:url(${createLinkTo(dir:'images',file:grailsApplication.config.cma.dataContext.toLowerCase()+'Context30.gif')});">
						${grailsApplication.config.cma.dataContexts[grailsApplication.config.cma.dataContext].displayName ?: "Rembrandt" }
					</span>
					<span id="ccontextArrow">
						V
					</span>
				</div>
				<!--  end ccontextDiv -->
				<div id="contextOptions" style="display:none;">
					<div>
						Select Context
					</div>					
					<g:each in="${grailsApplication.config.cma.dataContexts}">
						<div id="">
							<a id="${it.key.toLowerCase()}Context" href="/cma-${it.key.toLowerCase()}/"  style="display:block;background-image: url(${createLinkTo(dir:'images',file:it.key.toLowerCase()+'Context30.gif')});" >${it.value.displayName}</a>
						</div>
					</g:each>
				</div>
				<!--  end ccontextOptions -->
			</div>
			<!-- end contextDiv -->
		</div>
		
		<div id="middle">
			<!--  tabs  -->
			
			<g:fixScript name="none">
				<g:pageProperty name="page.tabs" default="${render(template:'/tabs', model:[location:'home'])}"/>
			<!--  sidebar -->
				<g:pageProperty name="page.side" default="${render(template:'/sideBar')}"/>
			</g:fixScript>
			<div id="content" style="padding:10px;">
	    	    <g:layoutBody />
	    	    <br clear="all"/>
	    	</div>
	    	<br clear="all"/>
	    </div>	

		<div id="bottom" align="center">
			<table align="center">
{'fraction_non_alphanumeric': 0.22754050073637702, 'fraction_numerical': 0.006480117820324006, 'mean_word_length': 3.5669132481506387, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 125, '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': '2388793', 'n_tokens_mistral': 2630, 'n_tokens_neox': 2261, 'n_words': 324}