<commit_before>#!/bin/bash
set -e
set -x
PROJECT_PATH=$(pwd)

# Step 1. Clean up any dependencies
echo "Cleaning dependencies"
./tests/clean-all.sh

# Step 2. Install dependencies
echo "Installing dependencies"
sudo apt-get install -y autoconf automake libtool build-essential curl unzip
sudo apt-get install -y libasound2-dev  # For ALSA sound output
sudo apt-get install -y libcurl4-openssl-dev # CURL development library

# Step 3. Build protocol buffer, gRPC, and Google APIs
git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc
GRPC_PATH=${PROJECT_PATH}/grpc
cd ${GRPC_PATH}
# Checkout stable release of gRPC
git checkout v1.9.1
git submodule update --init

echo "Compiling gRPC protobufs"
cd third_party/protobuf
./autogen.sh && ./configure && make
sudo make install<commit_msg>Updates default version of gRPC<commit_after>#!/bin/bash
set -e
set -x
PROJECT_PATH=$(pwd)

# Step 1. Clean up any dependencies
echo "Cleaning dependencies"
./tests/clean-all.sh

# Step 2. Install dependencies
echo "Installing dependencies"
sudo apt-get install -y autoconf automake libtool build-essential curl unzip
sudo apt-get install -y libasound2-dev  # For ALSA sound output
sudo apt-get install -y libcurl4-openssl-dev # CURL development library

# Step 3. Build protocol buffer, gRPC, and Google APIs
git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc
GRPC_PATH=${PROJECT_PATH}/grpc
cd ${GRPC_PATH}
# Checkout stable release of gRPC
git checkout v1.11.0
git submodule update --init

echo "Compiling gRPC protobufs"
cd third_party/protobuf
./autogen.sh && ./configure && make
sudo make install
{'fraction_non_alphanumeric': 0.10152905198776759, 'fraction_numerical': 0.010397553516819572, 'mean_word_length': 4.399339933993399, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '4499603', 'n_tokens_mistral': 546, 'n_tokens_neox': 520, 'n_words': 189}