<commit_before><%
    import Framework, Site.Settings
    username = Framework.getCurrentUsername()
    if len(username) > 22:
        display_name = '%s...%s' % (username[:9],username[-10:])
    else:
        display_name = username
%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Open Science Framework</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Le styles -->
    %if Site.Settings.use_cdn_for_client_libs:
        <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/flick/jquery-ui.css">
    %else:
        <link rel="stylesheet" type="text/css" href="/static/jquery-ui.css">
    %endif 
    <link rel="stylesheet" type="text/css" href="/static/jquery.tagit.css">
    <link href="/static/tagit.ui-zendesk.css" rel="stylesheet" type="stylesheet">
    <link rel="stylesheet" type="text/css" href="/static/pagedown/demo.css" />
    <link href="/static/bootstrap/css/bootstrap.css" rel="stylesheet"><commit_msg>fixes critical bug for non-logged-in users<commit_after><%
    import Framework, Site.Settings
    username = Framework.getCurrentUsername()
    if username:
        if len(username) > 22:
            display_name = '%s...%s' % (username[:9],username[-10:])
        else:
            display_name = username
%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Open Science Framework</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Le styles -->
    %if Site.Settings.use_cdn_for_client_libs:
        <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/flick/jquery-ui.css">
    %else:
        <link rel="stylesheet" type="text/css" href="/static/jquery-ui.css">
    %endif 
    <link rel="stylesheet" type="text/css" href="/static/jquery.tagit.css">
    <link href="/static/tagit.ui-zendesk.css" rel="stylesheet" type="stylesheet">
    <link rel="stylesheet" type="text/css" href="/static/pagedown/demo.css" />
    <link href="/static/bootstrap/css/bootstrap.css" rel="stylesheet">
{'fraction_non_alphanumeric': 0.18642160540135033, 'fraction_numerical': 0.011252813203300824, 'mean_word_length': 3.4302325581395348, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 49, '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': '5600373', 'n_tokens_mistral': 904, 'n_tokens_neox': 859, 'n_words': 166}