<commit_before>﻿@{
    ViewData["Title"] = "Home Page";
}

<script src="~/Scripts/angular.min.js"></script>

<div class="row">
    <div class="col-md-8">
        <h1>Code Converter by Refactoring Essentials</h1>
        <div ng-app="ccApp" ng-controller="ccController">

            <div class="form-group">
                <label>Input code</label>
                <textarea class="form-control" ng-model="inputCode" rows="10" style="min-width: 100%"></textarea>
            </div>
            <div class="form-group">
                <label>
                    <input type="radio" ng-model="requestedConversion" value="cs2vbnet">
                    C# to VB.NET
                </label>
                <label>
                    <input type="radio" ng-model="requestedConversion" value="vb2csnet">
                    VB.NET to C#
                </label>
                &nbsp;
                <button class="btn btn-default" ng-click="convert()">Convert Code</button>
            </div>
            <div class="form-group">
                <label>Converted code</label><commit_msg>Currently only C# to VB is supported, disable addtl labels that were not intended for production yet<commit_after>﻿@{
    ViewData["Title"] = "Home Page";
}

<script src="~/Scripts/angular.min.js"></script>

<div class="row">
    <div class="col-md-8">
        <h1>Code Converter by Refactoring Essentials</h1>
        <div ng-app="ccApp" ng-controller="ccController">

            <div class="form-group">
                <label>Input code</label>
                <textarea class="form-control" ng-model="inputCode" rows="10" style="min-width: 100%"></textarea>
            </div>
            <div class="form-group">
                <label>
                    <input type="radio" ng-model="requestedConversion" value="cs2vbnet">
                    C# to VB.NET
                </label>
                @*<label>
                    <input type="radio" ng-model="requestedConversion" value="vb2csnet">
                    VB.NET to C#
                </label>*@
                &nbsp;
                <button class="btn btn-default" ng-click="convert()">Convert Code</button>
            </div>
            <div class="form-group">
                <label>Converted code</label>
{'fraction_non_alphanumeric': 0.1489643014543852, 'fraction_numerical': 0.00881445570736007, 'mean_word_length': 1.7649208282582216, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, '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': '2223841', 'n_tokens_mistral': 679, 'n_tokens_neox': 628, 'n_words': 135}