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

# Verify that we're in the IHaskell directory.
test -f "ihaskell.cabal"

# What to install.
INSTALLS=""
<commit_msg>Better error message if running build.sh from outside cabal dir<commit_after>#!/bin/bash
set -e

# Verify that we're in the IHaskell directory.
if [ ! -e ihaskell.cabal ]; then
  echo "Run build.sh from inside the IHaskell directory:"
  echo "  ./build.sh all      # Install IHaskell and deps (use if first install)"
  echo "  ./build.sh          # Install only IHaskell, no deps"
  echo "  ./build.sh display  # Install IHaskell and display libraries"
  exit 1
fi

# What to install.
INSTALLS=""

{'fraction_non_alphanumeric': 0.10493827160493827, 'fraction_numerical': 0.0015432098765432098, 'mean_word_length': 3.2697368421052633, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5333269', 'n_tokens_mistral': 231, 'n_tokens_neox': 214, 'n_words': 81}