<commit_before>package com.github.privacystreams;

import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

public class MainActivity extends AppCompatActivity {
    public Button mButton;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        mButton = (Button) findViewById(R.id.button);

        mButton.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                new MyAsyncTask().execute();
            }
        });

    }

    private class MyAsyncTask extends AsyncTask<Object, Object, Object> {
        @Override
        protected Object doInBackground(Object[] objects) {
            UseCases useCases = new UseCases(MainActivity.this);

//            useCases.testContacts();
//            useCases.testMockData();
//            useCases.testTextEntry();
            useCases.testBrowserSearchUpdates();
            useCases.testBrowserHistoryUpdates();

            //useCases.testWifiUpdates(30);

//            useCases.testUIAction();
            //useCases.testIMUpdates();
            return null;
        }
    }
}<commit_msg>Fixing IMUpdates<commit_after>package com.github.privacystreams;

import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

public class MainActivity extends AppCompatActivity {
    public Button mButton;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        mButton = (Button) findViewById(R.id.button);

        mButton.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                new MyAsyncTask().execute();
            }
        });

    }

    private class MyAsyncTask extends AsyncTask<Object, Object, Object> {
        @Override
        protected Object doInBackground(Object[] objects) {
            UseCases useCases = new UseCases(MainActivity.this);

//            useCases.testContacts();
//            useCases.testMockData();
//            useCases.testTextEntry();
  //          useCases.testBrowserSearchUpdates();
//            useCases.testBrowserHistoryUpdates();

            //useCases.testWifiUpdates(30);

//            useCases.testUIAction();
            useCases.testIMUpdates();
            return null;
        }
    }
}
{'fraction_non_alphanumeric': 0.09861785580874113, 'fraction_numerical': 0.0022413149047441168, 'mean_word_length': 2.4158163265306123, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1370790', 'n_tokens_mistral': 733, 'n_tokens_neox': 707, 'n_words': 131}