<commit_before>export const loadUserSvc = async ({id}) => {
    const response = await fetch(`http://localhost:9999/x/entity/${id}`)
    const data = await response.json();
    return data;
}

export const saveUserSvc = async (user) => {
    // const response = await fetch(`http://localhost:9999/x/entity/${user.id}`)
    // const data = await response.json();
    // return data;
    return {...user, firstName: 'Name changed by the server mwahaha'};
}
<commit_msg>[service] Add a address service.<commit_after>export const loadUserSvc = async ({id}) => {
    const response = await fetch(`http://localhost:9999/x/entity/${id}`)
    const data = await response.json();
    return data;
}

export const loadMixedEntities =  async({id}) => {
  const response = await fetch(`http://localhost:9999/x/mixed/${id}`);
  const data = await response.json();
  return data;
}

export const saveUserSvc = async (user) => {
    // const response = await fetch(`http://localhost:9999/x/entity/${user.id}`)
    // const data = await response.json();
    // return data;
    return {...user, firstName: 'Name changed by the server mwahaha'};
}

{'fraction_non_alphanumeric': 0.16799292661361626, 'fraction_numerical': 0.01768346595932803, 'mean_word_length': 3.528, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, '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': '1868167', 'n_tokens_mistral': 357, 'n_tokens_neox': 346, 'n_words': 96}