<commit_before>import axios from 'axios'
import Immutable from 'immutable'
import Continent from 'javascript/continent'
import Floor from 'javascript/floor'

function postProcess(response) {
  return Immutable.fromJS(response.data)
}

export function getContinents() {
  return axios.get('https://api.guildwars2.com/v2/continents', {params: {ids: 'all'}})
    .then(postProcess)
    .then(rawContinents => rawContinents.map(continent => new Continent(continent)))
}

export function getFloor(continentId, floorId) {
  return axios.get(`https://api.guildwars2.com/v2/continents/${continentId}/floors/${floorId}`)
    .then(postProcess)
    .then(x => new Floor(x))
}
<commit_msg>Missed a reference to the old model location.<commit_after>import axios from 'axios'
import Immutable from 'immutable'
import Continent from 'javascript/model/continent'
import Floor from 'javascript/model/floor'

function postProcess(response) {
  return Immutable.fromJS(response.data)
}

export function getContinents() {
  return axios.get('https://api.guildwars2.com/v2/continents', {params: {ids: 'all'}})
    .then(postProcess)
    .then(rawContinents => rawContinents.map(continent => new Continent(continent)))
}

export function getFloor(continentId, floorId) {
  return axios.get(`https://api.guildwars2.com/v2/continents/${continentId}/floors/${floorId}`)
    .then(postProcess)
    .then(x => new Floor(x))
}

{'fraction_non_alphanumeric': 0.1407142857142857, 'fraction_numerical': 0.005714285714285714, 'mean_word_length': 5.456221198156682, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 4, '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': '5477610', 'n_tokens_mistral': 465, 'n_tokens_neox': 468, 'n_words': 93}