<commit_before>{Step} = zootorial

module.exports = new zootorial.Tutorial 
  id: 'quench_dashboard_tutorial'
  firstStep: 'welcome'
  steps:
    welcome: new Step
      header: "Welcome"
      details: "Let's learn about the Quench Dashboard."
      nextButton: 'Start Tutorial'
      next: 'data1'
    data1: new Step
              header: 'Accessing Data'
              details: "Before Dashboard can be used we must import data.<br><br>Click 'Data'."
              attachment: 'left center a[data-drawer="data"] 2.0 .5'
              className: 'arrow-left'
              next:
                'click li a[data-drawer="data"]': 'data2'
    data2: new Step
              header: 'Quench Data'
              details: 'Specify "Quench" as the data source.'
              attachment: 'left center a[data-tool="Quench"] 1.0 1.25'
              className: 'arrow-left'
              next:
                'click a[data-tool="Quench"]': 'data3'
    data3: new Step
              header: 'Quench Datasets'
              details: "You can access either the entire set of Quench Galaxies, or the set of Control Galaxies. <p> Click 'Quench Sample'. Allow a second to load. You're getting a lot of data!<p>"
              attachment: 'center bottom .tool-window center top'
              next:
                'click button[data-collection="sample"]': 'tool'
    tool: new Step
              header: 'Tool'
              details: "Great! We have just connected a data source to Dashboard.  Now let's connect a tool.<br><br>Click 'Tools'."
              attachment: 'left center a[data-drawer="tool"] 2.0 .5'
              className: 'arrow-left'
              next:
                'click li a[data-drawer="tool"]': 'table1'
    table1: new Step
              header: 'Table'
              details: 'Click "Table" to view information about all the galaxies in your Collection.'
              attachment: 'left center a[data-tool="Table"] 1.0 0.5'
              className: 'arrow-left'
              next: 'click a[data-tool="Table"]' : 'table2'
    table2: new Step
              header: 'Table'
              onEnter: (t) ->
                title = $('.window-title').first().text().trim()
                setTimeout ( =>
                  details = t.el.find('.details')
                  text = @details.replace("{{title}}", title)
                  details.html(text)
                ), 0
              details: 'This tool is used for viewing information about all the galaxies in your collection. <p> First connect a data source by selecting "{{title}}" from "Select Tool". It may take a moment to load</p>'
              attachment: 'center center .Table center center'
              next:
                'change select.sources': 'table3'

    table3: new Step
              header: 'Table'
              details: 'Each row corresponds to a different galaxy in your Collection. <p> To manipulate the data in your table you can use the \'Prompt\'.</p>'
              attachment: 'center center .Table center center'
              nextButton: 'Next'
              next: 'prompt1'

    prompt1: new Step
              header: 'Prompt'
              details: 'To create a column u_mag - g_mag color, type "New Field color, .u - .g" in the Prompt, and click "Execute".'
              attachment: 'right center button.fql-submit left center'
              className: 'arrow-right'
              next: 'click button.fql-submit' : 'prompt2'

    prompt2: new Step
              header: 'Prompt'
              details: 'Notice how the new column has been added to the end of the Table.'<commit_msg>Update quench tutorial for fql change<commit_after>{Step} = zootorial

module.exports = new zootorial.Tutorial 
  id: 'quench_dashboard_tutorial'
  firstStep: 'welcome'
  steps:
    welcome: new Step
      header: "Welcome"
      details: "Let's learn about the Quench Dashboard."
      nextButton: 'Start Tutorial'
      next: 'data1'
    data1: new Step
              header: 'Accessing Data'
              details: "Before Dashboard can be used we must import data.<br><br>Click 'Data'."
              attachment: 'left center a[data-drawer="data"] 2.0 .5'
              className: 'arrow-left'
              next:
                'click li a[data-drawer="data"]': 'data2'
    data2: new Step
              header: 'Quench Data'
              details: 'Specify "Quench" as the data source.'
              attachment: 'left center a[data-tool="Quench"] 1.0 1.25'
              className: 'arrow-left'
              next:
                'click a[data-tool="Quench"]': 'data3'
    data3: new Step
              header: 'Quench Datasets'
              details: "You can access either the entire set of Quench Galaxies, or the set of Control Galaxies. <p> Click 'Quench Sample'. Allow a second to load. You're getting a lot of data!<p>"
              attachment: 'center bottom .tool-window center top'
              next:
                'click button[data-collection="sample"]': 'tool'
    tool: new Step
              header: 'Tool'
              details: "Great! We have just connected a data source to Dashboard.  Now let's connect a tool.<br><br>Click 'Tools'."
              attachment: 'left center a[data-drawer="tool"] 2.0 .5'
              className: 'arrow-left'
              next:
                'click li a[data-drawer="tool"]': 'table1'
    table1: new Step
              header: 'Table'
              details: 'Click "Table" to view information about all the galaxies in your Collection.'
              attachment: 'left center a[data-tool="Table"] 1.0 0.5'
              className: 'arrow-left'
              next: 'click a[data-tool="Table"]' : 'table2'
    table2: new Step
              header: 'Table'
              onEnter: (t) ->
                title = $('.window-title').first().text().trim()
                setTimeout ( =>
                  details = t.el.find('.details')
                  text = @details.replace("{{title}}", title)
                  details.html(text)
                ), 0
              details: 'This tool is used for viewing information about all the galaxies in your collection. <p> First connect a data source by selecting "{{title}}" from "Select Tool". It may take a moment to load</p>'
              attachment: 'center center .Table center center'
              next:
                'change select.sources': 'table3'

    table3: new Step
              header: 'Table'
              details: 'Each row corresponds to a different galaxy in your Collection. <p> To manipulate the data in your table you can use the \'Prompt\'.</p>'
              attachment: 'center center .Table center center'
              nextButton: 'Next'
              next: 'prompt1'

    prompt1: new Step
              header: 'Prompt'
              details: 'To create a column u_mag - g_mag color, type "field \'u - g color\', .u - .g" in the Prompt, and click "Execute".'
              attachment: 'right center button.fql-submit left center'
              className: 'arrow-right'
              next: 'click button.fql-submit' : 'prompt2'

    prompt2: new Step
              header: 'Prompt'
              details: 'Notice how the new column has been added to the end of the Table.'
{'fraction_non_alphanumeric': 0.10699417152373022, 'fraction_numerical': 0.008881487649181239, 'mean_word_length': 1.836284927194018, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 27, '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': '1433071', 'n_tokens_mistral': 1994, 'n_tokens_neox': 1905, 'n_words': 709}