<commit_before>@using Links
@model DisplayPackageViewModel
@{
    ViewBag.Title = Model.Title + " " + Model.Version;
    ViewBag.Tab = "Packages";
    Layout = "~/Views/Shared/TwoColumnLayout.cshtml";
}
@section OpenGraph {
    @if(!String.IsNullOrWhiteSpace(ViewBag.FacebookAppID)) {
        <meta property="fb:app_id" content="@ViewBag.FacebookAppID" /> 
    }
    <meta property="og:title"       content="@Model.Title" />
    <meta property="og:type"        content="nugetgallery:package" /> 
    <meta property="og:url"         content="@Url.CanonicalCurrent()" /> 
    <meta property="og:description" content="@Model.Description" /> 
    <meta property="og:determiner"  content="a" />
    @if(!String.IsNullOrWhiteSpace(Model.IconUrl)) {
        <meta property="og:image" content="@Model.IconUrl" />
    }
}
@section BottomScripts {
    <div id="fb-root"></div>
    <script>(function (d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
    @if(!String.IsNullOrWhiteSpace(ViewBag.FacebookAppID)) {
        @:js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=@ViewBag.FacebookAppID";
    } else {
        @:js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
    }
        fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
}
@section SideColumn {
    <img class="logo" src="@(Model.IconUrl ?? Content.Images.packageDefaultIcon_png)" alt="Icon for package @Model.Id" onerror="this.src = '@Content.Images.packageDefaultIcon_png';" />
    <div id="stats"><commit_msg>Use default package icon as og:image when package has no icon<commit_after>@using Links
@model DisplayPackageViewModel
@{
    ViewBag.Title = Model.Title + " " + Model.Version;
    ViewBag.Tab = "Packages";
    Layout = "~/Views/Shared/TwoColumnLayout.cshtml";
}
@section OpenGraph {
    @if(!String.IsNullOrWhiteSpace(ViewBag.FacebookAppID)) {
        <meta property="fb:app_id" content="@ViewBag.FacebookAppID" /> 
    }
    <meta property="og:title"       content="@Model.Title" />
    <meta property="og:type"        content="nugetgallery:package" /> 
    <meta property="og:url"         content="@Url.CanonicalCurrent()" /> 
    <meta property="og:description" content="@Model.Description" /> 
    <meta property="og:determiner"  content="a" />
    <meta property="og:image"       content="@(Model.IconUrl ?? @Links.Content.Images.packageDefaultIcon_png)" />
}
@section BottomScripts {
    <div id="fb-root"></div>
    <script>(function (d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
    @if(!String.IsNullOrWhiteSpace(ViewBag.FacebookAppID)) {
        @:js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=@ViewBag.FacebookAppID";
    } else {
        @:js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
    }
        fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
}
@section SideColumn {
    <img class="logo" src="@(Model.IconUrl ?? Content.Images.packageDefaultIcon_png)" alt="Icon for package @Model.Id" onerror="this.src = '@Content.Images.packageDefaultIcon_png';" />
    <div id="stats">
{'fraction_non_alphanumeric': 0.17482517482517482, 'fraction_numerical': 0.0018242626938279112, 'mean_word_length': 3.6932952924393723, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3822752', 'n_tokens_mistral': 1120, 'n_tokens_neox': 1084, 'n_words': 169}