<commit_before>@model Wangkanai.Detection.Services.IDetectionService

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

<h3>UserAgent</h3>
<code>@Model.UserAgent</code>

<h3>Results</h3>

<table>
    <thead>
        <tr>
            <th>Resolver</th>
            <th>Type</th>
            <th>Version</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <th>Device</th>
            <td>@Model.Device?.Type</td>
            <td></td>
        </tr>
        <tr>
            <th>Platform</th>
            <td>@Model.Platform?.OperatingSystem</td>
            <td>@Model.Platform?.Processor</td>
        </tr>
        <tr>
            <th>Engine</th>
            <td>@Model.Engine?.Type</td>
            <td></td>
        </tr>
        <tr>
            <th>Browser</th>
            <td>@Model.Browser?.Type</td>
            <td></td>
        </tr>
        <tr>
            <th>Crawler</th>
            <td>@Model.Crawler?.Type.ToString()</td>
            <td>@Model.Crawler?.Version</td>
        </tr>
    </tbody>
</table><commit_msg>Update detection sample web app<commit_after>@model Wangkanai.Detection.Services.IDetectionService

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

<h3>UserAgent</h3>
<code>@Model.UserAgent</code>

<h3>Results</h3>

<table>
    <thead>
        <tr>
            <th>Resolver</th>
            <th>Type</th>
            <th>Version</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <th>Device</th>
            <td>@Model.Device?.Type</td>
            <td></td>
        </tr>
        <tr>
            <th>Platform</th>
            <td>@Model.Platform?.OperatingSystem</td>
            <td>@Model.Platform?.Processor</td>
        </tr>
        <tr>
            <th>Engine</th>
            <td>@Model.Engine?.Type</td>
            <td></td>
        </tr>
        <tr>
            <th>Browser</th>
            <td>@Model.Browser?.Type</td>
            <td></td>
        </tr>
        <tr>
            <th>Crawler</th>
            <td>@Model.Crawler?.Type</td>
            <td>@Model.Crawler?.Version</td>
        </tr>
    </tbody>
</table>
{'fraction_non_alphanumeric': 0.19118351701006228, 'fraction_numerical': 0.003833253473885961, 'mean_word_length': 1.4166666666666667, 'pattern_counts': {'":': 0, '<': 123, '<?xml version=': 0, '>': 123, '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': '5145606', 'n_tokens_mistral': 717, 'n_tokens_neox': 731, 'n_words': 89}