<commit_before>package edhyah.com.qbot;


import android.content.Context;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;

import java.util.Arrays;

import ioio.lib.spi.Log;

/**
 * Created by edwardahn on 12/4/15.
 */
public class HillDetection implements SensorEventListener {
    private static final String TAG = "HillDetection";
    private SensorManager senSensorManager;
    private Sensor senAccelerometer;
    private static final int NUM_SMOOTH_TERM = 3;
    private static final int NUM_AVG_VALS = 10;
    private static final int UPDATE_DELAY_MS = 10;
    private static final int DELAY_UNTIL_NEXT_HILL = 20*1000;
    private static final int COUNTS_ON_HILL = 20;
    private float mCountsOnHill = 0;<commit_msg>Updated values<commit_after>package edhyah.com.qbot;


import android.content.Context;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;

import java.util.Arrays;

import ioio.lib.spi.Log;

/**
 * Created by edwardahn on 12/4/15.
 */
public class HillDetection implements SensorEventListener {
    private static final String TAG = "HillDetection";
    private SensorManager senSensorManager;
    private Sensor senAccelerometer;
    private static final int NUM_SMOOTH_TERM = 3;
    private static final int NUM_AVG_VALS = 10;
    private static final int UPDATE_DELAY_MS = 10;
    private static final int DELAY_UNTIL_NEXT_HILL = 20*1000;
    private static final int COUNTS_ON_HILL = 10;
    private float mCountsOnHill = 0;
{'fraction_non_alphanumeric': 0.06871609403254973, 'fraction_numerical': 0.022905364677516575, 'mean_word_length': 4.608108108108108, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6075402', 'n_tokens_mistral': 550, 'n_tokens_neox': 508, 'n_words': 144}