<commit_before> <div class="card">
  <div class="card-header">
    {{ subject }}
    <button type="button" aria-label="Close" class="btn-close"
            *ngIf="quest.quest_validated == 0"
            (click)="promptQuestAbandon()"></button>
  </div>
  <div class="card-body no-bottom">
    <div *ngIf="showDelete == 1" class="text-center">
      <div class="fw-bold text-danger" translate>
        Do you really want to give up this quest?
      </div>
      <button class="btn btn-danger" (click)="questGiveup(quest)"
              translate>Confirm</button>
    </div>
    <p>
      {{ description }}
    </p>
    <div *ngIf="quest.quest_validated == 0">
      <div class="progress">
        <div class="progress-bar bg-success" role="progressbar" aria-valuenow="0"
             aria-valuemin="0" aria-valuemax="100"
             [ngStyle]="{'width.%': 100*quest.quest_current/quest.quest_goal }"></div>
        <div class="progress-text">
          <span translate>Progress:</span>
          {{quest.quest_current}}/{{quest.quest_goal}}
        </div>
      </div>
    </div>
    <div>
      <strong translate>Reward:</strong>
      {{ quest.reward_quantity | number:'': this.translate.currentLang }}
      <ew-icon name="{{quest.reward_ress}}" class="small-icon"></ew-icon>
    </div>
  </div>
  <div class="card-button card-button-primary" *ngIf="quest.quest_validated == 0">
    <a class="btn" [routerLink]="['/'+link]" *ngIf="link == 'attacks'" translate>Access to the attacks &gt;&gt;</a>
    <a class="btn" [routerLink]="['/city']"  *ngIf="link == 'divine'" translate>Access to the Divine powers &gt;&gt;</a>
    <a class="btn" [routerLink]="['/'+link]" *ngIf="link == 'city'" translate>Access to the city &gt;&gt;</a>
    <a class="btn" [routerLink]="['/'+link]" *ngIf="link == 'lotto'" translate>Access to the lotto &gt;&gt;</a>
    <a class="btn" [routerLink]="['/'+link]" *ngIf="link == 'sanctuaries'" translate>Access to the sanctuaries &gt;&gt;</a>
    <a class="btn" [routerLink]="['/'+link]" *ngIf="link == 'tickets'" translate>Access to the tickets &gt;&gt;</a>
  </div>
  <div class="card-button card-button-success" role="button"
       *ngIf="quest.quest_validated == 1"
       (click)="myQuestValidate(quest.quest_id)" translate>
    Validate
  </div>
</div><commit_msg>Sanctuaries are on the attack page<commit_after> <div class="card">
  <div class="card-header">
    {{ subject }}
    <button type="button" aria-label="Close" class="btn-close"
            *ngIf="quest.quest_validated == 0"
            (click)="promptQuestAbandon()"></button>
  </div>
  <div class="card-body no-bottom">
    <div *ngIf="showDelete == 1" class="text-center">
      <div class="fw-bold text-danger" translate>
        Do you really want to give up this quest?
      </div>
      <button class="btn btn-danger" (click)="questGiveup(quest)"
              translate>Confirm</button>
    </div>
    <p>
      {{ description }}
    </p>
    <div *ngIf="quest.quest_validated == 0">
      <div class="progress">
        <div class="progress-bar bg-success" role="progressbar" aria-valuenow="0"
             aria-valuemin="0" aria-valuemax="100"
             [ngStyle]="{'width.%': 100*quest.quest_current/quest.quest_goal }"></div>
        <div class="progress-text">
          <span translate>Progress:</span>
          {{quest.quest_current}}/{{quest.quest_goal}}
        </div>
      </div>
    </div>
    <div>
      <strong translate>Reward:</strong>
      {{ quest.reward_quantity | number:'': this.translate.currentLang }}
      <ew-icon name="{{quest.reward_ress}}" class="small-icon"></ew-icon>
    </div>
  </div>
  <div class="card-button card-button-primary" *ngIf="quest.quest_validated == 0">
    <a class="btn" [routerLink]="['/'+link]" *ngIf="link == 'attacks'" translate>Access to the attacks &gt;&gt;</a>
    <a class="btn" [routerLink]="['/city']"  *ngIf="link == 'divine'" translate>Access to the Divine powers &gt;&gt;</a>
    <a class="btn" [routerLink]="['/'+link]" *ngIf="link == 'city'" translate>Access to the city &gt;&gt;</a>
    <a class="btn" [routerLink]="['/'+link]" *ngIf="link == 'lotto'" translate>Access to the lotto &gt;&gt;</a>
    <a class="btn" [routerLink]="['/attacks']" *ngIf="link == 'sanctuaries'" translate>Access to the sanctuaries &gt;&gt;</a>
    <a class="btn" [routerLink]="['/'+link]" *ngIf="link == 'tickets'" translate>Access to the tickets &gt;&gt;</a>
  </div>
  <div class="card-button card-button-success" role="button"
       *ngIf="quest.quest_validated == 1"
       (click)="myQuestValidate(quest.quest_id)" translate>
    Validate
  </div>
</div>
{'fraction_non_alphanumeric': 0.20615651419900283, 'fraction_numerical': 0.0056362453934532845, 'mean_word_length': 3.479611650485437, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, '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': '1366117', 'n_tokens_mistral': 1594, 'n_tokens_neox': 1546, 'n_words': 316}