<commit_before>@model Compilify.Web.Models.PostViewModel

<div id="ide">
    @using (Html.BeginForm())
    {
        <div id="commands">
            <a class="js-run" href="#">run</a>
        </div>
    
        <div id="editors">
            <div id="define">
                <div class="editor">
                    @Html.TextAreaFor(x => x.Classes)
                </div>
            </div>

            <div id="execute">
                <div class="editor">
                    @Html.TextAreaFor(x => x.Content)
                </div>
            </div>
        </div>
    
        <div id="footer">
            <div class="results">
                <pre></pre>
            </div>
        
            @{ var hasErrors = Model.Errors != null && Model.Errors.Any(); }
        
            <div class="status @(hasErrors ? "status-error" : "status-success")">
                
                <div class="loading-indicator">
                    <span></span>
                </div>
                

                @*
                This should remain partially hidden most of the time. When the user hovers over it, it should appear to 
                rise from below the browser window to display any messages it might contain.
                
                An indicator could also be displayed here when loading content or waiting for the result of an execution.
                
                The color of the status bar should change based on the status of the user's code:

                    * Red - there are errors in the user's code
                    * Green - there are no errors in the user's code

                Other future possibilities include:

                    * Yellow - there are warnings in the user's code 
                *@
            
                <ul class="messages">
                    @if (!hasErrors)
                    {
                        <li>No errors!</li>
                    }
                    else
                    {
                        foreach (var error in Model.Errors)
                        {
                            <li>@error.Message</li>
                        }
                    }
                </ul>
            </div>
        </div>
    }
</div><commit_msg>Convert Console#Index view to pure html<commit_after><div id="ide">
	<form action="/console" method="post">
		<div id="commands">
			<a class="js-run" href="#">run</a>
		</div>
	<div id="editors">
		<div id="define">
			<div class="editor">
				<textarea cols="20" id="Classes" name="Classes" rows="2" style="display: none;">
class Person
{
	public Person(string name)
	{
		Name = name;
	}

	public string Name { get; private set; }

	public string Greet()
	{
		if (Name == null)
			return "Hello, stranger!";

		return string.Format("Hello, {0}!", Name);
	}
}
				</textarea>
			</div>
		</div>
		<div id="execute">
			<div class="editor">
				<textarea cols="20" id="Content" name="Content" rows="2" style="display: none;">
var person = new Person(name: null);
return person.Greet();
					</textarea>
			</div>
		</div>
	</div>
	<div id="footer">
		<div class="results">
			<pre></pre>
		</div>
		<div class="status">
			<div class="loading-indicator">
				<span></span>
			</div>
			<ul class="messages">
			</ul>
		</div>
	</div>
	</form>
</div>
{'fraction_non_alphanumeric': 0.1346444780635401, 'fraction_numerical': 0.002118003025718608, 'mean_word_length': 1.4078659868900218, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 75, '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': '3942168', 'n_tokens_mistral': 1001, 'n_tokens_neox': 893, 'n_words': 261}