<commit_before>﻿@model Bieb.Domain.Entities.Person

@{
    ViewBag.Title = Model.FullName;
}

@{ Html.RenderPartial("Card", Model); }

<section class="books">
    <p>Works by <span class="fullname">@Model.FullName</span> in my library:</p>

    @if (Model.EditedBooks.Count > 0)
    { 
        <section class="itemList editedBooks">
            <h3>Edited Books</h3>
            @{ Html.RenderPartial("~/Views/Book/ItemList.cshtml", Model.EditedBooks); }
        </section> <!-- end .itemList .editedBooks -->
    }
    
    @if (Model.AuthoredCollections.Count() > 0)
    { 
        <section class="itemList authoredCollections">
            <h3>Authored Collections</h3>
            @{ Html.RenderPartial("~/Views/Book/ItemList.cshtml", Model.AuthoredCollections); }
        </section> <!-- end .itemList .authoredCollections -->
    }
            
    @if (Model.TranslatedStories.Count > 0)
    { 
        <section class="itemList translatedStories">
            <h3>Translated Stories</h3>
            @{ Html.RenderPartial("~/Views/Story/ItemList.cshtml", Model.TranslatedStories); }
        </section> <!-- end .itemList .translatedStories -->
    }
        
    @if (Model.AuthoredStories.Count > 0)
    {
        // TODO: Split between short stories and novels
        <section class="itemList authoredStories">
            <h3>Authored Stories</h3>
            @{ Html.RenderPartial("~/Views/Story/ItemList.cshtml", Model.AuthoredStories); }
        </section> <!-- end .itemList .authoredStories -->
    }
</section> <!-- end .books --><commit_msg>Distinction between novels/short stories now also in Person/Details.<commit_after>﻿@model Bieb.Domain.Entities.Person

@{
    ViewBag.Title = Model.FullName;
}

@{ Html.RenderPartial("Card", Model); }

<section class="books">
    <p>Works by <span class="fullname">@Model.FullName</span> in my library:</p>

    @if (Model.AuthoredNovels.Count() > 0)
    { 
        <section class="itemList authoredNovels">
            <h3>Novels</h3>
            @{ Html.RenderPartial("~/Views/Book/ItemList.cshtml", Model.AuthoredNovels); }
        </section> <!-- end .itemList .authoredNovels -->
    }

    @if (Model.EditedBooks.Count > 0)
    { 
        <section class="itemList editedBooks">
            <h3>Edited Books</h3>
            @{ Html.RenderPartial("~/Views/Book/ItemList.cshtml", Model.EditedBooks); }
        </section> <!-- end .itemList .editedBooks -->
    }
    
    @if (Model.AuthoredCollections.Count() > 0)
    { 
        <section class="itemList authoredCollections">
            <h3>Authored Collections</h3>
            @{ Html.RenderPartial("~/Views/Book/ItemList.cshtml", Model.AuthoredCollections); }
        </section> <!-- end .itemList .authoredCollections -->
    }
            
    @if (Model.TranslatedStories.Count > 0)
    { 
        <section class="itemList translatedStories">
            <h3>Translated Stories</h3>
            @{ Html.RenderPartial("~/Views/Story/ItemList.cshtml", Model.TranslatedStories); }
        </section> <!-- end .itemList .translatedStories -->
    }
        
    @if (Model.AuthoredShortStories.Count() > 0)
    {
        // TODO: Split between short stories and novels
        <section class="itemList authoredShortStories">
            <h3>Authored Short Stories</h3>
            @{ Html.RenderPartial("~/Views/Story/ItemList.cshtml", Model.AuthoredShortStories); }
        </section> <!-- end .itemList .authoredShortStories -->
    }
</section> <!-- end .books -->
{'fraction_non_alphanumeric': 0.1563845050215208, 'fraction_numerical': 0.0077474892395982785, 'mean_word_length': 2.4446640316205532, 'pattern_counts': {'":': 0, '<': 62, '<?xml version=': 0, '>': 71, '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': '6120570', 'n_tokens_mistral': 1117, 'n_tokens_neox': 1052, 'n_words': 183}