<commit_before># -*- python -*-
# ex: set syntax=python:
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# See master.experimental/slaves.cfg for documentation.

def mac():
  cq_slaves = (
      ['vm%d-m4' % i for i in ([213, 256, 257, 258, 902, 903, 1000] +
                               range(277, 300) + range(552, 555) +
                               range(682, 711) + range(860, 870) +
                               range(969, 987))])
  cq_builders = [
      'mac_chromium_compile_dbg_ng',
      'mac_chromium_rel_ng',
      'mac_chromium_gn_rel',
  ]

  optional_slaves = ['vm%d-m4' % i for i in [713, 723]]
  optional_builders = [
      'mac_chromium_10.6_rel_ng',
      'mac_chromium_asan_rel_ng',
      'mac_chromium_compile_rel_ng',
      'mac_chromium_dbg_ng',
      'mac_chromium_gn_dbg',
      'mac_chromium_gn_upload',
      'mac_deterministic',
      'mac_nacl_sdk',
      'mac_nacl_sdk_build',
  ]

  out = []
  out.extend(
    {
      'master': 'TryServerChromiumMac',
      'builder': cq_builders,
      'preferred_builder': cq_builders[i % len(cq_builders)],
      'hostname': slave,
      'os': 'mac',
      'version': '10.9',
      'bits': '64',
    } for i, slave in enumerate(cq_slaves)
  )
  out.extend(
    {
      'master': 'TryServerChromiumMac',
      'builder': optional_builders,
      'hostname': slave,
      'os': 'mac',
      'version': '10.9',
      'bits': '64',
    } for slave in optional_slaves
  )
  out.extend(
    {
      'master': 'TryServerChromiumMac',
      'builder': ['mac_chromium_10.10_rel_ng'],
      'hostname': slave,
      'os': 'mac',
      'version': '10.10',
      'bits': '64',
    } for slave in ['build%d-m4' % i for i in xrange(158, 167)] +
                   ['build%d-m4' % i for i in xrange(179, 190)]
  )

  return out


def ios():
  cq_builders = [
    'ios_dbg_simulator',
    'ios_dbg_simulator_ninja',
    'ios_rel_device',
    'ios_rel_device_ninja',
  ]

  compile_slaves = [
    {
      'master': 'TryServerChromiumMac',
      'builder': cq_builders,
      'hostname': 'build%d-a4' % i,
      'preferred_builder': cq_builders[i % len(cq_builders)],
      'os': 'mac',<commit_msg>Shard the builders that were on vm713-m4 and vm723-m4 onto two new machines, since these machines keep runnning out of disk<commit_after># -*- python -*-
# ex: set syntax=python:
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# See master.experimental/slaves.cfg for documentation.

def mac():
  cq_slaves = (
      ['vm%d-m4' % i for i in ([213, 256, 257, 258, 902, 903, 1000] +
                               range(277, 300) + range(552, 555) +
                               range(682, 711) + range(860, 870) +
                               range(969, 987))])
  cq_builders = [
      'mac_chromium_compile_dbg_ng',
      'mac_chromium_rel_ng',
      'mac_chromium_gn_rel',
  ]

  optional1_slaves = ['vm%d-m4' % i for i in [713, 723]]
  optional1_builders = [
      'mac_chromium_dbg_ng',
      'mac_chromium_gn_dbg',
      'mac_chromium_gn_upload',
      'mac_nacl_sdk',
      'mac_nacl_sdk_build',
  ]

  optional2_slaves = ['vm%d-m4' % i for i in [1025, 1026]]
  optional2_builders = [
      'mac_chromium_10.6_rel_ng',
      'mac_chromium_asan_rel_ng',
      'mac_chromium_compile_rel_ng',
      'mac_deterministic',
  ]

  out = []
  out.extend(
    {
      'master': 'TryServerChromiumMac',
      'builder': cq_builders,
      'preferred_builder': cq_builders[i % len(cq_builders)],
      'hostname': slave,
      'os': 'mac',
      'version': '10.9',
      'bits': '64',
    } for i, slave in enumerate(cq_slaves)
  )
  out.extend(
    {
      'master': 'TryServerChromiumMac',
      'builder': optional1_builders,
      'hostname': slave,
      'os': 'mac',
      'version': '10.9',
      'bits': '64',
    } for slave in optional1_slaves
  )
  out.extend(
    {
      'master': 'TryServerChromiumMac',
      'builder': optional2_builders,
      'hostname': slave,
      'os': 'mac',
      'version': '10.9',
      'bits': '64',
    } for slave in optional2_slaves
  )
  out.extend(
    {
      'master': 'TryServerChromiumMac',
      'builder': ['mac_chromium_10.10_rel_ng'],
      'hostname': slave,
      'os': 'mac',
      'version': '10.10',
      'bits': '64',
    } for slave in ['build%d-m4' % i for i in xrange(158, 167)] +
                   ['build%d-m4' % i for i in xrange(179, 190)]
  )

  return out


def ios():
  cq_builders = [
    'ios_dbg_simulator',
    'ios_dbg_simulator_ninja',
    'ios_rel_device',
    'ios_rel_device_ninja',
  ]

  compile_slaves = [
    {
      'master': 'TryServerChromiumMac',
      'builder': cq_builders,
      'hostname': 'build%d-a4' % i,
      'preferred_builder': cq_builders[i % len(cq_builders)],
      'os': 'mac',
{'fraction_non_alphanumeric': 0.14515804308435676, 'fraction_numerical': 0.04711093215220455, 'mean_word_length': 2.442827442827443, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '927650', 'n_tokens_mistral': 2022, 'n_tokens_neox': 1841, 'n_words': 393}