<commit_before># -*- coding: utf-8 -*-

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
##    <link rel="icon" href="/statz/static/img/favicon.ico">

    <title>Statz Dashboard</title>

    <!-- Bootstrap core CSS -->
    <link href="/statz/static/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="/statz/static/css/dashboard.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->


    <script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
    <script src="http://d3js.org/topojson.v1.min.js"></script>
    <script src="http://d3js.org/d3.geo.projection.v0.min.js" charset="utf-8"></script>
    <script src="http://trifacta.github.com/vega/vega.js"></script>
  </head>

  <body>

    <div id="top_menu_bar" class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">Statz</a>
        </div>
        <div class="navbar-collapse collapse">
          <ul class="nav navbar-nav navbar-right">
            <li><a href="#">Dashboard</a></li>
            <li><a href="#">Settings</a></li>
            <li><a href="#">Help</a></li>
          </ul>
        </div>
      </div>
    </div>

    <div class="container-fluid main">
      <div class="row">
        <div class="col-md-2">
          <div class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" role="complementary">
              <ul class="nav nav-stacked bs-docs-sidenav">
              % for url, route in routes.items():
                <li>
                    <a href="#${url}">${route.get('url', url.replace('_', '/'))}</a>
                    <!--
                    <div>
                            %for methname, info in route.get('methods', {}).items():
                            <a href="#${url}_${methname}"><span class="badge">${methname}</span></a>
                            %endfor
                    </div>
                    -->
                    <ul class="nav nav-stacked" >
                        %for methname, info in route.get('methods', {}).items():
                        <li><a href="#${url}_${methname}">${methname}</a></li>
                        %endfor
                    </ul>

                </li>
              % endfor
          </ul>
          </div>
        </div>
        <div class="col-lg-10 col-md-0">
            <div class="panel panel-default">
                <div class="panel-body">
                  <h1 class="page-header">Dashboard</h1>

                  <div class="table-responsive">
                    %for url, route in routes.items():

                        <section id="${url}" class="group">
                            <h1 id="${url}_title" class="page-header view-section">${route.get('url', url.replace('_', '/'))}

                                <span>

                                <div class="btn-group">

                                   %for methname in route.get('methods', []):
                                    <a type="button" class="btn btn-default" href="#${url}_${methname}">${methname}</a>
                                   %endfor

                                    %if route.get('calls', []):
                                    <button type="button" class="btn btn-default" onclick="$('#table_${url}').toggle();">Show/Hide</button>


                                  <div class="btn-group">
                                    <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                                      Dropdown
                                      <span class="caret"></span>
                                    </button>
                                    <ul class="dropdown-menu" role="menu">
                                        %for k in route:
                                            <li><a href="#">${k}</a></li>
                                        %endfor
                                    </ul>
                                  </div>

                                    %endif
                                </div>
                                </span>

                            </h1>
                        </section>

                    %for methname, info in route.get('methods', {}).items():
                    <div id="${url}_${methname}" class="bs-docs-section method-section">
                        <h4>${methname} ${route.get('url', url.replace('_', '/'))}
                            %if info.get('calls', []):
                             <span class="badge" style="margin-left: 20px;">${info['calls'][-1]['response_type']}</span>
                            %endif

                            <span style="margin-left: 20px;">

                    <div class="btn-group">

                        % if info.get('code', ''):
                        <button type="button" class="btn btn-default" onclick="$('#${url}_${methname}_code').toggle();">Code</button>
                        % endif
                        %if info.get('calls', []):
                        <button type="button" class="btn btn-default" onclick="$('#table_${url}_${methname}_params').toggle();">Parameters</button>
                        <button type="button" class="btn btn-default" onclick="$('#table_${url}_${methname}_headers').toggle();">Headers</button>
                        <button type="button" class="btn btn-default" onclick="$('#table_${url}_${methname}_resp_obj').toggle();">Response Object</button>
                        <button type="button" class="btn btn-default" onclick="$('#table_${url}_${methname}').toggle();">Calls</button>
                        % endif
                    </div>
                    </span>
                        </h4>

                        <div id="${url}_${methname}_docstring"><commit_msg>improving UI, experimental and temprary changes<commit_after># -*- coding: utf-8 -*-

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
##    <link rel="icon" href="/statz/static/img/favicon.ico">

    <title>Statz Dashboard</title>

    <!-- Bootstrap core CSS -->
    <link href="/statz/static/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="/statz/static/css/dashboard.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->


    <script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
    <script src="http://d3js.org/topojson.v1.min.js"></script>
    <script src="http://d3js.org/d3.geo.projection.v0.min.js" charset="utf-8"></script>
    <script src="http://trifacta.github.com/vega/vega.js"></script>
  </head>

  <body>

    <div id="top_menu_bar" class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">Statz</a>
        </div>
        <div class="navbar-collapse collapse">
          <ul class="nav navbar-nav navbar-right">
            <li><a href="#">Dashboard</a></li>
            <li><a href="#">Settings</a></li>
            <li><a href="#">Help</a></li>
          </ul>
        </div>
      </div>
    </div>

    <div class="container-fluid main">
      <div class="row">
        <div class="col-md-2">
          <div class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" role="complementary">
              <ul class="nav nav-stacked bs-docs-sidenav">
              % for url, route in routes.items():
                <li>
                    <a href="#${url}">

                        %if route.get('methods_with_stats', []):
                            *
                        %endif
                        ${route.get('url', url.replace('_', '/'))}
                    </a>

                    <ul class="nav nav-stacked" >
                        %for methname, info in route.get('methods', {}).items():
                        <li><a href="#${url}_${methname}">${methname}</a></li>
                        %endfor
                    </ul>

                </li>
              % endfor
          </ul>
          </div>
        </div>
        <div class="col-lg-10 col-md-0">
            <div class="panel panel-default">
                <div class="panel-body">
                  <h1 class="page-header">Dashboard</h1>

                  <div class="table-responsive">
                    %for url, route in routes.items():

                        <section id="${url}" class="group">
                            <h1 id="${url}_title" class="page-header view-section">${route.get('url', url.replace('_', '/'))}

                                <span>

                                <div class="btn-group">

                                   %for methname, info in route.get('methods', {}).items():
                                    <a type="button" class="btn btn-default" href="#${url}_${methname}">${methname}</a>
                                   %endfor

                                </div>
                                </span>

                            </h1>
                        </section>

                    %for methname, info in route.get('methods', {}).items():
                    <div id="${url}_${methname}" class="bs-docs-section method-section">
                        <h4>${methname} ${route.get('url', url.replace('_', '/'))}
                            %if info.get('calls', []):
                             <span class="badge" style="margin-left: 20px;">${info['calls'][-1]['response_type']}</span>
                            %endif

                            <span style="margin-left: 20px;">

                    <div class="btn-group">

                        % if info.get('code', ''):
                        <button type="button" class="btn btn-default" onclick="$('#${url}_${methname}_code').toggle();">Code</button>
                        % endif
                        %if info.get('calls', []):
                        <button type="button" class="btn btn-default" onclick="$('#table_${url}_${methname}_params').toggle();">Parameters</button>
                        <button type="button" class="btn btn-default" onclick="$('#table_${url}_${methname}_headers').toggle();">Headers</button>
                        <button type="button" class="btn btn-default" onclick="$('#table_${url}_${methname}_resp_obj').toggle();">Response Object</button>
                        <button type="button" class="btn btn-default" onclick="$('#table_${url}_${methname}').toggle();">Calls</button>
                        % endif
                    </div>
                    </span>
                        </h4>

                        <div id="${url}_${methname}_docstring">
{'fraction_non_alphanumeric': 0.17944561517263738, 'fraction_numerical': 0.00648403306856865, 'mean_word_length': 1.5135465471582807, 'pattern_counts': {'":': 0, '<': 264, '<?xml version=': 0, '>': 264, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 22, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3086889', 'n_tokens_mistral': 3553, 'n_tokens_neox': 3310, 'n_words': 596}