<commit_before>import hc2002.plugin as plugin
import hc2002.config as config

plugin.register_for_resource(__name__, 'hc2002.resource.instance')

_prefixes = ('availability-zone:', 'image:', 'kernel:', 'key:',
        'load-balancers:', 'ramdisk:', 'security-groups:', 'spot-price:',
        'subnet:')

def apply(instance):
    def resolve_symbol(original_value):<commit_msg>Allow symbolic values for vpc<commit_after>import hc2002.plugin as plugin
import hc2002.config as config

plugin.register_for_resource(__name__, 'hc2002.resource.instance')

_prefixes = ('availability-zone:', 'image:', 'kernel:', 'key:',
        'load-balancers:', 'ramdisk:', 'security-groups:', 'spot-price:',
        'subnet:', 'vpc:')

def apply(instance):
    def resolve_symbol(original_value):
{'fraction_non_alphanumeric': 0.16237113402061856, 'fraction_numerical': 0.030927835051546393, 'mean_word_length': 5.584745762711864, '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': '5979597', 'n_tokens_mistral': 272, 'n_tokens_neox': 250, 'n_words': 52}