<commit_before>import Firebase from 'firebase/app'

import {auth_listener} from './app_listeners'
import action_handlers from './action_handlers'

const firebase_exchanger = (store) => {
  auth_listener(store.dispatch, store.getState)

  return (next) => (action) => {
    if (action_handlers[action.type] != null) {
      next(action)
      return action_handlers[action.type](action)(store.dispatch, store.getState)<commit_msg>fix: out of order action execution<commit_after>import Firebase from 'firebase/app'

import {auth_listener} from './app_listeners'
import action_handlers from './action_handlers'

const firebase_exchanger = (store) => {
  auth_listener(store.dispatch, store.getState)

  return (next) => (action) => {
    if (action_handlers[action.type] != null) {
      const response = action_handlers[action.type](action)(store.dispatch, store.getState)
      next(action)
      return response
{'fraction_non_alphanumeric': 0.1251372118551043, 'fraction_numerical': 0.0, 'mean_word_length': 5.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '5129103', 'n_tokens_mistral': 283, 'n_tokens_neox': 279, 'n_words': 61}