<commit_before>- begin
  - if notification.event_kind == "new_discussion"
    - discussion = notification.discussion
    - person = discussion.author.name
    - action_text = "started a new discussion"
    - title_text = discussion.title
    - group_name = discussion.group_full_name
    - href = discussion_path(discussion)

  - elsif notification.event_kind == "new_comment"
    - comment = notification.comment
    - person = comment.user.name
    - action_text = "commented on the discussion"
    - title_text = comment.discussion.title
    - group_name = comment.group_full_name
    - href = discussion_path(comment.discussion)

  - elsif notification.event_kind == "new_motion"
    - motion = notification.motion
    - person = motion.author.name
    - action_text = "created a new proposal"
    - title_text = motion.name
    - group_name = motion.group_full_name
    - href = discussion_path(motion.discussion)

  - elsif notification.event_kind == "close_motion"
    - motion = notification.motion
    - person = motion.author.name
    - action_text = "closed a proposal"
    - title_text = motion.name
    - group_name = motion.group_full_name
    - href = discussion_path(motion.discussion)

  - elsif notification.event_kind == "new_vote"
    - vote = notification.vote
    - person = vote.user_name<commit_msg>Changed notification wording for closed proposal.<commit_after>- begin
  - if notification.event_kind == "new_discussion"
    - discussion = notification.discussion
    - person = discussion.author.name
    - action_text = "started a new discussion"
    - title_text = discussion.title
    - group_name = discussion.group_full_name
    - href = discussion_path(discussion)

  - elsif notification.event_kind == "new_comment"
    - comment = notification.comment
    - person = comment.user.name
    - action_text = "commented on the discussion"
    - title_text = comment.discussion.title
    - group_name = comment.group_full_name
    - href = discussion_path(comment.discussion)

  - elsif notification.event_kind == "new_motion"
    - motion = notification.motion
    - person = motion.author.name
    - action_text = "created a new proposal"
    - title_text = motion.name
    - group_name = motion.group_full_name
    - href = discussion_path(motion.discussion)

  - elsif notification.event_kind == "close_motion"
    - motion = notification.motion
    - person = motion.author.name
    - action_text = "closed the proposal"
    - title_text = motion.name
    - group_name = motion.group_full_name
    - href = discussion_path(motion.discussion)

  - elsif notification.event_kind == "new_vote"
    - vote = notification.vote
    - person = vote.user_name
{'fraction_non_alphanumeric': 0.09575260804769002, 'fraction_numerical': 0.0, 'mean_word_length': 3.1244239631336406, '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': '126546', 'n_tokens_mistral': 801, 'n_tokens_neox': 769, 'n_words': 164}