<commit_before>// jscs:disable requireCamelCaseOrUpperCaseIdentifiers
const avatarBase = 'http://slack.global.ssl.fastly.net/3654/img/avatars';

function avatar(i, size) {
  let x = (`000${i % 25}`).slice(-4);
  return `${avatarBase}/ava_${x}-${size}.png`;
}

export default function(server) {
  [
    {
      name: 'daniel',
      real_name: '<NAME>',
      tz: 'Europe/London',
      tz_label: 'Dublin, Edinburgh, Lisbon, London',
      tz_offset: 0,
      profile: {
        image_72: avatar(11, 72),
        first_name: 'Daniel',
        last_name: 'McCallum',
        real_name: '<NAME>'
      }
    },
    {
      name: 'anita',
      real_name: '<NAME>',
      tz: 'Europe/London',
      tz_label: 'Dublin, Edinburgh, Lisbon, London',
      tz_offset: 0,
      profile: {
        image_72: avatar(0, 72),
        first_name: 'Anita',
        last_name: 'Singh',
        real_name: '<NAME>'
      }
    },
    {
      name: 'floflo',
      real_name: '<NAME>',
      tz: 'Europe/Brussels',
      tz_label: 'Brussels, Copenhagen, Madrid, Paris',
      tz_offset: 3600,
      profile: {
        image_72: avatar(1, 72),
        First_name: 'Florence',
        last_name: 'Bouvait',
        real_name: '<NAME>'
      }
    },
    {
      name: 'marcus',
      real_name: '<NAME>',
      tz: 'America/New_York',
      tz_label: 'Eastern Time (US and Canada)',
      tz_offset: -18000,
      profile: {
        image_72: avatar(2, 72),
        first_name: null,
        last_name: null,
        real_name: '<NAME>'
      }
    },
    {
      name: 'dc',
      real_name: '<NAME>',
      tz: 'America/Jamaica',
      tz_label: 'Kingston, George Town',
      tz_offset: -18000,
      profile: {
        image_72: avatar(3, 72),
        first_name: 'David',
        last_name: 'Campbell',
        real_name: '<NAME>'
      }
    },
    {
      name: 'xwang',
      real_name: '<NAME>',
      tz: 'Asia/Chongqing',
      tz_label: 'Beijing, Chongqing, Hong Kong SAR, Urumqi',
      tz_offset: 28800,
      profile: {
        image_72: avatar(4, 72),
        first_name: 'Xiaoli',
        last_name: 'Wang',
        real_name: '<NAME>'
      }
    },
    {
      name: 'chong',
      real_name: '<NAME>',
      tz: 'Asia/Chongqing',
      tz_label: 'Beijing, Chongqing, Hong Kong SAR, Urumqi',
      tz_offset: 28800,
      profile: {
        image_72: avatar(5, 72),
        first_name: 'Shen',
        last_name: 'Chong',
        real_name: '<NAME>'
      }
    },
    {
      name: 'lukasz',
      real_name: '<NAME>',
      tz: 'Europe/Warsaw',
      tz_label: 'Sarajevo, Skopje, Warsaw, Zagreb',
      tz_offset: 3600,
      profile: {
        image_72: avatar(6, 72),
        first_name: 'Lukasz',
        last_name: 'Szczesny',
        real_name: '<NAME>'
      }
    },
    {
      name: 'sdc',
      real_name: '<NAME>',
      tz: 'Asia/Chongqing',
      tz_label: 'Beijing, Chongqing, Hong Kong SAR, Urumqi',
      tz_offset: 28800,
      profile: {
        image_72: avatar(7, 72),
        first_name: 'SD',
        last_name: 'Carter',
        real_name: '<NAME>'
      }
    },
    {
      name: 'yi',
      real_name: '<NAME>',
      tz: 'Asia/Kuala_Lumpur',
      tz_label: 'Kuala Lumpur, Singapore',
      tz_offset: 28800,
      profile: {
        image_72: avatar(8, 72),
        first_name: '<NAME>',
        last_name: 'Tan',
        real_name: '<NAME>'
      }
    },
    {
      name: 'maddie',
      real_name: '<NAME>',
      tz: 'Europe/London',
      tz_label: 'Dublin, Edinburgh, Lisbon, London',
      tz_offset: 0,
      profile: {
        image_72: avatar(9, 72),
        first_name: 'Maddie',
        last_name: 'Palmer',
        real_name: '<NAME>'
      }
    },
    {
      name: 'georg',
      real_name: '<NAME>',
      tz: 'America/Los_Angeles',
      tz_label: 'Pacific Time (US and Canada)',
      tz_offset: -28800,
      profile: {
        image_72: avatar(10, 72),
        first_name: 'Georg',
        last_name: 'Schumann',
        real_name: '<NAME>'
      }
    }
  ].forEach(attrs => server.create('user', attrs));
}
// jscs: enable<commit_msg>Improve test scenario data: better timezones<commit_after>// jscs:disable requireCamelCaseOrUpperCaseIdentifiers
const avatarBase = 'http://slack.global.ssl.fastly.net/3654/img/avatars';

function avatar(i, size) {
  let x = (`000${i % 25}`).slice(-4);
  return `${avatarBase}/ava_${x}-${size}.png`;
}

