<commit_before><% entry_exists = entry && entry ? true : false
  out_of_context ||= false
  entry_context ||= entry && entry.context ? entry.context : @context
  entry_id = entry ? entry.id : "{{ id }}"
  user_id = entry.try_rescue(:user_id) || "{{ user_id }}"
  topic ||= nil
  discussion_topic_id = entry.try_rescue(:discussion_topic_id) || (topic && topic.id) || "{{ discussion_topic_id }}"
  skip_sub_entries ||= false
 %>
<% cache([
    'entry_message_render', 
    (entry.try_rescue(:cache_key) || (entry_context.try_rescue(:asset_string) || 'blank')), 
    out_of_context, 
    skip_sub_entries,
    @topic_agglomerated,
    Time.zone.utc_offset
  ].join('/')) do %><commit_msg>fix cache key for discussion group assignments, fixes #5609<commit_after><% entry_exists = entry && entry ? true : false
  out_of_context ||= false
  entry_context ||= entry && entry.context ? entry.context : @context
  entry_id = entry ? entry.id : "{{ id }}"
  user_id = entry.try_rescue(:user_id) || "{{ user_id }}"
  topic ||= nil
  discussion_topic_id = entry.try_rescue(:discussion_topic_id) || (topic && topic.id) || "{{ discussion_topic_id }}"
  entry_key = entry.new_record? ? entry.try_rescue(:discussion_topic).try_rescue(:cache_key) : entry.try_rescue(:cache_key) if entry
  entry_key ||= entry_context.try_rescue(:asset_string) || 'blank'
  skip_sub_entries ||= false
 %>
<% cache([
    'entry_message_render', 
    entry_key, 
    out_of_context, 
    skip_sub_entries,
    @topic_agglomerated,
    Time.zone.utc_offset
  ].join('/')) do %>
{'fraction_non_alphanumeric': 0.1585445094217024, 'fraction_numerical': 0.002599090318388564, 'mean_word_length': 4.539568345323741, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4321891', 'n_tokens_mistral': 550, 'n_tokens_neox': 532, 'n_words': 95}