<commit_before>import { Element as PolymerElement } from '/node_modules/@polymer/polymer/polymer-element.js'
import { DomRepeat } from '/node_modules/@polymer/polymer/lib/elements/dom-repeat.js'

/*
 * Show DMX512 channels in a grid
 */
class ChannelGrid extends PolymerElement {
  static get template() {
    return `
      <style>
        .items {
          display: flex;
          flex-wrap: wrap;
        }
        .item {
          flex: 0 0 2em;
        }
      </style>

      <div class="items">
        <template is="dom-repeat" items="[[array]]" as="channel">
          <div class="item">[[channel]]</div>
        </template>
      </div>
    `
  }
  static get properties() {
    return {
      list: {
          Type: Array,
          notify: true
      }
    }
  }
}

customElements.define('channel-grid', ChannelGrid)
<commit_msg>fix(property): Fixed type<commit_after>import { Element as PolymerElement } from '/node_modules/@polymer/polymer/polymer-element.js'
import { DomRepeat } from '/node_modules/@polymer/polymer/lib/elements/dom-repeat.js'

/*
 * Show DMX512 channels in a grid
 */
class ChannelGrid extends PolymerElement {
  static get template() {
    return `
      <style>
        .items {
          display: flex;
          flex-wrap: wrap;
        }
        .item {
          flex: 0 0 2em;
        }
      </style>

      <div class="items">
        <template is="dom-repeat" items="[[array]]" as="channel">
          <div class="item">[[channel]]</div>
        </template>
      </div>
    `
  }
  static get properties() {
    return {
      list: {
          type: Array,
          notify: true
      }
    }
  }
}

customElements.define('channel-grid', ChannelGrid)

{'fraction_non_alphanumeric': 0.13807285546415982, 'fraction_numerical': 0.007050528789659225, 'mean_word_length': 2.035650623885918, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '2348151', 'n_tokens_mistral': 541, 'n_tokens_neox': 509, 'n_words': 116}