<commit_before>﻿@using Humanizer
@model AnlabMvc.Models.Order.OrderReviewModel

@{
    ViewData["Title"] = "Confirmation";
}

@Html.Partial("_OrderDetails")

<form method="post" asp-controller="Lab" enctype="multipart/form-data" asp-action="UpdateFromCompletedTests" asp-route-id="@Model.Order.Id" method="post" class="form-horizontal">
    
    <div class="form-group">
        <span>Upload Results</span>
        <input type="file" class="form-control" name="uploadFile" />
    </div>
    

    @Html.Hidden("confirm", true)
    <button type="submit" class="btn btn-primary"><i class="fa fa-check" aria-hidden="true"> Confirm Completed (Update Tests from Labworks)</i></button>
</form>


<div class="form-group">
    <strong>json Data</strong><commit_msg>Display the identifier<commit_after>﻿@using Humanizer
@model AnlabMvc.Models.Order.OrderReviewModel

@{
    ViewData["Title"] = "Confirmation";
}

@Html.Partial("_OrderDetails")

<form method="post" asp-controller="Lab" enctype="multipart/form-data" asp-action="UpdateFromCompletedTests" asp-route-id="@Model.Order.Id" method="post" class="form-horizontal">
    
    <div class="form-group">
        <span>Upload Results</span>
        @if (string.IsNullOrWhiteSpace(Model.Order.ResultsFileIdentifier))
        {
            <input type="file" class="form-control" name="uploadFile"/>
        }
        else
        {
            <div>Results File Identifier: @Model.Order.ResultsFileIdentifier</div>
        }
    </div>
    

    @Html.Hidden("confirm", true)
    <button type="submit" class="btn btn-primary"><i class="fa fa-check" aria-hidden="true"> Confirm Completed (Update Tests from Labworks)</i></button>
</form>


<div class="form-group">
    <strong>json Data</strong>
{'fraction_non_alphanumeric': 0.16637881404720783, 'fraction_numerical': 0.0, 'mean_word_length': 4.067055393586005, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '6196577', 'n_tokens_mistral': 543, 'n_tokens_neox': 535, 'n_words': 96}