<commit_before><select name="teams" onchange={{action 'pickTeam'}}>
  <option value="">Choose...</option>
  {{#each model.teams as |team|}}
    <option value={{team.code}}>{{team.name}}</option>
  {{/each}}
</select>
{{!-- kpg is strikeout/game && year --}}
<br><br>
{{#e3-container type='canvas' height=400 width=800 as |ctx meta|}}
  <metadata>
    {{e3-scale/ordinal ctx 'x'
      domain=(e3-unique model.outs key='year')
      range=ctx.horizontalRange
      outerPadding=5
    }}
    {{e3-scale/linear ctx 'y'
      domain=(e3-extent model.outs key='kpg' padding=0.2 min-value=0)
      invert=true
      padding=10
      range=ctx.verticalRange
    }}
  </metadata>

  {{!-- Grey Background Distribution Dots --}}
  {{!-- {{#e3-group ctx as |groupCtx|}}
    {{#each model.outs as |out|}}
      {{e3-shape/circle groupCtx
        data=out
        x=(e3-bind-scale meta.scales.x 'year')
        y=(e3-bind-scale meta.scales.y 'kpg')
        radius=3
        fill='#E4E4E4'
      }}
    {{/each}}
  {{/e3-group}} --}}

  {{e3-shape/line ctx
    x1=0
    x2=500
    y1=400.5
    y2=400.5
  }}

  {{!-- Blue Average Line --}}
  {{e3-shape/path ctx
    data=model.avg<commit_msg>Add Basic Ticks / Graphs<commit_after><select name="teams" onchange={{action 'pickTeam'}}>
  <option value="">Choose...</option>
  {{#each model.teams as |team|}}
    <option value={{team.code}}>{{team.name}}</option>
  {{/each}}
</select>
{{!-- kpg is strikeout/game && year --}}
<br><br>
{{#e3-container type='svg' height=500 width=1000 as |ctx meta|}}
  <metadata>
    {{e3-scale/ordinal ctx 'x'
      domain=(e3-unique model.outs key='year')
      range=ctx.horizontalRange
      outerPadding=5
    }}
    {{e3-scale/linear ctx 'y'
      domain=(e3-extent model.outs key='kpg' padding=0.2 min-value=0)
      invert=true
      padding=10
      range=ctx.verticalRange
    }}
  </metadata>

  {{!-- Grey Background Distribution Dots --}}
  {{#e3-group ctx as |groupCtx|}}
    {{#each model.outs as |out|}}
      {{e3-shape/circle groupCtx
        data=out
        x=(e3-bind-scale meta.scales.x 'year')
        y=(e3-bind-scale meta.scales.y 'kpg')
        radius=3
        fill='#E4E4E4'
      }}
    {{/each}}
  {{/e3-group}}

  {{e3-shape/line ctx
    x1=(e3-scale-min meta.scales.x)
    x2=(e3-scale-max meta.scales.x)
    y1=(e3-scale-max meta.scales.y minus=20)
    y2=(e3-scale-max meta.scales.y minus=20)
  }}

  {{#each (e3-ticks (e3-extent meta.scales.x.domain)) as |year|}}
    {{e3-shape/line ctx
      data=year
      x1=meta.scales.x
      x2=meta.scales.x
      y1=(e3-scale-max meta.scales.y minus=15)
      y2=(e3-scale-max meta.scales.y minus=20)
    }}

    {{e3-shape/text ctx
      data=year
      x=meta.scales.x
      y=(e3-scale-max meta.scales.y minus=5)
      text=year
    }}
  {{/each}}

  {{#each (e3-ticks meta.scales.y.domain ticks=5) as |kpg|}}
    {{e3-shape/line ctx
      data=kpg
      x1=(e3-scale-min meta.scales.x)
      x2=(e3-scale-max meta.scales.x)
      y1=meta.scales.y
      y2=meta.scales.y
      stroke='#aaaaaa'
    }}
  {{/each}}

  {{!-- Blue Average Line --}}
  {{e3-shape/path ctx
    data=model.avg
{'fraction_non_alphanumeric': 0.19444444444444445, 'fraction_numerical': 0.0351213282247765, 'mean_word_length': 2.504474272930649, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '7652829', 'n_tokens_mistral': 1263, 'n_tokens_neox': 1208, 'n_words': 219}