<commit_before>#!/bin/bash

# This script provides the repo configurations for Polymer's checkout scripts

# Windows autocloses shell when complete, use `read` to wait for user input
WINDOWS=0
if [[ $OS = "Windows_NT" ]]; then
  WINDOWS=1
fi

REPOS=()
REPO_PATHS=()
SSH=0
ORG="Polymer"

# ARGS: $1 log message, $2 repo shortname
log() {
  echo -e "\033[1;34m===== $1 \033[1;37m$2 \033[1;34m=====\033[0m"
}

ok() {
  echo -e "\033[1;32mOK\033[0m"
}

prepare() {
  # default to https auth
  if [ $SSH -eq 1 ]; then
    GIT_PATH="<EMAIL>@github.<EMAIL>:$ORG"
    POLYMERLABS_PATH="<EMAIL>:PolymerLabs"
  else
    GIT_PATH="https://github.com/$ORG"
    POLYMERLABS_PATH="https://github.com/PolymerLabs"
  fi

  REPOS=(
  core-action-icons
  core-ajax
  core-collapse
  core-component-page
  core-component-page-dev
  core-elements
  core-doc-viewer
  core-docs
  core-drag-drop
  core-drawer-panel
  core-field
  core-firebase
  core-header-panel
  core-home-page
  core-home-page-dev
  core-icon
  core-icon-button
  core-iconset
  core-iconset-svg
  core-input
  core-item
  core-layout
  core-layout-grid
  core-layout-trbl
  core-localstorage
  core-media-query
  core-menu
  core-menu-button
  core-meta
  core-overlay
  core-pages
  core-range
  core-scaffold
  core-selection
  core-selector
  core-shared-lib
  core-splitter
  core-tests
  core-theme-aware
  core-toolbar
  core-tooltip
  core-transition
  core-list
  core-drag-drop
  core-bind
  sampler-scaffold
  )

  # Array of all the repos with full path
  REPO_PATHS=()

  for REPO in ${REPOS[@]}; do
    REPO_PATHS+=("$GIT_PATH/$REPO.git")
  done
<commit_msg>Include core-icons<commit_after>#!/bin/bash

# This script provides the repo configurations for Polymer's checkout scripts

# Windows autocloses shell when complete, use `read` to wait for user input
WINDOWS=0
if [[ $OS = "Windows_NT" ]]; then
  WINDOWS=1
fi

REPOS=()
REPO_PATHS=()
SSH=0
ORG="Polymer"

# ARGS: $1 log message, $2 repo shortname
log() {
  echo -e "\033[1;34m===== $1 \033[1;37m$2 \033[1;34m=====\033[0m"
}

ok() {
  echo -e "\033[1;32mOK\033[0m"
}

prepare() {
  # default to https auth
  if [ $SSH -eq 1 ]; then
    GIT_PATH="git@github.com:$ORG"
    POLYMERLABS_PATH="git@github.com:PolymerLabs"
  else
    GIT_PATH="https://github.com/$ORG"
    POLYMERLABS_PATH="https://github.com/PolymerLabs"
  fi

  REPOS=(
  core-action-icons
  core-ajax
  core-collapse
  core-component-page
  core-component-page-dev
  core-elements
  core-doc-viewer
  core-docs
  core-drag-drop
  core-drawer-panel
  core-field
  core-firebase
  core-header-panel
  core-home-page
  core-home-page-dev
  core-icon
  core-icon-button
  core-iconset
  core-iconset-svg
  core-input
  core-item
  core-layout
  core-layout-grid
  core-layout-trbl
  core-localstorage
  core-media-query
  core-menu
  core-menu-button
  core-meta
  core-overlay
  core-pages
  core-range
  core-scaffold
  core-selection
  core-selector
  core-shared-lib
  core-splitter
  core-tests
  core-theme-aware
  core-toolbar
  core-tooltip
  core-transition
  core-list
  core-drag-drop
  core-bind
  core-icons
  sampler-scaffold
  )

  # Array of all the repos with full path
  REPO_PATHS=()

  for REPO in ${REPOS[@]}; do
    REPO_PATHS+=("$GIT_PATH/$REPO.git")
  done

{'fraction_non_alphanumeric': 0.13063477460901565, 'fraction_numerical': 0.024532352039251762, 'mean_word_length': 3.2253886010362693, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1745625', 'n_tokens_mistral': 1354, 'n_tokens_neox': 1287, 'n_words': 264}