<commit_before>var React = require('react'),
    ReactEmitterMixin = require('../utils/react-emitter-mixin'),
    Address = require('./address'),
    Compas = require('./compas'),
    geo = require('../emitters/geo-location'),
    profile = require('../emitters/profile'),
    room = require('../emitters/room');

function formatDistance(d) {
	return null;
	if (!d) {
		return null;
	} else if (d < 1e3) {
        return d.toFixed(0) + 'm';
    } else if (d < 1e6) {
        return (d * 1e-3).toFixed(2) + 'km';
    } else {
        return d.toFixed(0) + 'km';
    }
}

var colorOrder = [
    '#FE941E',
    '#009933',
    '#996600'
];

var Message = React.createClass({
    render: function () {
    	var content = this.props.text || [<commit_msg>cleanup<commit_after>var React = require('react'),
    ReactEmitterMixin = require('../utils/react-emitter-mixin'),
    Address = require('./address'),
    Compas = require('./compas'),
    geo = require('../emitters/geo-location'),
    profile = require('../emitters/profile'),
    room = require('../emitters/room');

function formatDistance(d) {
	if (!d) {
		return null;
	} else if (d < 1e3) {
        return d.toFixed(0) + 'm';
    } else if (d < 1e6) {
        return (d * 1e-3).toFixed(2) + 'km';
    } else {
        return d.toFixed(0) + 'km';
    }
}

var colorOrder = [
    '#FE941E',
    '#009933',
    '#996600'
];

var Message = React.createClass({
    render: function () {
    	var content = this.props.text || [
{'fraction_non_alphanumeric': 0.19579945799457996, 'fraction_numerical': 0.032520325203252036, 'mean_word_length': 2.6200980392156863, 'pattern_counts': {'":': 0, '<': 7, '<?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': '6630413', 'n_tokens_mistral': 544, 'n_tokens_neox': 526, 'n_words': 108}