<commit_before><div class="chart">
  <h1>{{metric}}</h1>
  <div class="spinner" *ngIf="loading"></div>
  <p *ngIf="tenant !== undefined && type !== undefined">
    Tenant: {{tenant}}<br/>
    Metric type: {{type}}
  </p>
  <h3>{{notice}}</h3>
  <div class="row toolbar-pf">
    <div class="col-sm-12">
      <form class="toolbar-pf-actions">
        <div class="form-group">
          <select [(ngModel)]="timeframe" (ngModelChange)="onTimeFrameChanged($event)" [ngModelOptions]="{standalone: true}">
            <option value='5m'>Last 5 minutes</option>
            <option value='15m'>Last 15 minutes</option>
            <option value='30m'>Last 30 minutes</option>
            <option value='1h'>Last hour</option>
            <option value='6h'>Last 6 hours</option>
            <option value='1d'>Last 24 hours</option>
            <option value='2d'>Last 2 days</option>
            <option value='7d'>Last week</option>
            <option value='30d'>Last month</option>
            <option value='custom' disabled=true>Custom</option>
          </select>
        </div>
        <div class="form-group">
          <span>Refresh rate:</span>
          <select [(ngModel)]="refreshRate" [ngModelOptions]="{standalone: true}">
            <option value='5'>5 seconds</option>
            <option value='10'>10 seconds</option>
            <option value='30'>30 seconds</option>
            <option value='60'>1 minute</option>
            <option value='0'>Never</option>
          </select>
        </div>
        <div class="form-group">
          <input type="checkbox" class="checkbox-inline" [(ngModel)]="useRawData" [ngModelOptions]="{standalone: true}">
          <span>Raw data</span>
        </div>
      </form>
    </div>
  </div>
  <div class="chart-container">
    <hk-metric-chart *ngIf="displayChart"
      metricUrl="{{metricsURL}}"
      [metricId]="metric"
      [metricTenantId]="tenant"
      [metricType]="type"
      chartType="line"
      [timeRange]="timeRange"
      (timeRangeChange)="childTimeRangeChange($event)"
      show-data-points=true
      [raw]="useRawData"
      [refreshIntervalInSeconds]="refreshRate">
    </hk-metric-chart>
  </div>
</div>
<commit_msg>Use auto SI conversion for yaxis label, so that high numbers display well<commit_after><div class="chart">
  <h1>{{metric}}</h1>
  <div class="spinner" *ngIf="loading"></div>
  <p *ngIf="tenant !== undefined && type !== undefined">
    Tenant: {{tenant}}<br/>
    Metric type: {{type}}
  </p>
  <h3>{{notice}}</h3>
  <div class="row toolbar-pf">
    <div class="col-sm-12">
      <form class="toolbar-pf-actions">
        <div class="form-group">
          <select [(ngModel)]="timeframe" (ngModelChange)="onTimeFrameChanged($event)" [ngModelOptions]="{standalone: true}">
            <option value='5m'>Last 5 minutes</option>
            <option value='15m'>Last 15 minutes</option>
            <option value='30m'>Last 30 minutes</option>
            <option value='1h'>Last hour</option>
            <option value='6h'>Last 6 hours</option>
            <option value='1d'>Last 24 hours</option>
            <option value='2d'>Last 2 days</option>
            <option value='7d'>Last week</option>
            <option value='30d'>Last month</option>
            <option value='custom' disabled=true>Custom</option>
          </select>
        </div>
        <div class="form-group">
          <span>Refresh rate:</span>
          <select [(ngModel)]="refreshRate" [ngModelOptions]="{standalone: true}">
            <option value='5'>5 seconds</option>
            <option value='10'>10 seconds</option>
            <option value='30'>30 seconds</option>
            <option value='60'>1 minute</option>
            <option value='0'>Never</option>
          </select>
        </div>
        <div class="form-group">
          <input type="checkbox" class="checkbox-inline" [(ngModel)]="useRawData" [ngModelOptions]="{standalone: true}">
          <span>Raw data</span>
        </div>
      </form>
    </div>
  </div>
  <div class="chart-container">
    <hk-metric-chart *ngIf="displayChart"
      metricUrl="{{metricsURL}}"
      [metricId]="metric"
      [metricTenantId]="tenant"
      [metricType]="type"
      chartType="line"
      [timeRange]="timeRange"
      (timeRangeChange)="childTimeRangeChange($event)"
      show-data-points=true
      [raw]="useRawData"
      [refreshIntervalInSeconds]="refreshRate"
      yAxisTickFormat="s">
    </hk-metric-chart>
  </div>
</div>

{'fraction_non_alphanumeric': 0.18100757913508694, 'fraction_numerical': 0.018279090503789567, 'mean_word_length': 2.7454090150250416, 'pattern_counts': {'":': 0, '<': 135, '<?xml version=': 0, '>': 135, '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': '965572', 'n_tokens_mistral': 1428, 'n_tokens_neox': 1369, 'n_words': 263}