<commit_before>from pydgin.debug import Debug
from pydgin.misc import load_program
from pydgin.sim import Sim, init_sim
from pydgin.storage import Memory

from epiphany.isa import decode
from epiphany.machine import State, RESET_ADDR
from epiphany.instruction import Instruction

MEMORY_SIZE = 2**18  # 2^8 x 2^10 == 32kB.

def new_memory():<commit_msg>Simulate global, not local, memory.<commit_after>from pydgin.debug import Debug
from pydgin.misc import load_program
from pydgin.sim import Sim, init_sim
from pydgin.storage import Memory

from epiphany.isa import decode
from epiphany.machine import State, RESET_ADDR
from epiphany.instruction import Instruction

MEMORY_SIZE = 2**32  # Global on-chip address space.

def new_memory():
{'fraction_non_alphanumeric': 0.06504065040650407, 'fraction_numerical': 0.017615176151761516, 'mean_word_length': 5.718181818181818, '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': '7270852', 'n_tokens_mistral': 244, 'n_tokens_neox': 227, 'n_words': 79}