<commit_before><?php use_helper('Form', 'Validation', 'Decorator'); ?>

<?php decorate_start('SideTabs', ['active' => 'spacedrepetition']) ?>

  <h2>Spaced Repetition Settings</h2>

  <p>
    See <?= link_to('documentation', '@learnmore#srs') ?> for Kanji Koohii's implementation of the Leitner SRS.
  </p
  <p>
    Also see <?= link_to('tips for rating cards', '@learnmore#faq') ?> in the F.A.Q.
  </p>

  <?php echo form_errors() ?>
  <?php echo form_tag('account/spacedrepetition') ?>
    <div id="JsVueMountSrsForm"></div>
    <p>
      <?php echo submit_tag('Save changes', ['class' => 'ko-Btn ko-Btn--success']) ?>
    </p>
  </form>

<?php decorate_end() ?>

<?php
  kk_globals_put('ACCOUNT_SRS', $srsSettings);<commit_msg>Update intro paragraph & help links in SRS settings page, minor formatting<commit_after><?php use_helper('Form', 'Validation', 'Decorator'); ?>

<?php decorate_start('SideTabs', ['active' => 'spacedrepetition']); ?>

  <h2>Spaced Repetition Settings</h2>

  <p>
    Learn more about Koohii’s <?= link_to('Leitner SRS implementation', '@learnmore#srs'); ?> in the documentation.
  </p>

  <p>
    Also see the <b>tips</b> in the <?= link_to('Card Ratings', '@learnmore#rating'); ?> section.
  </p>

  <div class="pb-4"></div>

  <?= form_errors(); ?>
  <?= form_tag('account/spacedrepetition'); ?>
    <div id="JsVueMountSrsForm"></div>
    <p>
      <?= submit_tag('Save changes', ['class' => 'ko-Btn ko-Btn--success']); ?>
    </p>
  </form>

<?php decorate_end(); ?>

<?php
  kk_globals_put('ACCOUNT_SRS', $srsSettings);
{'fraction_non_alphanumeric': 0.20811855670103094, 'fraction_numerical': 0.0032216494845360823, 'mean_word_length': 4.43006993006993, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 48, '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': '2654412', 'n_tokens_mistral': 581, 'n_tokens_neox': 563, 'n_words': 123}