<commit_before>#!/bin/bash

# Initialization script for setting up the dev environment for Blockly.
# This will set up the bgit command as well.

if [ ! -d ".git" ]; then
  echo "Must call from the root git directory!"
  return
fi

export BLOCKLY_ROOT="$(pwd)"

if [ "$BLOCKLY_USER" = "" ]; then
  while true; do
    read -p "GitHub username:" user
    if [ "$user" == "" ]; then
      echo "Username may not be empty"
    else
      echo "Set your username to $user."
      export BLOCKLY_USER=$user
      break
    fi
  done
  break
else
  echo "Username is $BLOCKLY_USER. To update, use 'export BLOCKLY_USER=<new user>'."
fi
export BLOCKLY_INIT=true

export PATH="$PATH:$BLOCKLY_ROOT/tools"<commit_msg>Fix to envsetup.sh<commit_after>#!/bin/bash

# Initialization script for setting up the dev environment for Blockly.
# This will set up the bgit command as well.
#
# To run use "source tools/envsetup.sh"

if [ ! -d ".git" ]; then
  echo "Must call from the root git directory!"
  return
fi

export BLOCKLY_ROOT="$(pwd)"

if [ "$BLOCKLY_USER" = "" ]; then
  while true; do
    read -p "GitHub username:" user
    if [ "$user" == "" ]; then
      echo "Username may not be empty"
    else
      echo "Set your username to $user."
      export BLOCKLY_USER=$user
      break
    fi
  done
else
  echo "Username is $BLOCKLY_USER. To update, use 'export BLOCKLY_USER=<new user>'."
fi
export BLOCKLY_INIT=true

export PATH="$PATH:$BLOCKLY_ROOT/tools"
{'fraction_non_alphanumeric': 0.11387163561076605, 'fraction_numerical': 0.0, 'mean_word_length': 3.264705882352941, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3159131', 'n_tokens_mistral': 483, 'n_tokens_neox': 464, 'n_words': 175}