<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

# default to https auth
SSH=0

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

prepare() {
  if [ $SSH -eq 1 ]; then
    POLYMER_PATH="git@github.com:$ORG"
  else
    POLYMER_PATH="https://github.com/$ORG"
  fi

  # Short names for all the repos
  REPOS=(
  CustomElements
  HTMLImports
  MutationObservers
  NodeBind
  PointerEvents
  PointerGestures
  ShadowDOM
  TemplateBinding
  WeakMap
  observe-js
  platform
  polymer
  polymer-expressions
  tools
  )

  # Array of all the repos with full path

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

  # Web Animations has its own org, hardcode full path
  REPOS+=("web-animations-js")
  REPO_PATHS+=("https://github.com/web-animations/web-animations-js.git")
}

# repos that fail to clone will be put here
FAILED=()

# default branch of clones
DEFAULT_BRANCH="master"

die() {
  if [ -n "$1" ]; then
    err "$1"
  fi
  [ $WINDOWS -eq 1 ] && read
  exit 1<commit_msg>add polymer-dev and platform-dev to pull-all-polymer.sh<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

# default to https auth
SSH=0

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

prepare() {
  if [ $SSH -eq 1 ]; then
    POLYMER_PATH="git@github.<EMAIL>:$ORG"
  else
    POLYMER_PATH="https://github.com/$ORG"
  fi

  # Short names for all the repos
  REPOS=(
  CustomElements
  HTMLImports
  MutationObservers
  NodeBind
  PointerEvents
  PointerGestures
  ShadowDOM
  TemplateBinding
  WeakMap
  observe-js
  platform
  platform-dev
  polymer
  polymer-dev
  polymer-expressions
  tools
  )

  # Array of all the repos with full path

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

  # Web Animations has its own org, hardcode full path
  REPOS+=("web-animations-js")
  REPO_PATHS+=("https://github.com/web-animations/web-animations-js.git")
}

# repos that fail to clone will be put here
FAILED=()

# default branch of clones
DEFAULT_BRANCH="master"

die() {
  if [ -n "$1" ]; then
    err "$1"
  fi
  [ $WINDOWS -eq 1 ] && read
  exit 1
{'fraction_non_alphanumeric': 0.11555737035524703, 'fraction_numerical': 0.006533278889342589, 'mean_word_length': 3.5454545454545454, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '3358474', 'n_tokens_mistral': 928, 'n_tokens_neox': 877, 'n_words': 254}