<commit_before><div class="row" *ngIf="isStudentInClass || isTeacher">
  <div class="col-xs-12" *ngIf="activities && activities.length">
    <div class="row" *ngFor="let activity of activities;">
      <div class="col-xs-12">
        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title">
              {{activity.title}}<span *ngIf="isTeacher && activity.startDate">&nbsp;<small>Start Date {{activity.startDate}}</small></span>
            </h3>
          </div>
          <div class="panel-body">
            <p>{{activity.description}}</p>
            <p>Try to mentor mentii through {{activity.problemCount}} problems<span *ngIf="activity.startDate">, before {{activity.startDate}}</span>:</p>
            <button class="btn btn-success btn-small" [routerLink]="['/problem/display', classCode, activity.title]"><i class="fa fa-pencil"></i> Mentor mentii</button>
          </div>
        </div>
      </div>
    </div>
  </div>
  <!-- Only show if no data returned -->
  <div class="col-xs-12" *ngIf="!activities || !activities.length">
    <div class="empty-state text-center">
      <i class="fa fa-pencil fa-4x"></i>
      <h4>
        No Activites Have Been Created for this Class
      </h4>
    </div>
  </div>
</div>
<div class="row" *ngIf="!isStudentInClass && !isTeacher">
  <div class="col-xs-12">
    <div class="empty-state text-center">
      <i class="fa fa-users fa-4x"></i>
      <h4><commit_msg>fixed displaying start date instead of due date<commit_after><div class="row" *ngIf="isStudentInClass || isTeacher">
  <div class="col-xs-12" *ngIf="activities && activities.length">
    <div class="row" *ngFor="let activity of activities;">
      <div class="col-xs-12">
        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title">
              {{activity.title}}<span *ngIf="isTeacher && activity.startDate">&nbsp;<small>Start Date {{activity.startDate}}</small></span>
            </h3>
          </div>
          <div class="panel-body">
            <p>{{activity.description}}</p>
            <p>Try to mentor mentii through {{activity.problemCount}} problems<span *ngIf="activity.dueDate">, before {{activity.dueDate}}</span>:</p>
            <button class="btn btn-success btn-small" [routerLink]="['/problem/display', classCode, activity.title]"><i class="fa fa-pencil"></i> Mentor mentii</button>
          </div>
        </div>
      </div>
    </div>
  </div>
  <!-- Only show if no data returned -->
  <div class="col-xs-12" *ngIf="!activities || !activities.length">
    <div class="empty-state text-center">
      <i class="fa fa-pencil fa-4x"></i>
      <h4>
        No Activites Have Been Created for this Class
      </h4>
    </div>
  </div>
</div>
<div class="row" *ngIf="!isStudentInClass && !isTeacher">
  <div class="col-xs-12">
    <div class="empty-state text-center">
      <i class="fa fa-users fa-4x"></i>
      <h4>
{'fraction_non_alphanumeric': 0.1898989898989899, 'fraction_numerical': 0.010101010101010102, 'mean_word_length': 2.8684895833333335, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 93, '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': '2630896', 'n_tokens_mistral': 988, 'n_tokens_neox': 952, 'n_words': 212}