<commit_before>#!/usr/bin/env bats

readingListUrl="http://readinglist:1337/api/notes"

@test "GET: Random endpoint should return random book note" {
    result="$(curl -s $readingListUrl/random | jq '.title')"
    [ "$result" != "null" ]
}

function teardown {
  echo "Teardown: result value was $result"
}<commit_msg>Removed false positive test setup<commit_after>#!/usr/bin/env bats

readingListUrl="http://readinglist:1337/api/notes"

@test "GET: Random endpoint should return random book note" {
    result="$(curl -s $readingListUrl/random | jq '.title' --raw-output)"
    echo $result
    [ ! -z "$result" ]
}

function teardown {
  echo "Teardown: result value was $result"
}
{'fraction_non_alphanumeric': 0.15226939970717424, 'fraction_numerical': 0.01171303074670571, 'mean_word_length': 4.2615384615384615, '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': '1754350', 'n_tokens_mistral': 244, 'n_tokens_neox': 224, 'n_words': 61}