<commit_before><!-- START package chrome -->
<%
import tg

icon = w.package_info['icon']
package_name = w.kwds['package_name']
if package_name != w.package_info['name']:
    # subpackage
    for sub_pkg in w.package_info['sub_pkgs']:
        if sub_pkg['name'] == package_name:
            sub_icon = sub_pkg.get('icon', None)
            if sub_icon:
                icon = sub_icon

            break

icon_url = tg.url("/images/icons/%s.png" % icon)
%>
<div id="container">
    <div class="container_24" id="package-details">
         <div class="grid_5" id="package-info-bar">
             <img src="${icon_url}" height="128" width="128"/>
             <div class="build">
                 <div><h3>LATEST BUILD</h3></div>
                 <div class="package-name">${w.latest_build}</div>
             </div>

             <div class="owner">
                 <div><h3>OWNER</h3></div>
                 % if w.package_info.get('devel_owner', None):
                     <div class="package-owner">${w.package_info['devel_owner']}</div><div class="package-dist">(Rawhide)</div>
                 % else:
                     <div class="package-owner orphan">Orphaned</div><div class="package-dist">(Rawhide)</div>
                 % endif
             </div>
             <div class="package-tree">
                 <div><h3>PACKAGE TREE</h3></div>
                 <ul>
                   <li><a class="package-name" href="${tg.url('/%s' % w.package_info['name'])}">${w.package_info['name']}</a>
                   <ul>
                       % for subpkg in w.package_info['sub_pkgs']:
                             <li><a class="package-name" href="${tg.url('/%s' % subpkg['name'])}">${subpkg['name']}</a></li>
                       % endfor
                   </ul>
                 </li>
                 </ul><commit_msg>Link to profile of owner<commit_after><!-- START package chrome -->
<%
import tg

icon = w.package_info['icon']
package_name = w.kwds['package_name']
if package_name != w.package_info['name']:
    # subpackage
    for sub_pkg in w.package_info['sub_pkgs']:
        if sub_pkg['name'] == package_name:
            sub_icon = sub_pkg.get('icon', None)
            if sub_icon:
                icon = sub_icon

            break

icon_url = tg.url("/images/icons/%s.png" % icon)
%>
<div id="container">
    <div class="container_24" id="package-details">
         <div class="grid_5" id="package-info-bar">
             <img src="${icon_url}" height="128" width="128"/>
             <div class="build">
                 <div><h3>LATEST BUILD</h3></div>
                 <div class="package-name">${w.latest_build}</div>
             </div>

             <div class="owner">
                 <div><h3>OWNER</h3></div>
                 % if w.package_info.get('devel_owner', None):
                     <div class="package-owner"><a href="https://fedoraproject.org/wiki/User:${w.package_info['devel_owner']}">${w.package_info['devel_owner']}</a></div><div class="package-dist">(Rawhide)</div>
                 % else:
                     <div class="package-owner orphan">Orphaned</div><div class="package-dist">(Rawhide)</div>
                 % endif
             </div>
             <div class="package-tree">
                 <div><h3>PACKAGE TREE</h3></div>
                 <ul>
                   <li><a class="package-name" href="${tg.url('/%s' % w.package_info['name'])}">${w.package_info['name']}</a>
                   <ul>
                       % for subpkg in w.package_info['sub_pkgs']:
                             <li><a class="package-name" href="${tg.url('/%s' % subpkg['name'])}">${subpkg['name']}</a></li>
                       % endfor
                   </ul>
                 </li>
                 </ul>
{'fraction_non_alphanumeric': 0.1823748668796592, 'fraction_numerical': 0.007987220447284345, 'mean_word_length': 1.7767923133776793, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 95, 'https://': 1, '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': '5998507', 'n_tokens_mistral': 1185, 'n_tokens_neox': 1137, 'n_words': 182}