export default function(server) {
  [
    {
      name: 'daniel',
      real_name: '<NAME>',
      tz: 'Europe/London',
      tz_label: 'Dublin, Edinburgh, Lisbon, London',
      tz_offset: 0,
      profile: {
        image_72: avatar(11, 72),
        first_name: 'Daniel',
        last_name: 'McCallum',
        real_name: '<NAME>'
      }
    },
    {
      name: 'anita',
      real_name: '<NAME>',
      tz: 'Europe/London',
      tz_label: 'Dublin, Edinburgh, Lisbon, London',
      tz_offset: 0,
      profile: {
        image_72: avatar(0, 72),
        first_name: 'Anita',
        last_name: 'Singh',
        real_name: '<NAME>'
      }
    },
    {
      name: 'floflo',
      real_name: '<NAME>',
      tz: 'Europe/Brussels',
      tz_label: 'Brussels, Copenhagen, Madrid, Paris',
      tz_offset: 3600,
      profile: {
        image_72: avatar(1, 72),
        First_name: 'Florence',
        last_name: 'Bouvait',
        real_name: '<NAME>'
      }
    },
    {
      name: 'marcus',
      real_name: '<NAME>',
      tz: 'America/Los_Angeles',
      tz_label: 'Pacific Time (US and Canada)',
      tz_offset: -28800,
      profile: {
        image_72: avatar(2, 72),
        first_name: null,
        last_name: null,
        real_name: '<NAME>'
      }
    },
    {
      name: 'dc',
      real_name: '<NAME>',
      tz: 'America/Halifax',
      tz_label: 'Atlantic Time (Canada)',
      tz_offset: -14400,
      profile: {
        image_72: avatar(3, 72),
        first_name: 'David',
        last_name: 'Campbell',
        real_name: '<NAME>'
      }
    },
    {
      name: 'xwang',
      real_name: '<NAME>',
      tz: 'Asia/Chongqing',
      tz_label: 'Beijing, Chongqing, Hong Kong SAR, Urumqi',
      tz_offset: 28800,
      profile: {
        image_72: avatar(4, 72),
        first_name: 'Xiaoli',
        last_name: 'Wang',
        real_name: '<NAME>'
      }
    },
    {
      name: 'chong',
      real_name: '<NAME>',
      tz: 'Asia/Chongqing',
      tz_label: 'Beijing, Chongqing, Hong Kong SAR, Urumqi',
      tz_offset: 28800,
      profile: {
        image_72: avatar(5, 72),
        first_name: 'Shen',
        last_name: 'Chong',
        real_name: '<NAME>'
      }
    },
    {
      name: 'lukasz',
      real_name: '<NAME>',
      tz: 'Europe/Warsaw',
      tz_label: 'Sarajevo, Skopje, Warsaw, Zagreb',
      tz_offset: 3600,
      profile: {
        image_72: avatar(6, 72),
        first_name: 'Lukasz',
        last_name: 'Szczesny',
        real_name: '<NAME>'
      }
    },
    {
      name: 'sdc',
      real_name: '<NAME>',
      tz: 'Asia/Chongqing',
      tz_label: 'Beijing, Chongqing, Hong Kong SAR, Urumqi',
      tz_offset: 28800,
      profile: {
        image_72: avatar(7, 72),
        first_name: 'SD',
        last_name: 'Carter',
        real_name: '<NAME>'
      }
    },
    {
      name: 'yi',
      real_name: '<NAME>',
      tz: 'Asia/Kuala_Lumpur',
      tz_label: 'Kuala Lumpur, Singapore',
      tz_offset: 28800,
      profile: {
        image_72: avatar(8, 72),
        first_name: '<NAME>',
        last_name: 'Tan',
        real_name: '<NAME>'
      }
    },
    {
      name: 'maddie',
      real_name: '<NAME>',
      tz: 'Europe/London',
      tz_label: 'Dublin, Edinburgh, Lisbon, London',
      tz_offset: 0,
      profile: {
        image_72: avatar(9, 72),
        first_name: 'Maddie',
        last_name: 'Palmer',
        real_name: '<NAME>'
      }
    },
    {
      name: 'georg',
      real_name: '<NAME>',
      tz: 'America/Los_Angeles',
      tz_label: 'Pacific Time (US and Canada)',
      tz_offset: -28800,
      profile: {
        image_72: avatar(10, 72),
        first_name: 'Georg',
        last_name: 'Schumann',
        real_name: '<NAME>'
      }
    },
    {
      name: 'anna',
      real_name: '<NAME>',
      tz: 'America/St_Johns',
      tz_label: 'Newfoundland and Labrador',
      tz_offset: -12600,
      profile: {
        image_72: avatar(12, 72),
        first_name: 'Anna',
        last_name: 'Conroy',
        real_name: '<NAME>'
      }
    }

  ].forEach(attrs => server.create('user', attrs));
}
// jscs: enable
{'fraction_non_alphanumeric': 0.15718984962406016, 'fraction_numerical': 0.029017857142857144, 'mean_word_length': 1.9365298378751294, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 57, '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': '2738837', 'n_tokens_mistral': 3368, 'n_tokens_neox': 3052, 'n_words': 636}