<commit_before>from __future__ import division
import codecs
from collections import defaultdict
from numpy.random import choice, rand
from kilogram import ListPacker

NUM_STEPS = 10**5
ALPHA = 0.85  # restart probability


def build_edges_map():
    edges_map = {}
    edges = codecs.open('/Users/dragoon/Downloads/edges.txt', 'r', 'utf-8')
    j = 0
    for line in edges:
        try:
            uri, neighbors = line.strip().split('\t')
        except ValueError:
            continue<commit_msg>path fix<commit_after>from __future__ import division
import codecs
from collections import defaultdict
from numpy.random import choice, rand
from kilogram import ListPacker

NUM_STEPS = 10**5
ALPHA = 0.85  # restart probability


def build_edges_map():
    edges_map = {}
    edges = codecs.open('edges.txt', 'r', 'utf-8')
    j = 0
    for line in edges:
        try:
            uri, neighbors = line.strip().split('\t')
        except ValueError:
            continue
{'fraction_non_alphanumeric': 0.09876543209876543, 'fraction_numerical': 0.01646090534979424, 'mean_word_length': 2.9552845528455283, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1083298', 'n_tokens_mistral': 301, 'n_tokens_neox': 287, 'n_words': 90}