<commit_before>Session = require 'shared/services/session'

module.exports =
  props:
    poll: Object
    displayGroupName: String
  methods:
    showGroupName: ->
      @displayGroupName && @poll.group()
  template:
    """
    <a lmo-href-for="poll" class="poll-common-preview">
      <poll-common-chart-preview :poll="poll"></poll-common-chart-preview><commit_msg>add correct routing to poll_common_preview<commit_after>Session       = require 'shared/services/session'
LmoUrlService = require 'shared/services/lmo_url_service'

module.exports =
  props:
    poll: Object
    displayGroupName: String
  methods:
    urlFor: (model) -> LmoUrlService.route(model: model)
    showGroupName: ->
      @displayGroupName && @poll.group()
  template:
    """
    <a :href="urlFor(poll)" class="poll-common-preview">
      <poll-common-chart-preview :poll="poll"></poll-common-chart-preview>
{'fraction_non_alphanumeric': 0.14092446448703494, 'fraction_numerical': 0.0, 'mean_word_length': 3.879120879120879, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 12, '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': '6615296', 'n_tokens_mistral': 270, 'n_tokens_neox': 268, 'n_words': 48}