<commit_before>- poll = @event.eventable.poll
= render "event_mailer/common/notification", event: @event
= render "event_mailer/poll/share_outcome", event: @event
= render "event_mailer/common/title", eventable: poll
= render "event_mailer/common/tags", eventable: poll
= render "event_mailer/poll/summary", poll: poll
= render "event_mailer/poll/vote", poll: poll
- if poll.decided_voters_count > 0
	= render "event_mailer/poll/results", poll: poll
- if %w[poll_announced poll_created].include?(@event.kind) && @event.eventable.discussion
	%hr
	= render "event_mailer/common/title", eventable: @event.eventable.discussion
	= render "event_mailer/common/body", eventable: @event.eventable.discussion
- else
	= render "event_mailer/poll/responses", event: @event
= render "event_mailer/common/footer", event: @event
<commit_msg>EventMailer.poll don't hide results just because nobody has voted<commit_after>- poll = @event.eventable.poll
= render "event_mailer/common/notification", event: @event
= render "event_mailer/poll/share_outcome", event: @event
= render "event_mailer/common/title", eventable: poll
= render "event_mailer/common/tags", eventable: poll
= render "event_mailer/poll/summary", poll: poll
= render "event_mailer/poll/vote", poll: poll
= render "event_mailer/poll/results", poll: poll
- if %w[poll_announced poll_created].include?(@event.kind) && @event.eventable.discussion
	%hr
	= render "event_mailer/common/title", eventable: @event.eventable.discussion
	= render "event_mailer/common/body", eventable: @event.eventable.discussion
- else
	= render "event_mailer/poll/responses", event: @event
= render "event_mailer/common/footer", event: @event

{'fraction_non_alphanumeric': 0.137125748502994, 'fraction_numerical': 0.0005988023952095808, 'mean_word_length': 6.202586206896552, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '3936654', 'n_tokens_mistral': 554, 'n_tokens_neox': 542, 'n_words': 117}