<commit_before>#!/usr/bin/python

import sys
import os
from tasklib.task import TaskWarrior

# wiki actions
# if task has taskwiki backlink annotation, use that
# if task has +wiki tag and proj.any: , but no backlink, open $WIKIDIR/projname.project.wiki
# if task has +wiki tag, but no backlink or project, open $WIKIDIR/index.wiki

def hook_test(task):
        if task.active and not task.original.get('start'):
                    print("This is a working example.")

# tasknote<commit_msg>psudocode tasknote actions<commit_after>#!/usr/bin/python

import sys
import os
from tasklib.task import TaskWarrior

# wiki actions
# if task has taskwiki backlink annotation, use that
# if task has +wiki tag and proj.any: , but no backlink, open $WIKIDIR/projname.project.wiki
# if task has +wiki tag, but no backlink or project, open $WIKIDIR/index.wiki

def hook_test(task):
        if task.active and not task.original.get('start'):
                    print("This is a working example.")

# tasknote actions
# if task has tasknote, open that
# if task has +note tag, but no tasknote, open new tasknote
{'fraction_non_alphanumeric': 0.08917197452229299, 'fraction_numerical': 0.0, 'mean_word_length': 3.6413502109704643, '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': '4307990', 'n_tokens_mistral': 344, 'n_tokens_neox': 333, 'n_words': 131}