<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.

MASTER='ChromiumOSChromium'
builder_hostname_map = {
  'Chromium OS (x86) Perf': ['build7-b2'],
  'Chromium OS (amd64) Perf': ['build8-b2'],
  'Chromium OS (x86) Asan': ['build9-b2'],
  'Chromium OS (amd64) Asan': ['build10-b2'],
  'X86 (chromium)':   ['build11-b2'],
  'AMD64 (chromium)': ['build12-b2'],
  'Daisy (chromium)': ['build13-b2'],
}

hostname_builder_map = {}
for builder, hostnames in builder_hostname_map.iteritems():
  for hostname in hostnames:
    hostname_builder_map.setdefault(hostname, []).append(builder)<commit_msg>CROS: Migrated 'b2' slaves to 'm2'<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.


hostname_builder_map = {}
def BuilderConfig(builder_name, *hostnames):
  for hostname in hostnames:
    hostname_builder_map.setdefault('build%d-m2' % (hostname,), []).append(
        builder_name)

MASTER='ChromiumOSChromium'
BuilderConfig('Chromium OS (x86) Perf', 245)
BuilderConfig('Chromium OS (amd64) Perf', 246)
BuilderConfig('Chromium OS (x86) Asan', 247)
BuilderConfig('Chromium OS (amd64) Asan', 248)
BuilderConfig('X86 (chromium)', 249)
BuilderConfig('AMD64 (chromium)', 250)
BuilderConfig('Daisy (chromium)', 251)
{'fraction_non_alphanumeric': 0.14268440145102781, 'fraction_numerical': 0.044740024183796856, 'mean_word_length': 5.245283018867925, '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': '2641681', 'n_tokens_mistral': 624, 'n_tokens_neox': 566, 'n_words': 161}