<commit_before>#!/bin/bash
set +e

XCODE_PATH=$(xcode-select -print-path)
if test -d $XCODE_PATH/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk; then
    echo "Confirmed iOS7 SDK available"
else
    echo "You don't have iOS 7 SDK available. Switch to Xcode 5?"
    exit 1
fi

git remote | grep "upstream" >/dev/null
if [ $? -gt 0 ]; then
    echo "You need to have an 'upstream' remote to pull from / push tags to"
    exit 1
fi
git status | grep -E "nothing to commit.+working directory clean" >/dev/null<commit_msg>publishing is for ios7.1 now<commit_after>#!/bin/bash
set +e

XCODE_PATH=$(xcode-select -print-path)
if test -d $XCODE_PATH/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk; then
    echo "Confirmed iOS7.1 SDK available"
else
    echo "You don't have iOS 7.1 SDK available. Switch to Xcode 5?"
    exit 1
fi

git remote | grep "upstream" >/dev/null
if [ $? -gt 0 ]; then
    echo "You need to have an 'upstream' remote to pull from / push tags to"
    exit 1
fi
git status | grep -E "nothing to commit.+working directory clean" >/dev/null
{'fraction_non_alphanumeric': 0.10950226244343891, 'fraction_numerical': 0.01809954751131222, 'mean_word_length': 3.5702479338842976, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5849880', 'n_tokens_mistral': 412, 'n_tokens_neox': 373, 'n_words': 137}