<commit_before>package com.gaiagps.iburn;

import android.location.Location;

/**
 * Created by davidbrodsky on 8/4/14.
 */
public class Geo {

    public static final double MAN_LAT = 40.7864;
    public static final double MAN_LON = -119.2065;

    private static float[] sResult = new float[1];

    /**
     * @return Returns the distance between a start and end Location in meters
     */
    public static double getDistance(double startLat, double startLon, Location end) {
        Location.distanceBetween(startLat, startLon, end.getLatitude(), end.getLongitude(), sResult);
        return sResult[0];
    }

    /**
     * @return a walking estimate in minutes for a distance in meters
     */
    public static double getWalkingEstimateMinutes(double meters) {
        return 60 * (meters / 5000); // At 5 kph
    }

    /**
     * @return a bicycling estimate in minutes for a distance in meters
     */
    public static double getBikingEstimateMinutes(double meters) {
        return 60 * (meters / 15500); // At 15.5 kph
    }

}<commit_msg>Double biking and walking esetimates<commit_after>package com.gaiagps.iburn;

import android.location.Location;

/**
 * Created by davidbrodsky on 8/4/14.
 */
public class Geo {

    public static final double MAN_LAT = 40.7864;
    public static final double MAN_LON = -119.2065;

    private static float[] sResult = new float[1];

    /**
     * @return Returns the distance between a start and end Location in meters
     */
    public static double getDistance(double startLat, double startLon, Location end) {
        Location.distanceBetween(startLat, startLon, end.getLatitude(), end.getLongitude(), sResult);
        return sResult[0];
    }

    /**
     * @return a walking estimate in minutes for a distance in meters
     */
    public static double getWalkingEstimateMinutes(double meters) {
        return 60 * (meters / 2500); // At 2.5 kph
    }

    /**
     * @return a bicycling estimate in minutes for a distance in meters
     */
    public static double getBikingEstimateMinutes(double meters) {
        return 60 * (meters / 7550); // At 7.75 kph
    }

}
{'fraction_non_alphanumeric': 0.09418931583880037, 'fraction_numerical': 0.033739456419868794, 'mean_word_length': 2.7720848056537104, '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': '6951916', 'n_tokens_mistral': 690, 'n_tokens_neox': 618, 'n_words': 212}