<commit_before><div id="page-feed" class="container container-fluid">
  <navbar></navbar>
  <div id="content">
    <h1 class="page-head">My Polls</h1>
    <p class="blurb">
      View and Edit your submitted polls here<br>
    </p>
    <hr>
    <div id="feed-sort">
      <p>SORT BY: <a ng-click="sortPopular()" ng-class="{selected: sort === 'popular'}" class="pp">BEST</a> | <a ng-click="sortNewest()" ng-class="{selected: sort === 'newest'}" class="pp">NEWEST</a></p>
    </div>
    
    <div class="polls" ng-show="fetchedPolls">
      <div class="poll" ng-repeat="poll in polls track by $index">
        <div class="scoring">
          <a class="vote-submit upvote" ng-click="upVote(poll.pollData.pid, $index)" ng-class="{chosen: poll.userVote == true}">good poll</a>
          <p class="score"><strong>{{poll.pollData.score}}</strong></p>
          <a class="vote-submit downvote" ng-click="downVote(poll.pollData.pid, $index)" ng-class="{chosen: poll.userVote == false}">bad poll</a>
        </div>
        <div class="poll-content" ng-click="goToPoll(poll.pollData.pid)">
          <p class="poll-question">{{poll.pollData.question}}</p>
          <p class="poll-choices-preview">Vote: &#8216;{{poll.pollData.choices[0]}}&#8217;<span ng-show="poll.pollData.choices.length > 2">, </span><span ng-show="poll.pollData.choices.length == 2"> vs. </span>&#8216;{{poll.pollData.choices[1]}}&#8217;<span ng-show="poll.pollData.choices.length > 2">, <i class="fa fa-ellipsis-h"></i></span></p>
          <div class="poll-meta">
            <span>
              <span><i class="fa fa-clock-o"></i> &nbsp; Posted {{poll.pollData.humanTime}}</span>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              <span><i class="fa fa-list-alt"></i> &nbsp; {{poll.pollData.choices.length}} choices</span>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              <span><i class="fa fa-pie-chart"></i> &nbsp; {{poll.pollData.numResponses}} <span ng-show="poll.pollData.numResponses !== 1">people</span><span ng-hide="poll.pollData.numResponses !== 1">person</span> responded</span>
            </span><commit_msg>Removed mention of editing existing polls<commit_after><div id="page-feed" class="container container-fluid">
  <navbar></navbar>
  <div id="content">
    <h1 class="page-head">My Polls</h1>
    <p class="blurb">
      View your polls here<br>
    </p>
    <hr>
    <div id="feed-sort">
      <p>SORT BY: <a ng-click="sortPopular()" ng-class="{selected: sort === 'popular'}" class="pp">BEST</a> | <a ng-click="sortNewest()" ng-class="{selected: sort === 'newest'}" class="pp">NEWEST</a></p>
    </div>

    <div class="polls" ng-show="fetchedPolls">
      <div class="poll" ng-repeat="poll in polls track by $index">
        <div class="scoring">
          <a class="vote-submit upvote" ng-click="upVote(poll.pollData.pid, $index)" ng-class="{chosen: poll.userVote == true}">good poll</a>
          <p class="score"><strong>{{poll.pollData.score}}</strong></p>
          <a class="vote-submit downvote" ng-click="downVote(poll.pollData.pid, $index)" ng-class="{chosen: poll.userVote == false}">bad poll</a>
        </div>
        <div class="poll-content" ng-click="goToPoll(poll.pollData.pid)">
          <p class="poll-question">{{poll.pollData.question}}</p>
          <p class="poll-choices-preview">Vote: &#8216;{{poll.pollData.choices[0]}}&#8217;<span ng-show="poll.pollData.choices.length > 2">, </span><span ng-show="poll.pollData.choices.length == 2"> vs. </span>&#8216;{{poll.pollData.choices[1]}}&#8217;<span ng-show="poll.pollData.choices.length > 2">, <i class="fa fa-ellipsis-h"></i></span></p>
          <div class="poll-meta">
            <span>
              <span><i class="fa fa-clock-o"></i> &nbsp; Posted {{poll.pollData.humanTime}}</span>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              <span><i class="fa fa-list-alt"></i> &nbsp; {{poll.pollData.choices.length}} choices</span>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              <span><i class="fa fa-pie-chart"></i> &nbsp; {{poll.pollData.numResponses}} <span ng-show="poll.pollData.numResponses !== 1">people</span><span ng-hide="poll.pollData.numResponses !== 1">person</span> responded</span>
            </span>
{'fraction_non_alphanumeric': 0.22195985832349469, 'fraction_numerical': 0.011806375442739079, 'mean_word_length': 3.589382448537378, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 131, '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': '2212317', 'n_tokens_mistral': 1533, 'n_tokens_neox': 1464, 'n_words': 243}