<commit_before>#!/bin/bash

lstack(){
  sudo ./lstack --nocolor --quiet $@
}

@test "bootstrap" {
  lstack bootstrap
}

@test "bootstrap fails" {
  lstack bootstrap 2>&1 | grep "Container already running"
}

@test "bootstrap --force" {
  lstack bootstrap --force
}<commit_msg>Use test helper<commit_after>#!/bin/bash

load test_helper

@test "bootstrap" {
  lstack bootstrap
}

@test "bootstrapping when already running fails" {
  lstack bootstrap 2>&1 | grep "Container already running"
}

@test "bootstrap --force" {
  lstack bootstrap --force
}
{'fraction_non_alphanumeric': 0.13528336380255943, 'fraction_numerical': 0.007312614259597806, 'mean_word_length': 4.027522935779817, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1311903', 'n_tokens_mistral': 197, 'n_tokens_neox': 178, 'n_words': 54}