<commit_before>class Workbench.Views.DatastreamChartView extends Backbone.View
  initialize: ->

  render: ->
    @$el.animate(height: 400).promise().done(=>
      @chart = @$el.GeocensChart
        datastream: @model.object

        chart:
          rangeSelector:
            selected: 4
            buttons: [{
              type: 'minute'
              count: 120
              text: "2h"
            },<commit_msg>Auto-select 1 day of data on charts<commit_after>class Workbench.Views.DatastreamChartView extends Backbone.View
  initialize: ->

  render: ->
    @$el.animate(height: 400).promise().done(=>
      @chart = @$el.GeocensChart
        datastream: @model.object

        chart:
          rangeSelector:
            selected: 1
            buttons: [{
              type: 'minute'
              count: 120
              text: "2h"
            },
{'fraction_non_alphanumeric': 0.1127906976744186, 'fraction_numerical': 0.019767441860465116, 'mean_word_length': 1.673913043478261, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '7324148', 'n_tokens_mistral': 264, 'n_tokens_neox': 242, 'n_words': 52}