<commit_before>#!/bin/bash
echo "Install ..."
current="$(dirname ${0})";
cd $current
rootDir=$(dirname $(pwd))

plistPath=~/Library/LaunchAgents/com.wangdongxu.ddproxy.plist
plist=$(cat "$(pwd)/com.wangdongxu.ddproxy.plist")
plist=${plist/path-to-DDDProxy/$rootDir}
echo "Install $plistPath ..."
echo $plist > $plistPath

echo "Starting ..."
launchctl load $plistPath

url="http://127.0.0.1:8080"
echo "open $url"
open $url

echo "Started !"<commit_msg>Update install.sh<commit_after>#!/bin/bash
echo "Install ..."
current="$(dirname ${0})";
cd $current
rootDir=$(dirname $(pwd))

plistPath=~/Library/LaunchAgents/com.wangdongxu.ddproxy.plist
plist=$(cat "$(pwd)/com.wangdongxu.ddproxy.plist")
plist=${plist/path-to-DDDProxy/$rootDir}
echo "Install $plistPath ..."
echo $plist > $plistPath

echo "Starting ..."
launchctl load $plistPath
sleep 1
url="http://127.0.0.1:8080"
echo "open $url"
open $url

echo "Started !"
{'fraction_non_alphanumeric': 0.20174482006543076, 'fraction_numerical': 0.025081788440567066, 'mean_word_length': 5.375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '1251770', 'n_tokens_mistral': 389, 'n_tokens_neox': 323, 'n_words': 67}