<commit_before><?php
/**
 * Returns the HTML for the Campaign Action page.
 *
 * Available Variables
 * - $campaign: A campaign object. @see dosomething_campaign_load()
 * - $scholarship: Scholarship amount (string).
 * - $classes: Additional classes passed for output (string).
 * - $campaign_creator: HTML for the Campaign Creator link/modal.
 */
?>

<header role="banner" class="header -hero header--action <?php print $classes; ?>">
  <div class="wrapper">
    <?php print $campaign_headings; ?>

    <?php print $promotions; ?>

    <?php print $campaign_scholarship; ?>
  </div>
</header>

<?php if (isset($reportbacks_showcase)): ?>
  <div class="container -showcase optimizely-hidden">
    <div class="wrapper">
      <ul class="gallery -quartet -shuffle">
        <?php foreach ($reportbacks_showcase['items'] as $index => $reportback): ?>
          <li><?php print $reportback; ?></li>
        <?php endforeach; ?>
      </ul>
    </div>
  </div>
<?php endif; ?>

<article class="campaign campaign--action">
  <nav class="campaign-nav js-fixedsticky">
    <ul class="waypoints -primary waypoints--action js-scroll-indicator">
      <li><a class="js-jump-scroll" href="#know"><?php print t('Know'); ?></a></li>
      <li><a class="js-jump-scroll" href="#plan"><?php print t('Plan'); ?></a></li>
      <li><a class="js-jump-scroll" href="#do"><?php print t('Do'); ?></a></li>
      <li><a class="waypoints__primary-link js-jump-scroll" href="#prove"><?php print t('Prove It'); ?></a></li>
    </ul>
  </nav>

  <?php // HOT MODULE PROTOTYPE ////////////////////////////// ?>
  <?php if ($hot_module_enabled): ?>
    <section id="hot-module" class="container">
      <div class="wrapper">
        <div class="container__block">
          <div class="stat-card">
            <div class="stat-card__totals">
              <?php if(isset($campaign_progress)): ?>
                <h4 class="stat-card__verbs"><?php print $reportback_noun_verb ?></h4>
                <p class="stat-card__progress"><?php print number_format($campaign_progress, 0, '', ','); ?></p>
                <p class="stat-card__goal">Out of <?php print number_format($goal, 0, '', ','); ?></p>
              <?php endif; ?>
            </div>
            <div class="stat-card__timing">
              <?php if(isset($time_left)): ?>
                <p><?php print $time_left ?></p>
              <?php endif; ?>
            </div>
            <div class="stat-card__chart">
              <canvas class="js-progress-chart" width="280" height="200" data-goal="<?php print $goal; ?>"></canvas>
            </div>
          </div>

          <div class="author-callout">
            <div class="author-callout__copy">
              <?php if(isset($progress_copy)): ?>
                <?php print $progress_copy; ?>
              <?php endif; ?>
            </div>

            <article class="figure -left -center">
              <div class="figure__media">
                <div class="avatar"><commit_msg>remove check for show progress in stat card<commit_after><?php
/**
 * Returns the HTML for the Campaign Action page.
 *
 * Available Variables
 * - $campaign: A campaign object. @see dosomething_campaign_load()
 * - $scholarship: Scholarship amount (string).
 * - $classes: Additional classes passed for output (string).
 * - $campaign_creator: HTML for the Campaign Creator link/modal.
 */
?>

<header role="banner" class="header -hero header--action <?php print $classes; ?>">
  <div class="wrapper">
    <?php print $campaign_headings; ?>

    <?php print $promotions; ?>

    <?php print $campaign_scholarship; ?>
  </div>
</header>

<?php if (isset($reportbacks_showcase)): ?>
  <div class="container -showcase optimizely-hidden">
    <div class="wrapper">
      <ul class="gallery -quartet -shuffle">
        <?php foreach ($reportbacks_showcase['items'] as $index => $reportback): ?>
          <li><?php print $reportback; ?></li>
        <?php endforeach; ?>
      </ul>
    </div>
  </div>
<?php endif; ?>

<article class="campaign campaign--action">
  <nav class="campaign-nav js-fixedsticky">
    <ul class="waypoints -primary waypoints--action js-scroll-indicator">
      <li><a class="js-jump-scroll" href="#know"><?php print t('Know'); ?></a></li>
      <li><a class="js-jump-scroll" href="#plan"><?php print t('Plan'); ?></a></li>
      <li><a class="js-jump-scroll" href="#do"><?php print t('Do'); ?></a></li>
      <li><a class="waypoints__primary-link js-jump-scroll" href="#prove"><?php print t('Prove It'); ?></a></li>
    </ul>
  </nav>

  <?php // HOT MODULE PROTOTYPE ////////////////////////////// ?>
  <?php if ($hot_module_enabled): ?>
    <section id="hot-module" class="container">
      <div class="wrapper">
        <div class="container__block">
          <div class="stat-card">
            <div class="stat-card__totals">
              <h4 class="stat-card__verbs"><?php print $reportback_noun_verb ?></h4>
              <p class="stat-card__progress"><?php print number_format($campaign_progress, 0, '', ','); ?></p>
              <p class="stat-card__goal">Out of <?php print number_format($goal, 0, '', ','); ?></p>
            </div>
            <div class="stat-card__timing">
              <?php if(isset($time_left)): ?>
                <p><?php print $time_left ?></p>
              <?php endif; ?>
            </div>
            <div class="stat-card__chart">
              <canvas class="js-progress-chart" width="280" height="200" data-goal="<?php print $goal; ?>"></canvas>
            </div>
          </div>

          <div class="author-callout">
            <div class="author-callout__copy">
              <?php if(isset($progress_copy)): ?>
                <?php print $progress_copy; ?>
              <?php endif; ?>
            </div>

            <article class="figure -left -center">
              <div class="figure__media">
                <div class="avatar">
{'fraction_non_alphanumeric': 0.19759158751696065, 'fraction_numerical': 0.0033921302578018998, 'mean_word_length': 2.565296251511487, 'pattern_counts': {'":': 0, '<': 177, '<?xml version=': 0, '>': 179, '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': '2281131', 'n_tokens_mistral': 1812, 'n_tokens_neox': 1766, 'n_words': 422}