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

. tests/support.sh

@test "writes a break log note file" {
    soji break
    cat `soji note-path log` | grep '** break'
    [ $? -eq 0 ]
  }

@test "schedules the screen to brighten" {
    soji break
    crontab -l | grep bright
    [ $? -eq 0 ]<commit_msg>Try to fix break.bats test but using full path to soji bin<commit_after>#!/usr/bin/env bats

. tests/support.sh

@test "writes a break log note file" {
    ./soji break
    cat `./soji note-path log` | grep '** break'
    [ $? -eq 0 ]
  }

@test "schedules the screen to brighten" {
    ./soji break
    crontab -l | grep bright
    [ $? -eq 0 ]
{'fraction_non_alphanumeric': 0.13615023474178403, 'fraction_numerical': 0.006259780907668232, 'mean_word_length': 2.386243386243386, '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': '3465263', 'n_tokens_mistral': 251, 'n_tokens_neox': 238, 'n_words': 79}