<commit_before><% def link_to_fragment fragment_id, page_id, text_to_show, current_page_id %>
<%   attributes = {"data-section": "##{fragment_id}"} %>
<%   attributes["data-dest"]     = url_for("/getting-started/#{page_id}/index.html") %>
<%   attributes["data-is-local"] = (page_id == current_page_id).to_s %>
<%   link_to text_to_show, '#', attributes %>
<% end %>

<div class="col-md-3 sidebar">
  <button class="get-start-btn"><i class="fa fa-bars"></i></button>
  <nav class="getting-started-nav">
    <h5>Getting started <span class="close-nav">X</span></h5>

    <ul class="verticalnav">
      <li class="dropdown <%= open_nav_at == "part-1" ? "open" : "dropdown-menu" %>">
        <a href="#" class="active">Part 1</a><commit_msg>Make sure it works with old Ruby<commit_after><% def link_to_fragment fragment_id, page_id, text_to_show, current_page_id %>
<%   attributes = {"data-section" => "##{fragment_id}"} %>
<%   attributes["data-dest"]     = url_for("/getting-started/#{page_id}/index.html") %>
<%   attributes["data-is-local"] = (page_id == current_page_id).to_s %>
<%   link_to text_to_show, '#', attributes %>
<% end %>

<div class="col-md-3 sidebar">
  <button class="get-start-btn"><i class="fa fa-bars"></i></button>
  <nav class="getting-started-nav">
    <h5>Getting started <span class="close-nav">X</span></h5>

    <ul class="verticalnav">
      <li class="dropdown <%= open_nav_at == "part-1" ? "open" : "dropdown-menu" %>">
        <a href="#" class="active">Part 1</a>
{'fraction_non_alphanumeric': 0.21977287909151635, 'fraction_numerical': 0.006680026720106881, 'mean_word_length': 4.631578947368421, 'pattern_counts': {'":': 1, '<': 45, '<?xml version=': 0, '>': 46, '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': '4732255', 'n_tokens_mistral': 567, 'n_tokens_neox': 522, 'n_words': 93}