<commit_before>{% extends 'rb/emails/base_email.txt' %}
{% block recipient %}{{ blocking.created_by_user.getFirstName() }}{% endblock %}

{% block email_body -%}
Your room blocking request has been {{ verb }} by a room manager.

Room: {{ blocked_room.room.full_name }}
Action: {{ verb }}
{%- if not blocked_room.state == blocked_room.State.rejected %}
Reason: {{ blocked_room.rejection_reason or '(none)' }}
{%- endif %}

You can view the details of your blocking here:
{{ url_for('rooms.blocking_details', blocking_id=blocking.id, _external=true) }}
{%- endblock %}<commit_msg>Fix invalid if condition in blocking notification<commit_after>{% extends 'rb/emails/base_email.txt' %}
{% block recipient %}{{ blocking.created_by_user.getFirstName() }}{% endblock %}

{% block email_body -%}
Your room blocking request has been {{ verb }} by a room manager.

Room: {{ blocked_room.room.full_name }}
Action: {{ verb }}
{%- if blocked_room.state == blocked_room.State.rejected %}
Reason: {{ blocked_room.rejection_reason or '(none)' }}
{%- endif %}

You can view the details of your blocking here:
{{ url_for('rooms.blocking_details', blocking_id=blocking.id, _external=true) }}
{%- endblock %}
{'fraction_non_alphanumeric': 0.15993265993265993, 'fraction_numerical': 0.0, 'mean_word_length': 5.39247311827957, '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': '3871754', 'n_tokens_mistral': 394, 'n_tokens_neox': 367, 'n_words': 97}