<commit_before>var _ = require("underscore");

var MAX_ALBUMS = 2
var MAX_PHOTOS_PER_ALBUM = 2

Parse.Cloud.define("newUser", function(request, response) {
	var thisUser = request.user;
	var locations = [];
	console.log("*****newUser photo count=" + request.params.roll.length);
	console.log("******first photo: " + JSON.stringify(request.params.roll[0]);
	// find all the locations in the camera roll, count the photos at each location, find length of time at location
	// { id: unique_id, location: location_string, date: time_taken }<commit_msg>Reverse geocoding<commit_after>var _ = require("underscore");

var MAX_ALBUMS = 2
var MAX_PHOTOS_PER_ALBUM = 2

Parse.Cloud.define("newUser", function(request, response) {
	var thisUser = request.user;
	var locations = [];
	console.log("*****newUser photo count=" + request.params.roll.length);
	console.log("******first photo: " + JSON.stringify(request.params.roll[0]));
	// find all the locations in the camera roll, count the photos at each location, find length of time at location
	// { id: unique_id, location: location_string, date: time_taken }
{'fraction_non_alphanumeric': 0.1407811080835604, 'fraction_numerical': 0.005449591280653951, 'mean_word_length': 5.333333333333333, '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': '299307', 'n_tokens_mistral': 350, 'n_tokens_neox': 338, 'n_words': 99}