<commit_before>var host = "http://" + window.location.host;
FLOW.store = DS.Store.create({
  revision: 10,
  adapter: DS.FLOWRESTAdapter.create({
    bulkCommit: false,
    namespace: "rest",
    url: host
  })
  //adapter: DS.FixtureAdapter
});

DS.JSONTransforms.array = {
  deserialize: function (serialized) {
    return Ember.none(serialized) ? null : serialized;
  },

  serialize: function (deserialized) {
    return Ember.none(deserialized) ? null : deserialized;
  }
};<commit_msg>[#680] Fix REST adapter URL<commit_after>FLOW.store = DS.Store.create({
  revision: 10,
  adapter: DS.FLOWRESTAdapter.create({
    bulkCommit: false,
    namespace: "rest",
    url: window.location.protocol + "//" + window.location.hostname +
         (window.location.port ? ':' + window.location.port : '')
  })
});

DS.JSONTransforms.array = {
  deserialize: function (serialized) {
    return Ember.none(serialized) ? null : serialized;
  },

  serialize: function (deserialized) {
    return Ember.none(deserialized) ? null : deserialized;
  }
};
{'fraction_non_alphanumeric': 0.14971209213051823, 'fraction_numerical': 0.0067178502879078695, 'mean_word_length': 3.6771300448430493, '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': '7241263', 'n_tokens_mistral': 356, 'n_tokens_neox': 348, 'n_words': 67}