<commit_before><link rel="import" href="/bower_components/polymer/polymer.html">
<link rel="import" href="../x-project-card/x-project-card.html">

<polymer-element name="x-project-card-grid" attributes="projects service">
  <template>
    <style>
      :host {
        display: block;
      }
      .card-grid {
        display: flex;
        flex-wrap: wrap;
      }

      x-project-card {
        box-sizing: border-box;
        flex-basis: 100%;
        padding: 10px;
        display: block;
      }
      @media only screen and (min-width: 1000px) {
        x-project-card {
          flex-basis: 50%;
        }
      }
    </style>

    <section class="card-grid">
      <template repeat="{{ chunk in chunks }}">
        <template repeat="{{ project in chunk }}">
          <x-project-card
            project="{{ project }}"
            on-favorite-tap="{{ handleFavorite }}"
            hidden?="{{ tribe.name !== defaultTribe.name &amp;&amp; project.value.Futu_Team__c !== tribe.name }}"></x-project-card><commit_msg>Show favorite status on project card<commit_after><link rel="import" href="/bower_components/polymer/polymer.html">
<link rel="import" href="../x-project-card/x-project-card.html">

<polymer-element name="x-project-card-grid" attributes="projects service">
  <template>
    <style>
      :host {
        display: block;
      }
      .card-grid {
        display: flex;
        flex-wrap: wrap;
      }

      x-project-card {
        box-sizing: border-box;
        flex-basis: 100%;
        padding: 10px;
        display: block;
      }
      @media only screen and (min-width: 1000px) {
        x-project-card {
          flex-basis: 50%;
        }
      }
    </style>

    <section class="card-grid">
      <template repeat="{{ chunk in chunks }}">
        <template repeat="{{ project in chunk }}">
          <x-project-card
            project="{{ project }}"
            on-favorite-tap="{{ handleFavorite }}"
            favorite?="{{ project.favorite }}"></x-project-card>
{'fraction_non_alphanumeric': 0.16019900497512438, 'fraction_numerical': 0.010945273631840797, 'mean_word_length': 2.084355828220859, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '2009007', 'n_tokens_mistral': 632, 'n_tokens_neox': 594, 'n_words': 126}