<commit_before>import React, { Fragment } from 'react';
import { Margin } from 'styled-components-spacing';
import { compose, graphql } from 'react-apollo';
import { Link } from 'react-router-dom';
import ReduxForm from 'declarative-redux-form';
import { connect } from 'react-redux';
import { set } from 'react-redux-values';
import { destroy, change } from 'redux-form';
import constantCase from 'constant-case';
import titleCase from 'title-case';
import sortBy from 'lodash.sortby';
import find from 'lodash.find';
import includes from 'lodash.includes';
import reverse from 'lodash.reverse';
import get from 'lodash.get';

import Step, {
  Header as StepHeader,
  Description as StepDescription,
  Preview as StepPreview,
  Outlet as StepOutlet
} from 'joyent-ui-resource-step';

import { Button, PackageIcon, StatusLoader } from 'joyent-ui-toolkit';

import { Filters, Packages, Package, Overview } from './components';
import getPackages from '../graphql/get-packages.gql';
import priceData from './prices.json';
import { Forms, Values } from '../constants';

const { IC_PKG_F_SELECT, IC_PKG_F_FILTER } = Forms;

const { IC_PKG_V_SORT_BY, IC_PKG_V_SORT_ORDER, IC_IMG_V_VMS } = Values;

const PackageComponent = ({
  handleRowClick,
  handleSortBy,
  handleResetFilters,
  handleGetValue,
  sortBy,
  sortOrder,
  packages,
  loading,
  hasVms,
  selected = {},
  preview = {},
  ...props
}) => (
  <Step name="package" getValue={handleGetValue} {...props}>
    <StepHeader icon={<PackageIcon />}>Package</StepHeader>
    <StepDescription>
      A package defines the specs of your instance. On Triton, packages can only
      increase in size.
    </StepDescription>
    <StepPreview>
      <Margin top={3}>
        <Overview {...preview} />
      </Margin>
    </StepPreview><commit_msg>fix(instances): change packages text and link<commit_after>import React, { Fragment } from 'react';
import { Margin } from 'styled-components-spacing';
import { compose, graphql } from 'react-apollo';
import { Link } from 'react-router-dom';
import ReduxForm from 'declarative-redux-form';
import { connect } from 'react-redux';
import { set } from 'react-redux-values';
import { destroy, change } from 'redux-form';
import constantCase from 'constant-case';
import titleCase from 'title-case';
import sortBy from 'lodash.sortby';
import find from 'lodash.find';
import includes from 'lodash.includes';
import reverse from 'lodash.reverse';
import get from 'lodash.get';

import Step, {
  Header as StepHeader,
  Description as StepDescription,
  Preview as StepPreview,
  Outlet as StepOutlet
} from 'joyent-ui-resource-step';

import { Button, PackageIcon, StatusLoader } from 'joyent-ui-toolkit';

import { Filters, Packages, Package, Overview } from './components';
import getPackages from '../graphql/get-packages.gql';
import priceData from './prices.json';
import { Forms, Values } from '../constants';

const { IC_PKG_F_SELECT, IC_PKG_F_FILTER } = Forms;

const { IC_PKG_V_SORT_BY, IC_PKG_V_SORT_ORDER, IC_IMG_V_VMS } = Values;

const PackageComponent = ({
  handleRowClick,
  handleSortBy,
  handleResetFilters,
  handleGetValue,
  sortBy,
  sortOrder,
  packages,
  loading,
  hasVms,
  selected = {},
  preview = {},
  ...props
}) => (
  <Step name="package" getValue={handleGetValue} {...props}>
    <StepHeader icon={<PackageIcon />}>Package</StepHeader>
    <StepDescription href="https://docs.joyent.com/public-cloud/instances/packages">
      Triton packages determine the resources allocated to your instance
      including RAM, disk space, CPU, IO_PRIORITY, and more. Once set, package
      size can only increase.
    </StepDescription>
    <StepPreview>
      <Margin top={3}>
        <Overview {...preview} />
      </Margin>
    </StepPreview>
{'fraction_non_alphanumeric': 0.12732589048378523, 'fraction_numerical': 0.000531632110579479, 'mean_word_length': 4.262937062937063, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 27, 'https://': 1, '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': '3215919', 'n_tokens_mistral': 1201, 'n_tokens_neox': 1175, 'n_words': 333}