<commit_before>define(function (require) {
  "use strict";

  var React = require('react'),
      Backbone = require('backbone'),
      InstanceHistoryList = require('./InstanceHistoryList.react'),
      MaintenanceMessageList = require('./MaintenanceMessageList.react'),
      ResourceStatusSummaryPlot = require('./plots/ResourceStatusSummaryPlot.react'),
      ProviderSummaryLinePlot = require('./plots/ProviderSummaryLinePlot.react'),
      CallToAction = require('./CallToAction.react'),
      modals = require('modals'),
      stores = require('stores');

  return React.createClass({
    renderRequestMoreResources: function(e){
      e.preventDefault();
      modals.HelpModals.requestMoreResources();
    },

    render: function () {

      var providers = stores.ProviderStore.getAll(),
          identities = stores.IdentityStore.getAll(),
          projects = stores.ProjectStore.getAll(),
          maintenanceMessages = stores.MaintenanceMessageStore.getAll(),
          images = stores.ImageStore.getAll(),
          instances = stores.InstanceStore.getAll(),
          volumes = stores.VolumeStore.getAll(),
          sizes = stores.SizeStore.getAll();

      if (!providers || !identities || !projects || !maintenanceMessages || !images || !instances || !volumes || !sizes) {
        return <div className='loading'></div>;
      }

      return (
        <div id="dashboard-view">
          <div className="container">
            <div className="row">

              <div className="col-md-9">

                <h2>Getting Started</h2>
                <div className="row calls-to-action">
                  <div className="col-md-3 col-sm-4"><commit_msg>Call for 'archived' Sizes rather than 'active' sizes when drawing the plot maps<commit_after>define(function (require) {
  "use strict";

  var React = require('react'),
      Backbone = require('backbone'),
      InstanceHistoryList = require('./InstanceHistoryList.react'),
      MaintenanceMessageList = require('./MaintenanceMessageList.react'),
      ResourceStatusSummaryPlot = require('./plots/ResourceStatusSummaryPlot.react'),
      ProviderSummaryLinePlot = require('./plots/ProviderSummaryLinePlot.react'),
      CallToAction = require('./CallToAction.react'),
      modals = require('modals'),
      stores = require('stores');

  return React.createClass({
    renderRequestMoreResources: function(e){
      e.preventDefault();
      modals.HelpModals.requestMoreResources();
    },

    updateState: function() {
      if (this.isMounted()) this.setState(this.getState());
    },
    componentDidMount: function () {
      stores.SizeStore.addChangeListener(this.updateState);
    },

    componentWillUnmount: function() {
      stores.SizeStore.removeChangeListener(this.updateState);
    },
    render: function () {

      var providers = stores.ProviderStore.getAll(),
          identities = stores.IdentityStore.getAll(),
          projects = stores.ProjectStore.getAll(),
          maintenanceMessages = stores.MaintenanceMessageStore.getAll(),
          images = stores.ImageStore.getAll(),
          instances = stores.InstanceStore.getAll(),
          volumes = stores.VolumeStore.getAll(),
          sizes = stores.SizeStore.fetchWhere({'archived': 'true'});

      if (!providers || !identities || !projects || !maintenanceMessages || !images || !instances || !volumes || !sizes) {
        return <div className='loading'></div>;
      }

      return (
        <div id="dashboard-view">
          <div className="container">
            <div className="row">

              <div className="col-md-9">

                <h2>Getting Started</h2>
                <div className="row calls-to-action">
                  <div className="col-md-3 col-sm-4">
{'fraction_non_alphanumeric': 0.13722355448974155, 'fraction_numerical': 0.002664535038635758, 'mean_word_length': 2.918580375782881, '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': '1792396', 'n_tokens_mistral': 998, 'n_tokens_neox': 975, 'n_words': 177}