<commit_before>//
//  MapData
//  InternetMap
//

#include "MapData.hpp"
#include "Node.hpp"
#include "DisplayLines.hpp"
#include "Connection.hpp"
#include "IndexBox.hpp"
#include "MapDisplay.hpp"
#include <sstream>
#include <stdlib.h>
#include <fstream>
#include <assert.h>

// TODO: figure out how to do this right
#ifdef ANDROID
#include "jsoncpp/json.h"
#else
#include "json.h"
#endif

static const char *ASNS_AT_TOP[] = {"13768", "23498", "3", "15169", "714", "32934", "7847"}; //Peer1, Cogeco, MIT, google, apple, facebook, NASA
static const int NUM_ASNS_AT_TOP = 7;

NodePointer MapData::nodeAtIndex(unsigned int index) {
    return nodes[index];<commit_msg>Inital changes<commit_after>//
//  MapData
//  InternetMap
//

#include "MapData.hpp"
#include "Node.hpp"
#include "DisplayLines.hpp"
#include "Connection.hpp"
#include "IndexBox.hpp"
#include "MapDisplay.hpp"
#include <sstream>
#include <stdlib.h>
#include <fstream>
#include <assert.h>
#include <string.h>

// TODO: figure out how to do this right
#ifdef ANDROID
#include "jsoncpp/json.h"
#else
#include "json.h"
#endif

static const char *ASNS_AT_TOP[] = {"13768", "23498", "3", "15169", "714", "32934", "7847"}; //Peer1, Cogeco, MIT, google, apple, facebook, NASA
static const int NUM_ASNS_AT_TOP = 7;

NodePointer MapData::nodeAtIndex(unsigned int index) {
    return nodes[index];
{'fraction_non_alphanumeric': 0.16432272390821615, 'fraction_numerical': 0.04441154700222058, 'mean_word_length': 5.17351598173516, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, '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': '775612', 'n_tokens_mistral': 539, 'n_tokens_neox': 494, 'n_words': 138}