<commit_before>import logging
import httplib2
import os
import time
import json
from django.conf import settings
from google_helpers.compute_service import get_compute_resource
from googleapiclient.errors import HttpError
from googleapiclient.discovery import build
from oauth2client.client import GoogleCredentials
from google.cloud import storage
from .utils import hash

VM_STAT_RUNNING = 'RUNNING'
VM_STAT_NOT_FOUND = 'NOT FOUND'
STAGE_TITLES = ['project', 'firewall', 'external IP', 'monitoring service', 'files', 'VM Instance']

SETUP_PROJECT = 0
SETUP_FIREWALL = 1
SETUP_EXTERNAL_IP = 2
SETUP_MONITOR = 3
SETUP_FILES = 4
SETUP_INSTANCE = 5
# SETUP_PUBSUB = 6

# firewall methods
FIREWALLS_LIST = 0
FIREWALLS_UPDATE = 1
FIREWALLS_CREATE = 2
FIREWALLS_DELETE = 3

# addresses
ADDRESSES_LIST = 0
ADDRESSES_GET = 1
ADDRESSES_CREATE = 2
ADDRESSES_DELETE = 3<commit_msg>-typo corrected -added -y flag to apt-get install<commit_after>import logging
import httplib2
import os
import time
import json
from django.conf import settings
from google_helpers.compute_service import get_compute_resource
from googleapiclient.errors import HttpError
from googleapiclient.discovery import build
from oauth2client.client import GoogleCredentials
from google.cloud import storage
from .utils import hash
# here = os.path.dirname(os.path.abspath(__file__))
# print('path: {}'.format(os.path.relpath(storage.__file__, here)))

VM_STAT_RUNNING = 'RUNNING'
VM_STAT_NOT_FOUND = 'NOT FOUND'
STAGE_TITLES = ['project', 'firewall', 'external IP', 'monitoring service', 'files', 'VM Instance']

SETUP_PROJECT = 0
SETUP_FIREWALL = 1
SETUP_EXTERNAL_IP = 2
SETUP_MONITOR = 3
SETUP_FILES = 4
SETUP_INSTANCE = 5
# SETUP_PUBSUB = 6

# firewall methods
FIREWALLS_LIST = 0
FIREWALLS_UPDATE = 1
FIREWALLS_CREATE = 2
FIREWALLS_DELETE = 3

# addresses
ADDRESSES_LIST = 0
ADDRESSES_GET = 1
ADDRESSES_CREATE = 2
ADDRESSES_DELETE = 3
{'fraction_non_alphanumeric': 0.0732349841938883, 'fraction_numerical': 0.01791359325605901, 'mean_word_length': 6.248091603053435, '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': '205397', 'n_tokens_mistral': 690, 'n_tokens_neox': 654, 'n_words': 183}