<commit_before>var d3 = require('d3');
var log = require('log')('plan:load');
var ProfileScorer = require('otp-profile-score');
var session = require('session');
var store = require('store');

/**
 * Calorie Scoring as a function
 */

var defaultCalorieScale = d3.scale.sqrt()
  .domain([0, 100, 150])
  .range([0, -3, 0])
  .exponent(2);

/**
 * Expose `load`
 */

module.exports = load;

/**
 * Load a plan
 */
<commit_msg>Shift calorie burn formula<commit_after>var d3 = require('d3');
var log = require('log')('plan:load');
var ProfileScorer = require('otp-profile-score');
var session = require('session');
var store = require('store');

/**
 * Calorie Scoring as a function
 */

var defaultCalorieScale = d3.scale.sqrt()
  .domain([0, 125, 200])
  .range([0, -3, 0])
  .exponent(2);

/**
 * Expose `load`
 */

module.exports = load;

/**
 * Load a plan
 */

{'fraction_non_alphanumeric': 0.20162224797219003, 'fraction_numerical': 0.03244495944380069, 'mean_word_length': 3.9655172413793105, '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': '2533866', 'n_tokens_mistral': 323, 'n_tokens_neox': 307, 'n_words': 77}