<commit_before>%% -*- erlang-indent-level: 4;indent-tabs-mode: nil;fill-column: 92 -*-
%% ex: ts=4 sw=4 et
%% @author <NAME> <<EMAIL>>
%% @copyright 2013 Opscode, Inc.
%%

-module(mover_batch_migrator).

-export([ping/0,
         migrate_all/0,
         wait_for_status/0]).

-define(POLL_SLEEP_MS, 500).

% Stolen from moser/src/moser.hrl
-record(org_info,
        { org_name = undefined,
          org_id = undefined,
          db_name = undefined,
          is_precreated = false,
          chef_ets,
          auth_ets,
          account_info = undefined,
          start_time}).

-compile([{parse_transform, lager_transform}]).

ping() -><commit_msg>Use include lib instead of duplicating record definition<commit_after>%% -*- erlang-indent-level: 4;indent-tabs-mode: nil;fill-column: 92 -*-
%% ex: ts=4 sw=4 et
%% @author <NAME> <<EMAIL>>
%% @copyright 2013 Opscode, Inc.
%%

-module(mover_batch_migrator).

-export([ping/0,
         migrate_all/0,
         wait_for_status/0]).

-define(POLL_SLEEP_MS, 500).

-include_lib("moser/include/moser.hrl").

-compile([{parse_transform, lager_transform}]).

ping() ->
{'fraction_non_alphanumeric': 0.16308243727598568, 'fraction_numerical': 0.026881720430107527, 'mean_word_length': 3.061818181818182, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '7293070', 'n_tokens_mistral': 424, 'n_tokens_neox': 407, 'n_words': 75}