<commit_before>﻿@model BatteryCommander.Common.Models.Qualification

@if (Model != null)
{
    var completed = Model.SoldierQualifications.Count(q => q.Status == BatteryCommander.Common.Models.QualificationStatus.Pass);

    var total = Model.SoldierQualifications.Count();

    var link_text = String.Format("{0} ({1}/{2})", Model.Name, completed, total);

    <span>@Html.ActionLink(link_text, "View", "Qualification", new { qualificationId = Model.Id }, null)</span>
}<commit_msg>Don't count not applicable in total qual count<commit_after>﻿@model BatteryCommander.Common.Models.Qualification

@if (Model != null)
{
    var completed = Model.SoldierQualifications.Count(q => q.Status == BatteryCommander.Common.Models.QualificationStatus.Pass);

    var total = Model.SoldierQualifications.Count(q => q.Status != BatteryCommander.Common.Models.QualificationStatus.NotApplicable);

    var link_text = String.Format("{0} ({1}/{2})", Model.Name, completed, total);

    <span>@Html.ActionLink(link_text, "View", "Qualification", new { qualificationId = Model.Id }, null)</span>
}
{'fraction_non_alphanumeric': 0.15185185185185185, 'fraction_numerical': 0.005555555555555556, 'mean_word_length': 5.473053892215569, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 10, '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': '3634764', 'n_tokens_mistral': 340, 'n_tokens_neox': 326, 'n_words': 63}