<commit_before><template>

  <span>
    <template v-if="groupNames.length">
      <TruncatedItemList :items="groupNames" />
    </template>
    <template v-else-if="hasAssignments">
      {{ $tr('assignmentClass') }}
    </template>
    <template v-else>
      {{ $tr('noOne') }}
    </template>
  </span>

</template>


<script>
  import TruncatedItemList from './TruncatedItemList';

  export default {
    name: 'Recipients',
    components: {	
      TruncatedItemList,	
    },
    props: {
      groupNames: {
        type: Array,
        required: true,
      },
      hasAssignments: {	
        type: Boolean,	
        required: true,	
      },
    },
    $trs: {
      assignmentClass: 'Entire class',
      noOne: 'No one',
    },
  };

</script>


<style lang="scss" scoped></style>
<commit_msg>linting<commit_after><template>

  <span>
    <template v-if="groupNames.length">
      <TruncatedItemList :items="groupNames" />
    </template>
    <template v-else-if="hasAssignments">
      {{ $tr('assignmentClass') }}
    </template>
    <template v-else>
      {{ $tr('noOne') }}
    </template>
  </span>

</template>


<script>

  import TruncatedItemList from './TruncatedItemList';

  export default {
    name: 'Recipients',
    components: {
      TruncatedItemList,
    },
    props: {
      groupNames: {
        type: Array,
        required: true,
      },
      hasAssignments: {
        type: Boolean,
        required: true,
      },
    },
    $trs: {
      assignmentClass: 'Entire class',
      noOne: 'No one',
    },
  };

</script>


<style lang="scss" scoped></style>

{'fraction_non_alphanumeric': 0.15894868585732166, 'fraction_numerical': 0.0, 'mean_word_length': 2.2303030303030305, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '1691534', 'n_tokens_mistral': 546, 'n_tokens_neox': 536, 'n_words': 100}