<commit_before>import { Record as record } from 'immutable';

export class CardModel extends record({
  id: null,
  name: '',
  mana: null,
  attack: null,
  defense: null,
}) {
  constructor(obj) {
    super(obj);

    // TODO: find a way to make this even more unique
    this.uniqId = this.id + +new Date();
  }
}<commit_msg>Add uniqueId for each CardModel instance<commit_after>import { Record as record } from 'immutable';

let cardModelCount = 0;

export class CardModel extends record({
  id: null,
  name: '',
  mana: null,
  attack: null,
  defense: null,
}) {
  constructor(obj) {
    super(obj);
    this.uniqId = cardModelCount++;
  }
}
{'fraction_non_alphanumeric': 0.12962962962962962, 'fraction_numerical': 0.0015432098765432098, 'mean_word_length': 3.475862068965517, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '485111', 'n_tokens_mistral': 219, 'n_tokens_neox': 217, 'n_words': 68}