<commit_before>import Ember from 'ember';
import config from '../config/environment';
import ActiveModelAdapter from 'active-model-adapter';

export default ActiveModelAdapter.extend({

  // Ember Data 2.0 Reload behavior
  shouldReloadRecord: function() { return true; },
  shouldReloadAll: function() { return true; },
  shouldBackgroundReloadRecord: function() { return true; },
  shouldBackgroundReloadAll: function() { return true; },

  namespace: config.APP.NAMESPACE,
  host:      config.APP.API_HOST_URL,
  session:   Ember.inject.service(),

  headers: Ember.computed("session.authToken", function(){
    return {<commit_msg>Removed changes added for Ember Data 2.0 Reload behavior - it causes to reload the requested records although they are there in ember data-store<commit_after>import Ember from 'ember';
import config from '../config/environment';
import ActiveModelAdapter from 'active-model-adapter';

export default ActiveModelAdapter.extend({

  // Ember Data 2.0 Reload behavior
  // shouldReloadRecord: function() { return true; },
  // shouldReloadAll: function() { return true; },
  // shouldBackgroundReloadRecord: function() { return true; },
  // shouldBackgroundReloadAll: function() { return true; },

  namespace: config.APP.NAMESPACE,
  host:      config.APP.API_HOST_URL,
  session:   Ember.inject.service(),

  headers: Ember.computed("session.authToken", function(){
    return {
{'fraction_non_alphanumeric': 0.11677282377919321, 'fraction_numerical': 0.004246284501061571, 'mean_word_length': 4.633466135458168, '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': '7219041', 'n_tokens_mistral': 398, 'n_tokens_neox': 389, 'n_words': 114}